How do I connect my wifi robot to matlab via ROS?
Show older comments
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)
Sebastian Castro
on 9 Jul 2015
0 votes
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
Megan Badillo
on 9 Jul 2015
Sebastian Castro
on 9 Jul 2015
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
Categories
Find more on Robotics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!