松灵机器人 scout ros2 驱动 安装

必须使用 ubuntu22

必须使用 链接的humble版本

在这里插入图片描述
#打开can 口

 sudo modprobe gs_usb
 sudo ip link set can0 up type can bitrate 500000
 sudo ip link set can0 up type can bitrate 500000
 sudo apt install can-utils
candump can0
mkdir -p ~/ros2_ws/src
 cd ~/ros2_ws/src
git clone https://github.com/westonrobot/ugv_sdk.git
git clone https://github.com/westonrobot/scout_ros2.git
cd ..
colcon build

Launch ROS nodes

Start the base node for the Scout robot

ros2 launch scout_base scout_base.launch.py
Start the keyboard tele-op node

ros2 run teleop_twist_keyboard teleop_twist_keyboard

或者你直接下载我调整好的

我的github

git clone https://github.com/luogantt/scout_ros2_humble_lg
 cd scout_ros2_humble_lg
 colcon build

#打开can 口

 sudo modprobe gs_usb
 sudo ip link set can0 up type can bitrate 500000
 sudo ip link set can0 up type can bitrate 500000
 sudo apt install can-utils
candump can0

Launch ROS nodes

Start the base node for the Scout robot

ros2 launch scout_base scout_base.launch.py
Start the keyboard tele-op node

ros2 run teleop_twist_keyboard teleop_twist_keyboard

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值