simulation.src.gazebo_simulation.src.car_state package¶
The CarStateNode publishes up to date information about the simulated vehicle.
Thereby allowing easy access to the vehicle’s position and speed, but also the vehicle’s frame and view cone.
The CarStateVisualizationNode then processes this information and publishes messages which can be displayed in RVIZ.
Submodules:
Summary¶
__all__ Classes:
ROS node which publishes information about the model in a CarState. |
|
ROS node which allows to visualize the car state in rviz. |
-
class
CarStateNode[source]¶ ROS node which publishes information about the model in a CarState.
-
car_frame¶ Frame of car in vehicle coordinate system
- Type
shapely.geom.Polygon
-
model_pose_subscriber¶ Receive the cars pose
- Type
rospy.Subscriber
-
model_twist_subscriber¶ Receive the cars twist
- Type
rospy.Subscriber
-
get_vehicle_twist (Callable[[],None] Returns current vehicle twist by calling the service proxy
-
publisher¶ CarStateMsg) publishes real time information about the car
- Type
rospy.publisher
-
-
class
CarStateVisualizationNode[source]¶ ROS node which allows to visualize the car state in rviz.
-
frame_publisher¶ Publishes the cars frame as a rviz marker.
- Type
rospy.publisher
-
view_cone_publisher¶ Publishes the cars view cone as rviz marker.
- Type
rospy.publisher
-
state_subscriber¶ Subscribes to car_state
- Type
rospy.subscriber
-