How do I connect my wifi robot to matlab via ROS?

I am trying to connect our Dr. Robot X80SVP rovers to matlab using the robotics toolbox. I'm still a bit confused on exactly how to connect and what to call the robot (node,host,etc..). The rovers have their own IP address as do their cameras mounted on the front. Could someone show me an example of how to do this?

Answers (1)

You want MATLAB to connect to the IP address of whatever is running the ROS Master. Is that on the rover itself?
Once you have the IP address, you just type rosinit('ip_addr') in MATLAB.
- Sebastian

2 Comments

I was under the impression that the computer running matlab was the master and that anything else connected to it was a node of some kind.
Yes, that's one way of doing it. MATLAB will create its own master if you type "rosinit" without any arguments. Then, your other devices can connect to the IP address of the computer running MATLAB.
- Sebastian

Sign in to comment.

Asked:

on 8 Jul 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!