Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tools: Update ardupilot_gazebo install script #22608

Merged

Conversation

srmainwaring
Copy link
Contributor

Follow up to #22598

  • Update prerequisites
  • Update workspace and build order.
  • Update GZ envs.

Host: macOS Monterey 12.6, Intel Mac Pro
System: Ubuntu Focal 20.04.5 LTS on VMware Fusion 13.0

Testing

  1. Run script for package ros-base
./install-ROS-ubuntu.sh -p ros-base
  1. Check env variables correctly set in .bashrc
$tail ~/.bashrc

#---------------------------------------------------------
# ArduPilot
export  PATH=$PATH:$HOME/Code/ardupilot/ardupilot/Tools/autotest

source /home/rhys/ardupilot-ws/devel/setup.bash
export GZ_SIM_SYSTEM_PLUGIN_PATH=/home/rhys/ardupilot_gz_ws/src/ardupilot_gazebo/build:
export GZ_SIM_RESOURCE_PATH=/home/rhys/ardupilot_gz_ws/src/ardupilot_gazebo/models:/home/rhys/ardupilot_gz_ws/src/ardupilot_gazebo/worlds:
  1. Run the Iris example (in new terminal)
gz sim -v4 -r --render-engine=ogre iris_runway.sdf

(need to use ogre rather than ogre2 if rendering on a 20.04 VM).

@rmackay9 rmackay9 requested a review from jmachuca77 January 9, 2023 05:30
@rmackay9
Copy link
Contributor

rmackay9 commented Jan 9, 2023

@srmainwaring,

Thanks very much for this. Could you rebase on master so the "Merge branch" commit disappears?

@srmainwaring srmainwaring force-pushed the srmainwaring/install-ros-gz branch from 53287f3 to dfb04ff Compare January 9, 2023 09:05
- Update prerequisites
- Update workspace and build order.
- Update GZ envs.

Signed-off-by: Rhys Mainwaring <[email protected]>
@srmainwaring srmainwaring force-pushed the srmainwaring/install-ros-gz branch from dfb04ff to e3da56b Compare January 9, 2023 09:06
@rmackay9 rmackay9 merged commit c7b969a into ArduPilot:master Jan 9, 2023
@rmackay9
Copy link
Contributor

rmackay9 commented Jan 9, 2023

Merged, thanks!

@srmainwaring srmainwaring deleted the srmainwaring/install-ros-gz branch April 2, 2023 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants