Converts a dictionary with the fields rotation and translation into a homogeneous transformation.
Parameters: | transform_dict: dict :
|
---|---|
Returns: | array: array_like :
|
Convert a geometry_msgs/Point ROS message into a numpy array.
Parameters: | msg: geometry_msgs/Point :
|
---|---|
Returns: | array: np.array :
|
Convert a geometry_msgs/Pose ROS message into a numpy array (4x4 homogeneous transformation).
Parameters: | msg: geometry_msgs/Pose :
|
---|---|
Returns: | array: np.array :
|
Convert a geometry_msgs/Quaternion ROS message into a numpy array.
Parameters: | msg: geometry_msgs/Quaternion :
|
---|---|
Returns: | array: np.array :
|
Convert a sensor_msgs/RegionOfInterest ROS message into a list with the two corners of the ROI.
Parameters: | msg: sensor_msgs/RegionOfInterest :
|
---|---|
Returns: | result: list :
|
Convert a geometry_msgs/Transform ROS message into a numpy array (4x4 homogeneous transformation).
Parameters: | msg: geometry_msgs/Transform :
|
---|---|
Returns: | array: np.array :
|
Convert a geometry_msgs/Vector3 ROS message into a numpy array.
Parameters: | msg: geometry_msgs/Vector3 :
|
---|---|
Returns: | array: np.array :
|
Convert a geometry_msgs/Wrench ROS message into a numpy array.
Parameters: | msg: geometry_msgs/Wrench :
|
---|---|
Returns: | array: np.array :
|
Convert a numpy array XYZ into a geometry_msgs/Point ROS message.
Parameters: | array: np.array :
|
---|---|
Returns: | msg: geometry_msgs/Point :
|
Convert a homogeneous transformation (4x4) into a geometry_msgs/Pose ROS message.
Parameters: | T: np.array :
|
---|---|
Returns: | msg: geometry_msgs/Pose :
|
Convert a numpy array WXYZ into a geometry_msgs/Quaternion ROS message.
Parameters: | array: np.array :
|
---|---|
Returns: | msg: geometry_msgs/Quaternion :
|
Generate a sensor_msgs/RegionOfInterest ROS message using the two given corners
Parameters: | top_left: array_like :
bottom_right: array_like :
|
---|---|
Returns: | msg: sensor_msgs/RegionOfInterest :
|
Convert a homogeneous transformation (4x4) into a geometry_msgs/Transform ROS message.
Parameters: | T: np.array :
|
---|---|
Returns: | msg: geometry_msgs/Transform :
|
Bases: logging.Formatter
A formatter that allows colors to be placed in the format string.
Intended to help in creating more readable logging output.
Initialize and configure loggers to disable spammy and ROS loggers
Parameters: | spammy_level: int :
format_level: int :
|
---|---|
Returns: | base_logger: logging.RootLogger :
|
Get a parameter from the ROS parameter server. If it’s not found, a warning is printed.
Parameters: | name: string :
default: Object :
|
---|---|
Returns: | value: Object :
|
Create a 6-DoF interactive marker
Parameters: | name: string :
color: array_like :
frame_id: str :
transform: array_like :
scale: float :
|
---|---|
Returns: | int_marker: visualization_msgs.InteractiveMarker :
|
Create an interactive marker which includes a mesh
Parameters: | name: string :
resource: string :
color: array_like :
frame_id: str :
transform: array_like :
scale: float :
|
---|---|
Returns: | int_marker: visualization_msgs.InteractiveMarker :
|
Create a mesh marker
Parameters: | mrkid: int :
name: string :
resource: string :
color: array_like :
ns: str :
frame_id: str :
transform: array_like :
scale: float :
|
---|---|
Returns: | marker: visualization_msgs.Marker :
|
Create a marker of points
Parameters: | mrkid: int :
points: list :
size: float :
color: array_like :
ns: str :
frame_id: str :
transform: array_like :
|
---|---|
Returns: | marker: visualization_msgs.Marker :
|
Create a text marker. The text always appears oriented correctly to the view.
Parameters: | mrkid: int :
text: string :
size: float :
color: array_like :
ns: str :
frame_id: str :
position: array_like :
|
---|---|
Returns: | marker: visualization_msgs.Marker :
|