How do I connect my wifi robot to matlab via ROS?
Ältere Kommentare anzeigen
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?
Antworten (1)
Sebastian Castro
am 9 Jul. 2015
0 Stimmen
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 Kommentare
Megan Badillo
am 9 Jul. 2015
Sebastian Castro
am 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
Kategorien
Mehr zu Robotics finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!