What are the meaning of linear_velocity and angular_velocity?

linear_velocity and angular_velocity are commonly used concepts in robotics.
linear_velocity refers to the speed of movement in a straight line. It is measured in meters/second (m/s). For a mobile robot, the linear velocity refers to the speed at which the robot as a whole is moving in a straight line.
angular_velocity refers to the speed of rotation, measured in radians/second (rad/s). For a mobile robot, the angular velocity refers to the speed at which the robot is rotating in place.
These two velocities control different motions:
• linear_velocity controls forward/backward and left/right motion. Moving only linear_velocity will cause the robot to move in straight lines.
• angular_velocity controls rotation. Moving only the angular_velocity will cause the robot to spin in place.
By controlling both linear_velocity and angular_velocity, you can get the robot to perform curved paths or any complex motion that combines straight line movement and rotation.
For example:
• Only positive linear_velocity: Robot moves forward
• Only negative linear_velocity: Robot moves backward
• Large positive angular_velocity: Robot spins quickly clockwise
• Zero linear_velocity and negative angular_velocity: Robot spins slowly counter-clockwise in place
• Positive linear_velocity and positive angular_velocity: Robot moves forward while turning to the right
• Etc.
So in summary, for a mobile robot (or really any moving object):
• linear_velocity controls the speed of straight line motion
• angular_velocity controls the speed of rotation
• Combining both allows you to command the robot to perform any arbitrary motion path

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值