connect to physical turtlebot without usb
1 回表示 (過去 30 日間)
古いコメントを表示
Ignacio Arriscado
2019 年 5 月 1 日
コメント済み: Walter Roberson
2019 年 5 月 5 日
Dear all,
I woudl like to use the turtlebot hardware package, and I am wondering wheter it is possible to
connect to the turtle bot robot without using a notebook, this is, just connecting somehow since matlab
to the turtle bot. In other words, in order to use the turlte bot hardware support package, is it
mandatory to have a notebook connected to the turtlebot?
0 件のコメント
採用された回答
Walter Roberson
2019 年 5 月 1 日
The notebook or equivalent runs the control software. You would have install a wifi or Bluetooth interface in place of the netbook (and possibly some other hardware as well, I do not know.) Then your MATLAB session would have to supply all of the controlling commands, every signal to turn the wheel and so on. It would probably be possible but not through the hardware package that you mentioned.
3 件のコメント
Walter Roberson
2019 年 5 月 5 日
If it is very important to use the Turtlebot Hardware Support Package that you mention, then you can use the Gazebo software emulator to emulate a Turtlebot https://www.mathworks.com/help/robotics/examples/get-started-with-gazebo-and-a-simulated-turtlebot.html and the hardware support package will be happy to talk to that softare package that is emulating a Turtlebot . The hardware support package use TCP or UDP to communicate with a turtlebot, so anything that responds as if it were a turtlebot is fine for the hardware support package.
This takes the problem from having to program the complete support for the turtlebot in MATLAB, to changing the Gazebo software emulator package to be able to communicate with the real turtlebot that you have removed the netbook from. Gazebo is probably written in C++ . I have never looked at the software so I have no idea how difficult it would be to adapt the software.
It would be sort of like if instead of directly controlling a moisture vaporator through its binary language, you installed a software package on your PC that emulated C3P0 and then hacked the emulated C3P0 program so that your MATLAB could talk to it and it would control a LEGO C3P0 to talk to the moisture vaporator for you. It could be done, but whether it is worth it is a different question.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Network Connection and Exploration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!