epos用ROS2パッケージ
- Ubuntu22.04
- ROS2 Humble
source /opt/ros/humble/setup.bash
rosdep update
cd ~/ws/src
git clone https://github.com/Nexis-R/epos
. epos/install-scripts/install-epos-command-library
cd ~/ws/src/
rosdep install -r -y -i --from-paths .
cd ~/ws
colcon build --symlink-install
source install/setup.bash
ros2 launch epos epos4_usb_can_gateway.launch.xml
ros2 topic pub /epos/motor1/move_with_velocity std_msgs/msg/Float32 "data: 0.0"
or
ros2 topic pub /epos/motor1/move_with_velocity std_msgs/msg/Float32 "data: 1000.0"