Call a function when an event of either 'reconnected' or 'disconnected' is triggered. Note that these events will only be triggered on WebRTC connections.
The event ('reconnected' or 'disconnected') that was triggered.
The function to call
Blocks on the specified operation on the robot. This function will only return when the specific operation has finished or has been cancelled.
ID of operation to block on.
Cancels the specified operation on the robot.
ID of operation to kill.
Get the list of operations currently running on the robot.
Cancel all current and outstanding operations for the robot and stop all actuators and movement.
Optionalextra: Map<string, StructType>
Any extra parameters to pass to the components'
methods, keyed on the component's resource name.
Get the configuration of the frame system of a given robot.
Transform a given source point cloud from the reference frame to a new specified destination which is a reference frame.
The point clouds to transform. This should be in the PCD format encoded into bytes: https://pointclouds.org/documentation/tutorials/pcd_file_format.html
The reference frame of the point cloud.
The reference frame into which the source data should be transformed, if unset this defaults to the "world" reference frame. Do not move the robot between the generation of the initial pointcloud and the receipt of the transformed pointcloud because that will make the transformations inaccurate.
Transform a given source Pose from the reference frame to a new specified destination which is a reference frame.
Get a list of all resource types.
Generated using TypeDoc