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?
답변 (1개)
Sebastian Castro
2015년 7월 9일
0 개 추천
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
Megan Badillo
2015년 7월 9일
Sebastian Castro
2015년 7월 9일
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
카테고리
도움말 센터 및 File Exchange에서 Code Generation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!