clockworkbits / CarND-Capstone

Capstone project - Hupla Hupla team
MIT License
1 stars 0 forks source link

Update the constants to meet Carla's requirements. #11

Closed clockworkbits closed 6 years ago

clockworkbits commented 6 years ago

The self-driving car (Carla) requires some specific rate of updates like in DBW:

The DBW system on Carla expects messages at this frequency, and will disengage (reverting control back to the driver) if control messages are published at less than 10hz. This is a safety feature on the car intended to return control to the driver if the software system crashes. You are welcome to modify how the dbw_node.py code is structured, but please ensure that control commands are published at 50hz.

Make sure that the project before submission meets the requirements.

Debug constants in waypoint_updater.py:

Debug constants in tl_detector.py:

Debug constants in tl_classifier.py:

Debug constants in twist_controller.py :

jodiealaine commented 6 years ago

There is just one discrepancy between the specified constants here and what we have in the #35 (Remove the debug settings for the submission) PR:

Debug constants in waypoint_updater.py:

I believe that the constant value set in the PR is actually the correct value, so we just need to reflect this in this issue. Thus, all is good with the settings for submission πŸ‘

Final constants for submission:

waypoint_updater.py: LOOKAHEAD_WPS = 200
CIRCULAR_WPS = False REFRESH_RATE_HZ = 50 DEBUG_MODE = False TL_DETECTOR_ON = True DECELLERATION = 3

tl_detector.py: DETECTOR_ENABLED = True DEBUG_MODE = False PARKING_LOT_TEST = False

tl_classifier.py: SIMULATOR_TRACK = False IMAGE_CAPTURE = False DEBUG_MODE = False

twist_controller.py: GAS_DENSITY = 2.858 ONE_MPH = 0.44704 USE_YAW_CONTOLLER = False