Ask Your Question
0

Do i need to use ROSBRIDGE for controlling my robot from my PC?

asked 2016-06-17 05:46:02 -0600

swati shirke gravatar image

I am using platform ubantu on PC and having ROS indigo on my robot. Now i want control it completely using PC and also want to see video taken by on board camera. Do i need to use ROSBRIDGE??? Without rosbridge is it possible to control the bot? Thank you in advance!!!

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
1

answered 2016-06-17 07:00:02 -0600

kramer gravatar image

No. ROS handles distributed processing "out of the box" (in this case, ROS nodes both on the robot and on your PC). You need to read the basic documentation and gain a working understanding of ROS nodes, the ROS master, and pub/sub functionality (at a minimum). Try starting at the ROS core components page and go from there.

Also, directly (1st sentence) from the rosbridge wiki page: Rosbridge provides a JSON API to ROS functionality for non-ROS programs. Which is quite clearly not what you need.

edit flag offensive delete link more
1

answered 2016-06-17 06:51:00 -0600

pablocesar gravatar image

I think there are several ways to solve this situation, I guess the master is running in the robot, you can have ROS installed in your laptop and then connect to the master running in the robot to "control" it. If you use Rosbridge is mainly if you want to access the data through the internet (or network), could you be more specific in your question?, so people can give to you a better advice.

edit flag offensive delete link more
0

answered 2016-06-17 07:10:14 -0600

Orhan gravatar image

updated 2016-06-17 07:17:02 -0600

You can control and view robot on your Ubuntu PC, if your robot and your PC are in the same network. Open up terminal on PC and type these two commands;

export ROS_HOSTNAME=<Place your PC's ip here>

and;

export ROS_MASTER_URI=http://<Place your Robot's ip here>:11311

Now your commands on this terminal, communicates with your robot. For example if you type rostopic list, you will see your robot's topics. Or you can launch

rosrun rqt_robot_steering rqt_robot_steering

to control yor robot.

Here is all Network Setup tutorial.

edit flag offensive delete link more

Comments

Note that you must install ros-indigo-desktop-full on your PC too.

Orhan gravatar imageOrhan ( 2016-06-17 07:30:20 -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

1 follower

Stats

Asked: 2016-06-17 05:46:02 -0600

Seen: 168 times

Last updated: Jun 17 '16