EN
/news/show.php/video/81321624.html

松灵机器人 scout ros2 驱动 安装

2025-06-24 11:23:41 来源: 新华社
字号:默认 超大 | 打印 |

必须使用 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/srcgit clone https://github.com/westonrobot/ugv_sdk.gitgit clone https://github.com/westonrobot/scout_ros2.gitcd ..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。

【我要纠错】责任编辑:新华社