- subscribed topics:
/base_waypoints
: repeated list of all waypoints/camera/image_raw
: updated images/current_pose
: current position of vehicle
- published topics:
/traffic_waypoint
:
- helper topics:
/vehicle/traffic_lights
: simulator publishes the location and current color state of all traffic lights in the simulator. It can be used for training data collection or as a stub for testing of other components.
- node files:
tl_detector/tl_detector.py
: node filetl_detector/light_classification_model/tl_classifier.py
: classifier modeltl_detector/traffic_light_config
: This config file contains information about the camera (such as focal length) and the 3D position of the trafic lights in world coodinates
The purpose of the node is to publish a fixed number of waypoints ahead of the vehicle with the correct target velocities, depending on traffic lights and obstacles.
- subscribed topics:
/base_waypoints
: repeated list of all points/obstacle_waypoints
: NOT THERE!/traffic_waypoint
/current_pose
- published topics:
/final_waypoints
: only waypoints ahead up toLOOKAHEAD_WPS
.
- node files:
waypoint_updater/waypoint_updater.py
- subscribed topics:
/current_velocity
/twist_cmd
/vehicle/dbw_enabled
- published topics:
/vehicle/throttle_cmd
/vehicle/steering_cmd
/vehicle/brake_cmd
- node files:
twist_controller/dbw_node.py
Intuition behind sevearl types
- a
lane
is a collection of waypoints with header - a
waypoint
consists ofpose
andtwist
pose
has a xyzposition
and xyzworientation
twist
has alinear
(xyz) speed andangular
(xyz) speed
In details
/base_waypoints
: styx_msgs/Lane/camera/image_raw
: sensor_msgs/Image/current_pose
: geometry_msgs/PoseStamped/final_waypoints
: styx_msgs/Lane/traffic_waypoint
: std_msgs/Int32 (indx of all /base_waypoints)/current_velocity
: geometry_msgs/TwistStamped/twist_cmd
: geometry_msgs/TwistStamped/vehicle/dbw_enabled
: std_msgs/Bool/vehicle/throttle_cmd
: dbw_mkz_msgs/ThrottleCmd/vehicle/steering_cmd
: dbw_mkz_msgs/SteeringCmd/vehicle/brake_cmd
: dbw_mkz_msgs/BrakeCmd
Github repos for team