ros 指令



1. FollowJointTrajectoryGoal()

from control_msgs.msg import *
g = FollowJointTrajectoryGoal()
print(g)

输出

runfile('/home/wgb/.config/spyder/temp.py', wdir='/home/wgb/.config/spyder')
trajectory: 
  header: 
    seq: 0
    stamp: 
      secs: 0
      nsecs:         0
    frame_id: ''
  joint_names: []
  points: []
path_tolerance: []
goal_tolerance: []
goal_time_tolerance: 
  secs: 0
  nsecs:         0

原文

control_msgs/FollowJointTrajectoryGoal Message
File: control_msgs/FollowJointTrajectoryGoal.msg
# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
# The joint trajectory to follow
trajectory_msgs/JointTrajectory trajectory

# Tolerances for the trajectory(轨迹偏差).  If the measured joint values fall
# outside the tolerances the trajectory goal is aborted.  Any
# tolerances that are not specified (by being omitted or set to 0) are
# set to the defaults for the action server (often taken from the
# parameter server).

# Tolerances applied to the joints as the trajectory is executed.  If
# violated, the goal aborts with error_code set to
# PATH_TOLERANCE_VIOLATED.
JointTolerance[] path_tolerance

# To report success, the joints must be within goal_tolerance of the
# final trajectory value.  The goal must be achieved by time the
# trajectory ends plus goal_time_tolerance.  (goal_time_tolerance
# allows some leeway in time, so that the trajectory goal can still
# succeed even if the joints reach the goal some time after the
# precise end time of the trajectory).
#
# If the joints are not within goal_tolerance after "trajectory finish
# time" + goal_time_tolerance, the goal aborts with error_code set to
# GOAL_TOLERANCE_VIOLATED
JointTolerance[] goal_tolerance
duration goal_time_tolerance


Expanded Definition
trajectory_msgs/JointTrajectory trajectory
    Header header
        uint32 seq
        time stamp
        string frame_id
    string[] joint_names
    trajectory_msgs/JointTrajectoryPoint[] points
        float64[] positions
        float64[] velocities
        float64[] accelerations
        duration time_from_start
JointTolerance[] path_tolerance
    string name
    float64 position
    float64 velocity
    float64 acceleration
JointTolerance[] goal_tolerance
    string name
    float64 position
    float64 velocity
    float64 acceleration
duration goal_time_tolerance

trajectory 	英 [trəˈdʒektəri]
	美 [trəˈdʒɛktəri]
n. 	[物] 弹道,轨道; [几] 轨线;
[例句]In this paper, the engineering design approach of manned spacecraft ascent trajectory is described.

2.JointTrajectory()


原文:

trajectory_msgs/JointTrajectory Message
File: trajectory_msgs/JointTrajectory.msg
Raw Message Definition
Header header
string[] joint_names
JointTrajectoryPoint[] points
Compact Message Definition
std_msgs/Header header
string[] joint_names
trajectory_msgs/JointTrajectoryPoint[] points

3.


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值