首页 > 学院 > 开发设计 > 正文

geometry_msgs/Twist Message

2019-11-06 08:00:12
字体:
来源:转载
供稿:网友

http://docs.ros.org/api/geometry_msgs/html/msg/Twist.html

File: geometry_msgs/Twist.msg

Raw Message Definition

# This exPResses velocity in free space broken into its linear and angular parts.Vector3  linearVector3  angular

Compact Message Definition

geometry_msgs/Vector3 linear

geometry_msgs/Vector3 angular

http://docs.ros.org/api/geometry_msgs/html/msg/Twist.html

例:

        geometry_msgs::Twist vel;        vel.angular.z = 0.3;

        vel.linear.x = 0.05;


上一篇:取数字问题

下一篇:所谓数据结构

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表