duckietown / dt-core

This is the code that runs the core stack on the Duckiebot in ROS
Other
1 stars 14 forks source link

Update LED_protocol.yaml #106

Closed Janst1000 closed 1 year ago

Janst1000 commented 1 year ago

Adding yellow to the predefined LED patters since yellow LEDs were helpful to increase the recognition of the yellow lines

Description

I had problems to detect the yellow lines in the middle of the road as they were recognized as white lines. Switching the leds to yellow seemed to increase the recognition rate while still detecting the white lines as white. However to do that I had to add yellow as a custom pattern so including it in the default ones might be helpful so that it can be changed easily with a single rosservice call.

This shouldn't break anything as the color is already defined in the same file above and the pattern is defined similar to the other single color patterns. This also already works on my local duckiebot without any problem.

Type of change

Please mark the relevant options with X:

Tests

Please describe all tests ran and their outcome. It is highly recommended that you at least do the tests listed by default, even if you only changed the documentation.

Style compliance

Please make sure that all your changes conform to the Duckietown (code style)[link] and code (documentation style)[link] guidelines:

Next steps

Please describe if you have any questions, comments, or doubts towards the Duckietown software guardians regarding implementation, code style, running tests, documentation, etc.

Maybe the other predefined colors should also be provided as patterns so that they can easily be changed for debug purposes.

FOR THE REVIEWERS

IMPORTANT: DO NOT CHANGE THIS SECTION!

To the reviewers: If you deem necessary, request code edits, more tests, documentation update, or additional reviewing. Do not review your own code!

PR Template, last edit 23 Aug 2019

afdaniele commented 1 year ago

Thanks for contributing!