monitor_relative_distance
Triggers when a frame moved a certain relative distance.
Defined at line 115 of file monitors/geometry.xml in package pitasc_library.
Meta data
CategoriesgeometryPrototypesmonitor_distance, monitor, object, dictionary, base, descriptive
Parameters
Required parameters:
reference_frame : stringStatic frame from which the moving frame is observed (e.g. world).frame : stringMoving framecoordinates : csv:stringObserved axes.distances : csv:floatDistances threshold (m or rad). Aligned to the distance_coordinates member.operator : stringOperator name (e.g. less, absolute_greater, greater_equal, absolute_less_equal,…)
Basic parameters:
event : stringPrimary event that is triggered by the monitorDefault: succeededtarget_offsets : csv:floatOffsets to the target. There must be as many values as there are coordinates. If no value is given, 0 is used for all coordinates.
Hidden parameters:
distance_coordinates : csv:stringPossible axes names that can be given in the member coordinates. The given distances are aligned to the axes given here.kinematic_graph : dictGraph of kinematic links
Examples
monitor_relative_distance is used in the following examples: