module documentation
Undocumented
Function | create |
Create marker for clearing all |
Function | create |
Create marker for clearing |
Function | create |
Create marker for the workspace |
Function | create |
Create text marker |
Function | create |
Create workspace plane |
Function | get |
Transform the pose in the workspace to the world pose |
Function | publish |
Create and publish object and marker object |
Create marker for the workspace
Parameters | |
position | position of the marker |
orientation | orientation of the marker |
id | id of the marker |
time | time ros |
Create text marker
Parameters | |
id | id of the marker |
text | text in the marker |
time | time ros |
position | position of the marker |
orientation | orientation of the marker |
size | size of the text |
Create workspace plane
Parameters | |
id | id of the marker |
time | time ros |
position | position of the marker |
orientation | orientation of the marker |
x | size in x of the object |
y | size in y of the object |
z | size in z of the object |
Transform the pose in the workspace to the world pose
Parameters | |
workspace | dict of the workspace which contains name, matrix, ratio |
x | object base x position relative to workspace |
y | object base y position relative to workspace |
yaw | object base rotation on z relative to workspace |
yaw | Avoid over rotation |
def publish_object_rviz(position, orientation, size, type_marker, color, id_marker, publisher, time, duration):
¶
Create and publish object and marker object
Parameters | |
position | position of the marker |
orientation | orientation of the marker |
size | size of the object |
type | type of the object(cylinder or square) |
color | color of the object |
id | id of the marker |
publisher | ros publisher |
time | time ros |
duration | time to live |