ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
2

Remotely run "rosrun rviz rviz" from launch file

asked 2013-01-31 04:10:06 -0500

Andrius gravatar image

All,

Is there a way I can launch a launch file on the master that runs rviz on my workstation?

If so, could you provide an example?

Thank you! Andy

edit retag flag offensive close merge delete

Comments

Could you clarify your question? From what I understood, you have two machines. Master is running on a machine that is not your workstation (a robot?). You want to be able to automatically run rviz on your workstation when you execute a launch file on the other machine. Is that right?

georgebrindeiro gravatar image georgebrindeiro  ( 2013-01-31 05:20:03 -0500 )edit

That is correct. Any thoughts on how to do this?

Andrius gravatar image Andrius  ( 2013-01-31 05:35:33 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2013-01-31 05:21:26 -0500

joq gravatar image

You should be able to do that with the <machine> tag.

edit flag offensive delete link more

Comments

could you expound on that a bit? the machine tag seemed like a logical place to start, but i'm not sure of the syntax to remotely run rviz from my master to my workstation

Andrius gravatar image Andrius  ( 2013-01-31 05:39:59 -0500 )edit
1

Examples can be found here: http://www.ros.org/wiki/roslaunch/XML/machine#Examples Are there any tags you can't figure out?

georgebrindeiro gravatar image georgebrindeiro  ( 2013-02-01 00:52:17 -0500 )edit
0

answered 2013-01-31 05:32:05 -0500

If u want to visualize the topics published in master on ur workstation then you can do a network setup explained here http://www.ros.org/wiki/Robots/TurtleBot/Network%20Setup and then run rviz on ur workstation.

edit flag offensive delete link more

Comments

shade: thank you, but I am months beyond the point of the "network setup" for master -> workstation comunication....im writing code that remotely launches multiple kinects in rviz from my master system to my workstation via a single "roslaunch" command

Andrius gravatar image Andrius  ( 2013-01-31 05:38:53 -0500 )edit

Question Tools

Stats

Asked: 2013-01-31 04:10:06 -0500

Seen: 2,013 times

Last updated: Jan 31 '13