Hi, I would like to communicate my laptop to the Robot Car. I tried by learning through the tutorial husarion.com
Step 1: Setting both Robot Car and laptop to Micro_ros wifi network.
IP Laptop: 10.42.0.251
IP Robot Car: 10.42.0.1
Note: the Robot Car's default launch nodes and topics run automatically from start up
Step 2: check on the available topics in Robot Car
The output from Robot Car:
/JoyState
/battery
/beep
/cmd_vel
/imu
/joy
/joy/set_feedback
/move_base/cancel
/odom_raw
/parameter_events
/rosout
/scan
/servo_s1
/servo_s2
I noticed that Robot Car has a pre-setup MY_DOMAIN_ID:20. However it is unknown for me about its ROS_DOMAIN_ID
Step 3: Therefore I tried following the instruction husarion.com. In Robot Car new terminal:
source ros2_humble.sh
export ROS_DOMAIN_ID=1
Step 4: in laptop new terminal:
source /opt/ros/foxy/setup.bash
export ROS_DOMAIN_ID=1
ros2 topic list
The output from
/parameter_events
/rosout
I believe when I set the new ROS_DOMAIN_ID=1 will not get the existing topics from Robot Car since I changed the domain.
Question: how do I subscribe the existing topics (e.g. /scan) to my laptop within the same network?
Hi, I would like to communicate my laptop to the Robot Car. I tried by learning through the tutorial husarion.com
Step 1: Setting both Robot Car and laptop to Micro_ros wifi network.
IP Laptop: 10.42.0.251
IP Robot Car: 10.42.0.1
Note: the Robot Car's default launch nodes and topics run automatically from start up
Step 2: check on the available topics in Robot Car
The output from Robot Car:
I noticed that Robot Car has a pre-setup
MY_DOMAIN_ID:20. However it is unknown for me about itsROS_DOMAIN_IDStep 3: Therefore I tried following the instruction husarion.com. In Robot Car new terminal:
Step 4: in laptop new terminal:
The output from
I believe when I set the new
ROS_DOMAIN_ID=1will not get the existing topics from Robot Car since I changed the domain.Question: how do I subscribe the existing topics (e.g. /scan) to my laptop within the same network?