forked from chiyu1468/AirTrapMine
Fix geographic_info branch to ros2
This commit is contained in:
+4
-3
@@ -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"]
|
[submodule "src/external/angles"]
|
||||||
path = src/external/angles
|
path = src/external/angles
|
||||||
url = https://github.com/ros/angles.git
|
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
|
||||||
|
|||||||
@@ -7,12 +7,14 @@
|
|||||||
|
|
||||||
|
|
||||||
===
|
===
|
||||||
必要相依套件
|
必要相依套件 順便記錄我開發時的環境版本
|
||||||
|
|
||||||
Python
|
Python
|
||||||
1. pymavlink
|
1. pymavlink -> Version: 2.4.42
|
||||||
2. conda-forge 中的 pyserial-asyncio
|
2. conda-forge 中的 pyserial-asyncio
|
||||||
3.
|
3. importlib_metadata -> Version: 8.5.0
|
||||||
|
4. setuptools -> Version: 58.2.0 (版本太新不行)
|
||||||
|
|
||||||
|
|
||||||
ROS2
|
ROS2
|
||||||
1. source ~/ros2_humble/install/setup.bash
|
1. source ~/ros2_humble/install/setup.bash
|
||||||
@@ -25,7 +27,7 @@ ROS2
|
|||||||
|
|
||||||
===
|
===
|
||||||
依賴的 ROS 庫
|
依賴的 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
|
2. https://github.com/ros/angles.git
|
||||||
3. mavros_msgs 是 https://github.com/mavlink/mavros 這個專案中的一個資料夾 這邊手動複製的
|
3. mavros_msgs 是 https://github.com/mavlink/mavros 這個專案中的一個資料夾 這邊手動複製的
|
||||||
|
|
||||||
@@ -36,7 +38,8 @@ cd ~/AirTrapMine
|
|||||||
git submodule init
|
git submodule init
|
||||||
git submodule update
|
git submodule update
|
||||||
# 2. build 需要的 package
|
# 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 # 這個依賴前面的
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Vendored
+1
-1
Submodule src/external/geographic_info updated: bc73c05ee7...24806adc76
Reference in New Issue
Block a user