|
47 | 47 | - name: "Test Gazebo installation" |
48 | 48 | run: "gz sim --versions" |
49 | 49 |
|
50 | | - # - name: Install Gazebo and dependencies |
51 | | - # run: | |
52 | | - # # First install libunwind-dev to satisfy the dependency requirements |
53 | | - # sudo apt-get update |
54 | | - # sudo apt-get install -y libunwind-dev |
55 | | - |
56 | | - # # Then install the rest of the packages |
57 | | - # sudo apt-get install -y python3-pip python3-pytest-timeout python3-pytest-cov \ |
58 | | - # ros-humble-launch-testing ros-humble-launch-testing-ament-cmake \ |
59 | | - # ros-humble-gazebo-ros-pkgs ros-humble-gazebo-ros ros-humble-xacro \ |
60 | | - # ros-humble-joint-state-publisher ros-humble-robot-state-publisher \ |
61 | | - # ros-humble-nav2-msgs ros-humble-turtlebot3-msgs |
62 | | - |
63 | | - # # Install Gazebo separately with --fix-broken option |
64 | | - # sudo apt-get install -y --fix-broken gazebo libgazebo-dev |
65 | | - |
66 | | - - name: Install Gazebo Harmonic and dependencies |
67 | | - run: | |
68 | | - sudo apt-get install -y ros-humble-xacro ros-humble-ros-gz-sim |
69 | | - sudo apt remove ros-humble-ros-gzharmonic-bridge ros-humble-ros-gzharmonic-interfaces ros-humble-ros-gzharmonic-sim |
70 | | - sudo apt-get install ros-humble-as2-gazebo-assets ros-humble-as2-platform-gazebo ros-humble-ros-gz-image |
71 | | - sudo apt-get install -y ros-humble-as2-gazebo-assets ros-humble-as2-state-estimator |
72 | | - sudo apt-get install -y ros-humble-as2-motion-controller ros-humble-as2-behaviors-motion |
73 | | -
|
74 | 50 | - name: Install Gazebo classic and resolve version conflicts |
75 | 51 | run: | |
76 | 52 | sudo add-apt-repository ppa:openrobotics/gazebo11-gz-cli |
|
82 | 58 | sudo apt-get install libgazebo11=11.10.2+dfsg-1 |
83 | 59 | sudo apt-get install libgazebo-dev |
84 | 60 |
|
| 61 | + - name: Install aerostack2 and dependencies |
| 62 | + run: | |
| 63 | + sudo apt-get install -y ros-humble-xacro ros-humble-ros-gz-sim |
| 64 | + sudo apt-get install -y ros-humble-geographic-msgs libgeographic-dev ros-humble-mocap4r2-msgs |
| 65 | + sudo apt install git python3-rosdep python3-pip python3-colcon-common-extensions -y |
| 66 | +
|
| 67 | + mkdir -p ./aerostack2_ws/src/ && cd ./aerostack2_ws/src/ |
| 68 | + git clone https://github.com/aerostack2/aerostack2.git |
| 69 | + cd .. |
| 70 | + sudo rosdep init |
| 71 | + rosdep update |
| 72 | + rosdep install -y -r -q --from-paths src --ignore-src |
| 73 | +
|
85 | 74 | - name: "Test Gazebo installation" |
86 | 75 | run: "gz sim --versions" |
87 | 76 |
|
|
0 commit comments