This model requires a custom controller which is implemented in the ArduPilot Lua script quadruped.lua. There is a copy of this script in SITL_Models/Ignition/config/scripts for convenience.
Set up the rover and SITL following the ArduPilot wiki instructions for Walking Robots.
Copy the Lua script quadruped.lua to the scripts folder for SITL (this is usually $ARDUPILOT_HOME/scripts).
The parameters set SCR_ENABLE = 1 and you will need to reboot the autopilot after the initial start to retrieve the full set of scripting parameters. You may also need to increase the SCR_HEAP_SIZE.
This PR adds a model for a Quadruped rover for use with ArduPilot.
The controller for this model is the result of Ashvath's project GSoC 2020: Walking Robot Support For Ardupilot.
The original version of the model is here: https://github.com/srmainwaring/ardupilot_gazebo_models/tree/master/models. It has been upgraded for use with Ignition.
Usage
Ignition and the plugins should be installed as per the ardupilot_gazebo wiki instructions.
Update the
IGN_GAZEBO_RESOURCE_PATH
to include these models:Run Gazebo
Run ArduPilot SITL
This model requires a custom controller which is implemented in the ArduPilot Lua script
quadruped.lua
. There is a copy of this script inSITL_Models/Ignition/config/scripts
for convenience.Set up the rover and SITL following the ArduPilot wiki instructions for Walking Robots.
Copy the Lua script
quadruped.lua
to thescripts
folder for SITL (this is usually$ARDUPILOT_HOME/scripts
).The parameters set
SCR_ENABLE = 1
and you will need to reboot the autopilot after the initial start to retrieve the full set of scripting parameters. You may also need to increase theSCR_HEAP_SIZE
.Controls
Manual control in MAVLink:
Credits
Hexapod CAD model
Dimensions