【ROS】导航功能包/变量学习/2021-10-14

PoseStamped

Pose好理解,就是机器人的位姿(position and orientation),那么Stamped呢?Stamped表示时间戳(timestamped),这儿时间戳是指格林威治时间1970年01月01日00时00分00秒起至现在的总纳秒.几乎所有的计算机都可以使用这个时间,方便统一.————陈瓜瓜_ARPG
涉及:

std::vector<geometry_msgs::PoseStamped>& plan

一般在vector<变量类型> 类型指针时,用plan.push_back(数据),进行压栈。

<geometry_msgs/Twist.h>

有关线速度 角速度头文件

      
 * @brief  Given the current position, orientation, and velocity of the robot, compute velocity commands to send to the base
 * @param cmd_vel Will be filled with the velocity command to be passed to the robot base
 * @return True if a valid velocity command was found, false otherwise
  */
      virtual bool computeVelocityCommands(geometry_msgs::Twist& cmd_vel) = 0;

基本的局部路径规划器

  • 计算控制速度,发送到底盘 4
  • 判断局部规划是否可以到达目标(TODO:这个目标应该也是局部的,有待考证)3
  • 设置目标,计算路径 2
  • 规划器初始化 1

基本的全局路径规划器

  • 输入起点、终点规划全局路径 2
  • 全局规划器初始化

ROS ERROR and ROS_WARN

向终端输出错误和警告,

move_base

movebase学习链接

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

RockWang.

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值