mirror of
https://github.com/CopterExpress/clover_vm.git
synced 2026-06-05 03:29:32 +00:00
Compare commits
15 Commits
v1.3-alpha
...
v1.3-alpha
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5d92f8e381 | ||
|
|
ef46ca93bb | ||
|
|
7c8ced9790 | ||
|
|
0e70776791 | ||
|
|
c540a1795b | ||
|
|
a0db84361a | ||
|
|
a6f6b29c68 | ||
|
|
337a44a797 | ||
|
|
bb66b96268 | ||
|
|
5c05441360 | ||
|
|
3467bfcea7 | ||
|
|
781c9d6be4 | ||
|
|
2996d5fd59 | ||
|
|
19baebd635 | ||
|
|
9f02f76044 |
@@ -81,14 +81,18 @@ ln -s ~/catkin_ws/src/clover/clover_simulation/airframes/* ~/PX4-Autopilot/ROMFS
|
|||||||
echo "--- Installing geographiclib datasets"
|
echo "--- Installing geographiclib datasets"
|
||||||
sudo -E sh -c '/opt/ros/noetic/lib/mavros/install_geographiclib_datasets.sh'
|
sudo -E sh -c '/opt/ros/noetic/lib/mavros/install_geographiclib_datasets.sh'
|
||||||
|
|
||||||
echo "--- Build mavlink and fix issues"
|
echo "--- Build PX4"
|
||||||
cd ~/catkin_ws
|
cd ~/PX4-Autopilot
|
||||||
catkin_make mavlink_c_generate
|
make px4_sitl
|
||||||
ln -s "." build/mavlink/mavlink
|
|
||||||
rm build/CMakeCache.txt
|
|
||||||
|
|
||||||
echo "--- Building the workspace"
|
echo "--- Building the workspace"
|
||||||
catkin_make --force-cmake
|
# sudo -E sh -c 'rm -rf /opt/ros/noetic/include/mavlink'
|
||||||
|
ls ~/catkin_ws/src/PX4-Autopilot/build/px4_sitl_default/mavlink
|
||||||
|
echo 'include_directories("/home/clover/PX4-Autopilot/build/px4_sitl_default/mavlink")' >> ~/catkin_ws/src/sitl_gazebo/CMakeLists.txt
|
||||||
|
sed -i 's|#include <mavlink/mavlink_types.h>|#include <mavlink_types.h>|' ~/catkin_ws/src/PX4-Autopilot/src/modules/mavlink/mavlink_bridge_header.h
|
||||||
|
cd ~/catkin_ws
|
||||||
|
catkin_make mavlink_c_generate
|
||||||
|
catkin_make
|
||||||
|
|
||||||
echo "--- Installing Visual Studio Code"
|
echo "--- Installing Visual Studio Code"
|
||||||
sudo -E sh -c 'apt-get update; apt-get install -y curl'
|
sudo -E sh -c 'apt-get update; apt-get install -y curl'
|
||||||
|
|||||||
Reference in New Issue
Block a user