33 lines
490 B
Markdown
33 lines
490 B
Markdown
# ros base env
|
|
|
|
|
|
|
|
## use py3 with ros
|
|
|
|
```bash
|
|
|
|
source ...../python3
|
|
pip install catkin_pkg pyyaml empy rospkg numpy
|
|
mkdir -p catkin_ws/src # 用户开发目录
|
|
cd catkin_ws
|
|
catkin_make
|
|
|
|
cd ~
|
|
mkdir -p catkin_base/src # 第三方包编译目录
|
|
cd catkin_base/src
|
|
git clone https://github.com/ros/geometry
|
|
git clone https://github.com/ros/geometry2
|
|
cd ..
|
|
catkin_make
|
|
|
|
```
|
|
|
|
|
|
## 安装依赖包
|
|
|
|
```bash
|
|
|
|
rosdep install --from-paths src --ignore-src --rosdistro=${ROS_DISTRO} -y
|
|
|
|
```
|