松灵机器人 scout ros2 驱动 安装

ops/2025/2/2 23:51:39/

必须使用 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/srccd ~/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_lgcolcon 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


http://www.ppmy.cn/ops/155158.html

相关文章

【题解】AtCoder Beginner Contest ABC391 D Gravity

题目大意 原题面链接 在一个 1 0 9 W 10^9\times W 109W 的平面里有 N N N 个方块。我们用 ( x , y ) (x,y) (x,y) 表示第 x x x 列从下往上数的 y y y 个位置。第 i i i 个方块的位置是 ( x i , y i ) (x_i,y_i) (xi​,yi​)。现在执行无数次操作,每一次…

寒假刷题Day19

一、923. 三数之和的多种可能 class Solution { public:int threeSumMulti(vector<int>& arr, int target) {const int MOD 1000000007; // 正确的模数long long ans 0; // 使用 long long 防止溢出std::sort(arr.begin(), arr.end());for (size_t i 0; i < a…

python3+TensorFlow 2.x(三)手写数字识别

目录 代码实现 模型解析&#xff1a; 1、加载 MNIST 数据集&#xff1a; 2、数据预处理&#xff1a; 3、构建神经网络模型&#xff1a; 4、编译模型&#xff1a; 5、训练模型&#xff1a; 6、评估模型&#xff1a; 7、预测和可视化结果&#xff1a; 输出结果&#xff…

数据挖掘常用算法

文章目录 基于机器学习~~线性/逻辑回归~~树模型~~贝叶斯~~~~聚类~~集成算法神经网络~~支持向量机~~~~降维算法~~ 基于机器学习 线性/逻辑回归 类似单层神经网络 yk*xb 树模型 优点 可以做可视化分析速度快结果稳定 依赖前期对业务和数据的理解 贝叶斯 贝叶斯依赖先验概…

【10】如何辨别IOS AP镜像

1.概述 本文将针对思科的IOS AP来判断AP的镜像,通常我们通过直接的AP名称,很难判断该AP具体的软件版本,包括这个AP镜像是给什么型号的AP使用的,本文将针对这些内容进行介绍。 2.AP镜像了解 在思科官方下载瘦AP的镜像,一般都是15.3...,这个需要下载完毕,解压,可以看到…

解决运行npm时报错

在运行一个Vue项目时报错&#xff0c;产生下面问题 D:\node\npm.cmd run dev npm WARN logfile could not be created: Error: EPERM: operation not permitted, open D:\node\node_cache\_logs\2025-01-31T01_01_58_076Z-debug-0.log npm WARN logfile could not be created:…

第一个Python程序

目录 1.命令行模式 2.Python交互模式 3.命令行模式和Python交互模式 4.SyntaxError 5.小结 2.使用文本编辑器 1.Visual Studio Code! 2.直接运行py文件 3.输入和输出 1.输出 2.输入 3.小结 在正式编写第一个Python程序前&#xff0c;我们先复习一下什么是命令行模式…

调音基础学习

1、降噪 本质是噪声门&#xff0c;原理就是 1、设置阈值 2、低于阈值的电平全部滤掉 3、高于阈值的电平全部通过&#xff08;包括环境音&#xff09; 所以&#xff0c;阈值设置在大于环境音高一点点 降噪不能用于唱歌的录音&#xff0c;会损坏声音动态&#xff0c;所以用…