Breadcrumbs

AlignAxis2.srv

Features

This serivce matches the given vect direction based on the ref coordinate and the designated axis of the tool frame. The robot TCP moves to the pos position.

Parameters

Parameter Name

Data Type

Default Value

Description

vect

float64[3]

-

vector

pos

float64[6]

-

position list

axis

int

-

TASK_AXIS_X = 0

TASK_AXIS_Y = 1

TASK_AXIS_Z = 2

ref

int

0

MOVE_REFERENCE_BASE =0

MOVE_REFERENCE_WORLD=2

MOVE_REFERENCE_USER=101~120


The MOVE_REFERENCE_WORLD argument of ref is only available in M2.40 or later versions.

Return

Return Name

Data Type

Default Value

Description

success

bool

-

True or False