This GUI simplifies connection to a ROS Network. It also has built-in teleoperation features.
Step 1: On the 'Connection' panel, set the IP address of the Master node.
Step 2: Click 'Connect'. Successful connection will result output like this
'Initializing global node /matlab_global_node_88657 with NodeURI http://192.168.2.100:57590/' appearing on Matlab command prompt.
Step 3: On the 'Topics' panel, click on 'List out Topics' to see the topics available. Select the topics that you wish to publish/subscribe and click 'Publish' or 'Subscribe'.
Step 4: On the 'Nodes' panel, click on 'List out Nodes' to see the nodes available. Their respective subscriptions, publications and services are shown on the right.
Step 5: Use the Control buttons (Move Front, Move Right...etc) to control the simulated robot in gazebo or the actual robot.
A video is shared here:
https://www.youtube.com/watch?v=fLdktYgrH0A
Zitieren als
James (2024). ROS GUI (https://www.mathworks.com/matlabcentral/fileexchange/50640-ros-gui), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Tags
Quellenangaben
Inspiriert: "lane_stop" node for Autoware.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0 | Description Added youtube video
|
|