CHAPTER 2. USBOARD-USS5
2.8. ROS 2 NODE
(continued from previous page)
<!-- Load usboard_v2 params for second board -->
<rosparam
command="load" ns="usboard_v2_1" file="$(find neo_usboard_v2)/launch/
˓
→
neo_usboard_v2_1.yaml"
/>
<!-- start usboard_v2 node for second board -->
<node
pkg="neo_usboard_v2" type="neo_usboard_v2" ns="usboard_v2_1" name="usboard_
˓
→
v2_node_1" respawn="false" output="screen"
/>
</launch>
Simply uncomment the second block to enable a second ROS node.
To launch all configured nodes:
roslaunch neo_usboard_v2 neo_usboard_v2.launch
2.7.6 Help
If you receive the error
unable to connect to port /dev/ttyUSB0
, run the following command:
sudo usermod -a -G dialout $USER
and restart your PC.
2.8 ROS 2 Node
This node handles the communication of the Neobotix USBoard-USS5.
The USBoard-USS5 node has been tested with:
• ROS 2 Foxy on Ubuntu 20.04, Rolling and Humble on Ubuntu 22.04
Find the code of the ROS node at
https://github.com/neobotix/neo_usboard_v2-2
Note:
We also have extended our support to Galactic and Humble. Please checkout to the corresponding branch as
needed.
2.8.1 Installation
1. Clone the
neo_usboard_v2
repository into your catkin workspace source folder:
cd your_colcon_workspace/src
git clone https://github.com/neobotix/neo_usboard_v2-2.git
2. Clone
neo_msgs
into your catkin workspace source folder:
git clone https://github.com/neobotix/neo_msgs2.git
3. Fetch the submodules
vnx-base
,
pilot-base
and
pilot-usboard
:
26