使用yocs_smoother_velocity做速度平滑处理
参考文章
1-ros中的速度平滑处理和yocs_smoother_velocity介绍及关于全向扩展包实现
https://www.jianshu.com/p/926d6e68ebd1
2-ROS使用yocs_smoother_velocity做速度平滑处理
https://blog.csdn.net/lclfans1983/article/details/105444059
3-使用yocs_velocity_smoother对机器人速度进行限制
https://my.oschina.net/u/4275369/blog/4200069
4-ROS入门笔记(五):ROS中运行rqt_plot的问题(kinetic)
https://blog.csdn.net/brawly/article/details/106433339?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.channel_param&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.channel_param
自己调试的注意事项
这是我的
raw_cmd_vel_topic是手柄发过来的话题数据
smooth_cmd_vel_topic和robot_cmd_vel_topic可以是同一个,最好是同一个,因为robot_cmd_vel_topic是机器人当前的速度你是不知道的。
<!--Example standalone launcher for the velocity smoother-->
<launch><arg name="node_name" value="velocity_smoother"/><arg name="nodelet_manager_name" value="nodelet_manager"/><arg name="config_file" value="$(find yocs_velocity_smoother)/param/standalone.yaml"/><arg name="raw_cmd_vel_topic" value="teleop_velocity_smoother/raw_cmd_vel"/><arg name="smooth_cmd_vel_topic" value="cmd_vel"/><arg name="robot_cmd_vel_topic" value="cmd_vel"/><arg name="odom_topic" value="odom"/><!-- nodelet manager --><node pkg="nodelet" type="nodelet" name="$(arg nodelet_manager_name)" args="manager"/><!-- velocity smoother --><include file="$(find yocs_velocity_smoother)/launch/velocity_smoother.launch"><arg name="node_name" value="$(arg node_name)"/><arg name="nodelet_manager_name" value="$(arg nodelet_manager_name)"/><arg name="config_file" value="$(arg config_file)"/><arg name="raw_cmd_vel_topic" value="$(arg raw_cmd_vel_topic)"/><arg name="smooth_cmd_vel_topic" value="$(arg smooth_cmd_vel_topic)"/><arg name="robot_cmd_vel_topic" value="$(arg robot_cmd_vel_topic)"/><arg name="odom_topic" value="$(arg odom_topic)"/></include>
</launch>
平滑包参数,这是我的,速度最大值和加速度的对应关系一般为1:1.5(是我这么认为),比如speed_lim_v是0.5,则accel_lim_v为0.75,这样可以较平稳的控制小车
# Example configuration:
# - velocity limits are around a 10% above the physical limits
# - acceleration limits are just low enough to avoid jerking# Mandatory parameters
speed_lim_v: 0.5
speed_lim_w: 2.0 #default is 5.4accel_lim_v: 0.55
accel_lim_w: 2.2 #default is 3.5# Optional parameters
frequency: 30.0
decel_factor: 1.0# Robot velocity feedback type:
# 0 - none
# 1 - odometry
# 2 - end robot commands
robot_feedback: 2
使用yocs_smoother_velocity做速度平滑处理相关推荐
- ROS小车基于yocs_smoother_velocity做速度平滑处理
文章目录 做速度平滑处理的背景 yocs_smoother_velocity功能包解析 如何使用yocs_smoother_velocity 注意事项 功能拓展 做速度平滑处理的背景 ROS 导航模块 ...
- ROS使用yocs_smoother_velocity做速度平滑处理
ROS 导航模块move_base 输出的/cmd_vel topic指定了为机器人规划的线速度和角速度, 但是这个输出值还是不够友好导致机器人运动不够流畅,这就需要对这个输出速度值进行一个平滑的过程 ...
- yujin_ocs/yocs_velocity_smoother速度平滑velocity_smoother_nodelet源码解读
[记录学习]本文对yujin_ocs/yocs_velocity_smoother/src/velocity_smoother_nodelet.cpp速度平滑源码进行了解读,初学ros,若有错误欢迎指 ...
- yocs_velocity_smoother速度平滑库知识
一.C++ (1)nth_element()用法 头文件:#include<algorithm> nth_element:在数组或容器中将第几大或小的元素放到该放的位置上.(默认第几小,可 ...
- yocs_velocity_smoother速度平滑配置与使用
yocs_velocity_smoother速度平滑配置与使用 简介 安装 配置文件 运行结果 参考 简介 yocs_velocity_smoother速度平滑(滤波)是将base_move导航输出的 ...
- 如何做数据平滑迁移:双写方案
1.什么是数据迁移 数据迁移指的是将一批数据从同构存储系统(如MySQLA到MySQLB)或异构存储系统(如MySQL-MongoDB)间搬运迁移. 最简单的数据迁移方式是通过脚本或定时任务将数据进行 ...
- c# .Net 缓存 使用System.Runtime.Caching 做缓存 平滑过期,绝对过期
1 public class CacheHeloer 2 { 3 4 /// <summary> 5 /// 默认缓存 6 /// </summary> 7 private s ...
- 改造industrial_robot_simulator给joint_states的velocity赋值,便于测试轨迹规划的速度平滑性
原生的不存在velocity赋值的功能,现在补充上,补充之后就可以看到joint_states的velocity话题赋值了 #!/usr/bin/env python # # Software Lic ...
- yocs_velocity_smoother速度平滑包的动态参数设置
ROS功能:动态重配置实用程序;浅显说就是在程序外部动态改变变量值,可以不用重新编译程序,就是说可以快速调参,其中需要用参数服务器,服务和主题. 配置文件保存在和src同级的文件夹cfg中,yocs_ ...
最新文章
- 用专业的说一句情话 计算机,用电脑专业说一句情话
- 398. Random Pick Index
- 这也太狠了吧!500套Java实用代码,不论工作学习都能用到!
- 初学者java学习计划_初学者:计划在Windows 7 Media Center中录制直播电视的时间
- mongodb适用于_适用于MongoDB和Mongometer的SpiderMonkey至V8
- 十大经典排序C++实现及动图演示
- 一道Struts面试题
- python需要下载哪些软件-Python 从不懂到入门
- Nginx SSL 结合Tomcat 重定向URL变成HTTP的问题
- web安全:X老师上课讲了Robots协议,小宁同学却上课打了瞌睡,赶紧来教教小宁Robots协议是什么吧
- 使用Windows自带工具WINSat给硬盘测速
- iOS WKWebView 那些坑
- HTML5实现3D校园地图思路
- OSAL(操作系统抽象层)
- 应对机器学习中类不平衡的10种技巧
- Dilated Convolutions——扩张卷积
- 叠氮-三聚乙二醇-琥珀酰亚胺1245718-89-1Azido-PEG3-NHS ester
- 教你疾速掌握DB2数据库中的相干饬令-4
- 按照人体自然的生物钟去规律生活
- 飞冰(ICE) 阿里家的前端图形化一键工具
热门文章
- 【Python】Matplotlib画图(七)——线的颜色、点的形状
- 软件质量模型(ISO/IEC 9126和Mc Call)
- Windows 10快速删除大量回收站文件以及由此引起的回收站右键清空反应慢问题的解决
- 给已经创建的容器暴漏端口 添加新的端口
- 怎样在应用中实现自助报表功能?
- docker中 scp root远程至普通用户
- 计算机专业秃顶图片,大学被叫惨的三大专业,计算机秃顶是常事,医学专业这个就惨了!...
- RK3128-android5.1-wifi兼容
- 微软 android启动器,微软启动器Mirosoft Launcher
- 伽马函数公式 ∫x^ne^{-x}dx=n!