-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
For this item to be accepted as complete:
- A new package must be created under
/killswitchdirectory ; - A node must be created in the new package ;
- The node must contain a subscriber to a topic called
/killswitch_state; - The node must have a parameter called
killswitch_pin; - The node must have a parameter called
killswitch_pin_default_value; - The subscriber must expect messages of type std_msgs/Bool ;
- When a message is received, the value of the GPIO pin with id
killswitch_pinmust be set to the value contained inkillswitch_pin_defaultif the value of the message is false.
For example, if killswitch_pin is 8 and killswitch_pin_default_value is false, then:
- If a message with value
trueis received, GPIO pin 8 must be set to VCC ; - If a message with value
falseis received, GPIO pin 8 must be set to GND.
And, if killswitch_pin is 8 and killswitch_pin_default_value is true, then:
- If a message with value
trueis received, GPIO pin 8 must be set to GND; - If a message with value
falseis received, GPIO pin 8 must be set to VCC.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers