台達機械手臂IMP3整合ROS2
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
回到 2023 VSCLab 温梓傑 交接資料Outline
Git Config
Installation
(2022/9/26) Using colcon to build packages
(2022/9/27) Creating a workspace
[colcon build error]
- Solution:
C:/dev/ros2_ws/src/my_package/package.xml
改成有效 email
(2022/9/27) Writing a simple publisher and subscriber (C++)
[Visual Studio Code IncludePath Issue with ROS headers]

(Skip) Writing a simple publisher and subscriber (Python)
(2022/9/28) Writing a simple service and client (C++)
(Skip) Writing a simple service and client (Python)
Integrate IMP3 code with ROS2 packages
Create workspace and package
Modify src/delta/package.xml
- Update the package descriptioin
- Update your valid email
- Update license
Copy IMP3 code
- Header Files (.h/.hpp):
delta_ros2_ws/src/delta/include/delta
- Source Files (.cpp):
delta_ros2_ws/src/delta/src
Troubleshoots
Colcon build in Win10
Settings of colcon and debug
[o] No error message output while building
[o] MVC output garbled message
- Solution: Switch Win10 Language preferences to "English, United States"
[o] Annoying notifications after build success/failure
CMake issues
[x] Include static/dynamic library
[o] Build custom library with ros dependencies
[o] Compiler Warning (level 1) C4819
- Solution
- 打开 Control Panel
- 选择 Region (and Language)
- 选择 Administrative 页签
- 在 Language for non-Unicode programs 区域点击 "Change System Locale" 按钮
- 设置 Current system locale,比如 English (United States)。
- 点击 "OK" 保存。
Program Descriptions
開發過程
Joint State Message
Some Tricks
台達機械手臂緊急停機SOP
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
先備知識
命令 |
行為 |
備註 |
Servo ON |
馬達 鬆 煞車 |
|
Servo OFF |
馬達 拉 煞車 |
|
- 控制箱總電源上電時,會先進行 Servo OFF (煞車) 動作
在兩台虛擬機之間用ROS2溝通
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
ros2 communication between two virtual machines
參考教學