ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You will need a controller within a gazebo plugin. You can find examples on gazebo plugins in this repo: https://github.com/ros-simulation/gazebo_ros_pkgs/tree/foxy/gazebo_plugins
The input to your controller will probably be an IMU that can give you the pitch angle of the middle part of the robot. The controller will need to be cascaded.
2 | No.2 Revision |
You will need a controller within and a gazebo plugin.
The controller can be either within the plugin or separate in a ros2 node, which is what you should prefer in case you ever want to build the robot in reality.
You can find examples on gazebo plugins in this repo: https://github.com/ros-simulation/gazebo_ros_pkgs/tree/foxy/gazebo_plugins
The input to your controller will probably be an IMU that can give you the pitch angle of the middle part of the robot. The controller will need to be cascaded.