Types
MessageType
Message type for grid to enable message passing and consistency
MessageType
Generic class for any message type.
Position
Inherits from: MessageType
A class to represent the position of the robot
Position
A class to represent the position of the robot
Orientation
Inherits from: MessageType
A class to represent the orientation as a quaternion
Orientation
Initialize orientation as a unit quaternion
from_euler
Create orientation from Euler angles (roll, pitch, yaw)
quaternion representation of the orientation
Examples
to_euler
Convert quaternion to Euler angles (roll, pitch, yaw)
Euler angles in radians in (x, y, z) order
to_list
Convert orientation to a list of floats
List of floats representing the orientation
Pose
Inherits from: MessageType
A class to represent the pose of the robot (Position and Orientation)
Pose
A class to represent the pose of the robot (Position and Orientation)
The orientation as a quaternion
Velocity
Inherits from: MessageType
A class to represent the velocity of the robot in NED frame
Velocity
A class to represent the velocity of the robot in NED frame
Image
Inherits from: MessageType
A class to represent an image
Image
A class to represent an image
Twist
Inherits from: MessageType
A class to represent angular and linear velocity in 3D space.
Twist
Initialize a Twist message
to_dict
Convert to ROS message dictionary format
Dictionary matching ROS message format
PointCloud
Inherits from: MessageType
A class to represent a point cloud
PointCloud
Initialize a point cloud object
HeightMap
Inherits from: MessageType
A class to represent a height map from LiDAR data
HeightMap
Initialize the height map
process
Process the height map to return coordinates accounting for resolution and origin
Tuple containing: np.ndarray: X coordinates grid np.ndarray: Y coordinates grid np.ndarray: Height values
Was this page helpful?