Closed itskalvik closed 5 months ago
@itskalvik - thanks for the contribution. I've pushed the edits discussed in #120. Could you please review and let me know if you're happy with the changes.
The command I'm using to start SITL is:
sim_vehicle.py -v Rover -f rover-skid --model JSON --add-param-file=$HOME/SITL_Models/Gazebo/config/r1_rover.param --console --map
which highlights that the starting point is the rover-skid
config.
Adjusting the follow camera gives a better view of the wheel slip in turns:
gz service -s /gui/follow/offset --reqtype gz.msgs.Vector3d --reptype gz.msgs.Boolean --timeout 2000 --req "x: -0.5, y: 0.5, z: 0.5"
@jmachuca77 are there updated links available for the original model and license? Those in https://github.com/PX4/PX4-SITL_gazebo-classic/pull/394#issuecomment-623741455 are no longer valid.
This is incredible! You went way and beyond what I was expecting 🤯 Thank you So much for your work and quick response!! 😊
Unfortunately these repos have been made private. I would try contacting AION directly to see if the can be reopened.
@itskalvik - added a user guided and squashed. I've sent AION an email asking about the license and access to original models. Will wait for their reply before merging, although with the PX4 model public this should not be an issue.
Update: have not received a reply. Comment in https://github.com/PX4/PX4-SITL_gazebo-classic/pull/394#issuecomment-623741455 confers approval given stated conditions.
@srmainwaring Taking option 2. I made a new branch and made a PR from that.
Usage
Gazebo and the plugins should be installed as per the ArduPilot Gazebo Plugin instructions.
Update the GZ_SIM_RESOURCE_PATH to include these models:
export GZ_SIM_RESOURCE_PATH=$GZ_SIM_RESOURCE_PATH:\ $HOME/SITL_Models/Gazebo/models:\ $HOME/SITL_Models/Gazebo/worlds
Run Gazebo
gz sim -v4 -r r1_rover_runway.sdf
Run ArduPilot SITL
sim_vehicle.py -v Rover -f JSON --add-param-file=$HOME/SITL_Models/Gazebo/config/r1_rover.param --console --map