How to implement robot from the Gazebo simulation

10 ビュー (過去 30 日間)
Setthivadee
Setthivadee 2023 年 10 月 15 日
コメント済み: Setthivadee 2023 年 10 月 27 日
Hello everybody, I'm in new in robotics field. I want to start building a real robot. I done with the simulation for robot in Gazebo before from these examples: Simulate a Mobile Robot in a Warehouse Using Gazebo and A* Path Planning and Obstacle Avoidance in a Warehouse. So I already have my algorithm model in simulink which simulate with Gazebo via Gazebo block. BUT when I want to build in real world how can I send the command to the motor actuator. Can I using the Raspberry Pi to do this one? and maybe using with ROS toolbox or something. Can anyone help me with guide how to implement the real robot from the Gazebo simulation.
Thank you so much in advance.

回答 (1 件)

Vidip
Vidip 2023 年 10 月 26 日
I understand you want to transition from simulating a robot in Gazebo with Simulink to using a real robot with Simulink and the ROS Toolbox, here are the steps:
  1. Configure ROS Toolbox for Real Robot: Make sure your Simulink model is configured to use the ROS Toolbox. You should have the ROS Publish and ROS Subscribe blocks in your Simulink model to communicate with the real robot.
  2. Real Robot Hardware Setup: Connect your real robot's hardware (sensors, actuators, motors, etc.) to the onboard computer. Ensure that your Simulink model interfaces with these hardware components properly.
  3. ROS on Real Robot: Make sure the ROS middleware is installed and properly configured on your robot's onboard computer. You can use the same ROS version you used for simulation.
  4. Deployment Computer: Deploy your Simulink model on the computer that's onboard the real robot. This computer should run ROS nodes and facilitate communication between Simulink and the robot's hardware.
For further information, refer to the documentation link below:
  1 件のコメント
Setthivadee
Setthivadee 2023 年 10 月 27 日
Thank you for your help.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeRobotics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by