simulation.src.simulation_groundtruth.src.groundtruth.visualization module¶
Node that publishes groundtruth information for rviz.
Reference¶
-
class
GroundtruthVisualizationNode[source]¶ Bases:
simulation.utils.ros_base.node_base.NodeBaseROS node to visualize groundtruth objects in RVIZ.
-
publishers¶ Automatically generated dictionary containing all publishers. A publisher is created for every visualization topic listed in the parameter file.
- Type
Dict[rospy.Publisher]
-
get_sections, get_lane, get_parking, get_obstacles, get_intersection Can be called for groundtruth information.
- Type
rospy.ServiceProxy
-
_publish_point_marker(points: List[geometry_msgs.msg._Point32.Point32], publisher_name: str, id: int, rgba: List[float], ns='simulation/groundtruth')[source]¶ Publish an RVIZ marker on the publisher’s topic.
- Parameters
points – Points to be published.
publisher_name – Key of the publisher in the publisher dictionary.
id – RVIZ marker id.
rgba – List of the marker color.
ns – RVIZ namespace of the marker.
-