Fix geographic_info branch to ros2

This commit is contained in:
2025-12-01 21:15:57 +08:00
parent 7158e9548a
commit d2e90a93c9
3 changed files with 13 additions and 9 deletions
+4 -3
View File
@@ -1,6 +1,7 @@
[submodule "src/external/geographic_info"]
path = src/external/geographic_info
url = https://github.com/ros-geographic-info/geographic_info.git
[submodule "src/external/angles"]
path = src/external/angles
url = https://github.com/ros/angles.git
[submodule "src/external/geographic_info"]
path = src/external/geographic_info
url = https://github.com/ros-geographic-info/geographic_info.git
branch = ros2
+8 -5
View File
@@ -7,12 +7,14 @@
===
必要相依套件
必要相依套件 順便記錄我開發時的環境版本
Python
1. pymavlink
1. pymavlink -> Version: 2.4.42
2. conda-forge 中的 pyserial-asyncio
3.
3. importlib_metadata -> Version: 8.5.0
4. setuptools -> Version: 58.2.0 (版本太新不行)
ROS2
1. source ~/ros2_humble/install/setup.bash
@@ -25,7 +27,7 @@ ROS2
===
依賴的 ROS 庫
1. https://github.com/ros-geographic-info/geographic_info.git
1. https://github.com/ros-geographic-info/geographic_info.git 記得要搞 ros2 版本的
2. https://github.com/ros/angles.git
3. mavros_msgs 是 https://github.com/mavlink/mavros 這個專案中的一個資料夾 這邊手動複製的
@@ -36,7 +38,8 @@ cd ~/AirTrapMine
git submodule init
git submodule update
# 2. build 需要的 package
colcon build --packages-select angles geographic_msgs mavros_msgs
colcon build --packages-select angles geographic_msgs
colcon build --packages-select mavros_msgs # 這個依賴前面的
```