connect to physical turtlebot without usb

조회 수: 1 (최근 30일)
Ignacio Arriscado
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?

채택된 답변

Walter Roberson
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
Ignacio Arriscado
Ignacio Arriscado 2019년 5월 5일
sorry, I dont understand what you mean. Could you please explain in another way?
Walter Roberson
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 CenterFile Exchange에서 Network Connection and Exploration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by