Skip to content

Commit

Permalink
AION R1: Add AION R1 Rover model
Browse files Browse the repository at this point in the history
- Add world file and silt params for R1 Rover
- Fix model name in model.config
- Fix imu orientation in imu_sensor element
  - IMU must have z-down.
- Remove stand
- Fix formatting
  - Replace tabs with spaces.
- Remove unused or redundant elements
- Reduce chassis mass to match specs
- Update throttle and steering controller params
- Run rover-quicktune and update params
- Add user guide

Signed-off-by: Rhys Mainwaring <[email protected]>
  • Loading branch information
itskalvik authored and srmainwaring committed Feb 5, 2024
1 parent 14149e0 commit 835a747
Show file tree
Hide file tree
Showing 12 changed files with 1,966 additions and 0 deletions.
1,289 changes: 1,289 additions & 0 deletions Gazebo/config/r1_rover.param

Large diffs are not rendered by default.

37 changes: 37 additions & 0 deletions Gazebo/docs/AionR1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# AION R1 skid-steer rover

A model for an [AION R1](https://discuss.ardupilot.org/t/ardurover-r1-available-now/22109) skid-steer rover.

<img width="1312" alt="aion_r1_gz_sim" src="https://github.com/ArduPilot/SITL_Models/assets/24916364/58f25501-5863-423c-a5bd-6c3cbf9612e3">

## Usage

Gazebo and the plugins should be installed as per the [ArduPilot Gazebo Plugin](https://github.com/ArduPilot/ardupilot_gazebo) instructions.

Update the `GZ_SIM_RESOURCE_PATH` to include these models:

```bash
export GZ_SIM_RESOURCE_PATH=$GZ_SIM_RESOURCE_PATH:\
$HOME/SITL_Models/Gazebo/models:\
$HOME/SITL_Models/Gazebo/worlds
```

#### Run Gazebo

```bash
gz sim -v4 -r r1_rover_runway.sdf
```

#### Run ArduPilot SITL

The model may be run with the default `rover-skid` SITL parameters.
A set of custom parameters is provided with steering and speed PIDs
generated by the [`rover-quicktune.lua`](https://github.com/ArduPilot/ardupilot/blob/master/libraries/AP_Scripting/applets/rover-quicktune.lua) script.

```bash
sim_vehicle.py -v Rover -f rover-skid --model JSON --add-param-file=$HOME/SITL_Models/Gazebo/config/r1_rover.param --console --map
```

## Links

- Model adapted from: [Add aion robotics r1 rover #394](https://github.com/PX4/PX4-SITL_gazebo-classic/pull/394).
Binary file added Gazebo/models/r1_rover/meshes/antenna_link.STL
Binary file not shown.
Binary file added Gazebo/models/r1_rover/meshes/battery_link.STL
Binary file not shown.
Binary file added Gazebo/models/r1_rover/meshes/chassis_link.STL
Binary file not shown.
Binary file added Gazebo/models/r1_rover/meshes/housing_link.STL
Binary file not shown.
Binary file added Gazebo/models/r1_rover/meshes/top_link.STL
Binary file not shown.
Binary file added Gazebo/models/r1_rover/meshes/wheel_link.STL
Binary file not shown.
Binary file not shown.
16 changes: 16 additions & 0 deletions Gazebo/models/r1_rover/model.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0"?>
<model>
<name>r1_rover</name>
<version>1.0</version>
<sdf version='1.9'>model.sdf</sdf>
<license>https://github.com/aionrobotics/aion_io/blob/master/LICENSE.txt</license>

<author>
<name>Nicholas Nunno</name>
</author>

<description>
This is a model for the Aion robotics R1 ugv rover. The sdf file is adpated from [aion_io](https://github.com/aionrobotics/aion_io)
[Other Links](https://github.com/PX4/PX4-SITL_gazebo-classic/pull/394#issue-548486082)
</description>
</model>
Loading

0 comments on commit 835a747

Please sign in to comment.