添加全局路点用于轨迹运动
rs_add_waypoint()
int
rs
_
add
_
waypoint
(
RSHD
rshd
,
Doubl
e
joint
_
radian
[
ARM
_
DO
F
]
Parameters
rshd
械臂控制上下文句柄
joint
_
radia
n
六个关节的关节角,单位
(
rad
)
Returns
RS
_
SUCC
成功 其他失败
向服务器添加非在线轨迹运动路点文件
int
rs
_
append
_
offline
_
track
_
file
(
RSHD
rshd
,
const char
*
filename
)
rs_append_offline_track_file()
Parameters
rshd
械臂控制上下文句柄
filenam
e
路点文件全路径
,
路点文件的每一行包含六个关节的关节角
(
弧度
),
用逗号
隔开
Returns
RS
_
SUCC
成功 其他失败
向服务器添加非在线轨迹运动路点
rs_append_offline_track_waypoint()
int
rs
_
append
_
offline
_
track
_
waypoint
(
RSHD
rshd
,
const JointParam
waypoints
[],
int
waypoint
_
count
)
Parameters
rshd
械臂控制上下文句柄
waypoints
路点数组
(
路点个数小于等于
3000)
waypoint
_
coun