Having issues Configuring ROS on VOXL CAM
I am having issues configuring ROS on VOXL. A little bit confused with this.
I'm connected to the VOXL CAM via adb, however to view the Stereo tracking data I need to configure ROS on the VOXL CAM. when i run this command line vi ~/my_ros_env-sh, do I have to change anything on there?
When I try to rviz, this what pops up
Localhost refers to the running machine's ip, if you're trying to connect to the voxl's ros instance you need to configure your computer's ros to look for your drones ip.
@Alex-Gardner What command lines are my using to for this configuration
@Alex-Gardner When setting up the ROS on voxl I am supposed to make any change to the ROS_MASTER_URI / ROS_IP / ROS_USERNAME.
@Alex-Gardner Please is it possible to have a meeting with you. I have had the VOXL CAM for a while now and I am still encountering issues setting it up. Please it will be well appreciated if someone from your team can start a remote session with me for guidance.
Steve Turner last edited by
You need to set your Ubuntu development environment with ROS to point to the ROS Master process on the VOXL.
So for example if the IP address of the VOXL is
192.168.1.118then you need to execute
export ROS_MASTER_URI=http://192.168.1.118:11311on the Ubuntu system and then run
rvizfrom the same terminal.
You then also need to run the MAVROS or MPA ROS Bridge on the VOXL along with the ROS master node.
Start ros master:
On the voxl you need to edit the ROS_IP to match your voxl's IP address so that other hosts can connect to it.
If this doesn't work, consider examining your firewall on your ubuntu system to make sure it isn't block ROS traffic. If it's a vanilla ROS/Ubuntu install you should be fine.
@Steve-Turner I updated the ROS_MASTER_URI but its still saying the same thing and saying it cannot contact ROS master
Saying the same thing
Assuming you are trying to run ROS master on your VOXL, first find out what is your VOXL's IP? Let's call that <VOXL IP>
Then, can you ping that IP from the computer you are trying to run Rviz?
$ ping <VOXL IP>
If so, on VOXL edit your ROS environment
export ROS_IP="<VOXL IP>"
Then start ROS on the VOXL. Monitor the output of the ROS master when it launches, you should see the "roscore" IP the same as what you just configured.
If so, configure the ROS environment on your PC
What is the IP of your PC on the same network as the VOXL? We'll call that <PC IP>
Configure the PC's ROS environment as such:
export ROS_MASTER_URI="http://<VOXL IP>:11311" export ROS_IP="<PC IP>"
Then launch RViz
Note: The instructions above are configuring the master to be the VOXL by pointing both VOXL and the PC to the VOXL's IP address as master. Checkout slides 7,8,9 in the presentation here
@Chad-Sweet thanks Chad, so I got Rviz working now !![0_1660157598192_05B72248-F814-4C2F-947E-4443E4FB94F3.jpeg](Uploading 45%)
Is the IP address of my VOXL CAM 192.168.8.1