Ask Your Question
0

run Node on other Master

asked 2016-06-06 04:33:04 -0600

Emilien gravatar image

updated 2016-06-07 04:25:38 -0600

hi, i have my robot developped on raspberry pi3 and it publish odometry and laserscan data. i want to visualise this data on RVIZ install it on my PC.

What can i do please?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2016-06-06 05:37:41 -0600

updated 2016-06-07 04:55:21 -0600

You just have to set your Environment Variables correctly in your case the ROS_MASTER_URI where you specify where your PC can find the Master documented here.

So you just have to open a new Terminal Window and enter export ROS_MASTER_URI=http://mia:11311/ (mia: my ip address). In your case enter the ip address of the raspberrypi instead of mia.

Than starting RVIZ with rosrun rviz rviz. (you also can check with rostopic list if your topics are available now).

--- Update --

Corresponding to your comment you have also set your ROS_IP. Sorry i forgot to tell you that. So just find out your IP-Address with

hostname -I

and export it with

export ROS_IP=192.168.xxx.xxx

So you have to do both. Setup the ROS_MASTER_URI and the ROS_IP. Please don’t forget to set the ROS_IP at your PC and the RaspberryPi.

edit flag offensive delete link more

Comments

thanks, when i run rostopic list on my PC, i receive all topics but when i run rostopic bw /topic, i receive any data. what can i do please?

Emilien gravatar imageEmilien ( 2016-06-07 04:25:24 -0600 )edit

i receive: Using transport "raw" Couldn't find an AF_INET address

Emilien gravatar imageEmilien ( 2016-06-07 07:43:37 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2016-06-06 04:33:04 -0600

Seen: 66 times

Last updated: Jun 07 '16