systemetric / shepherd-2

A rewrite of shepherd
Apache License 2.0
4 stars 0 forks source link

Start button #13

Open shardros opened 2 years ago

shardros commented 2 years ago

When robot.Robot() is caleld the user code waits for the start signal to be sent. We need to send the start signal in the transition to running state function.

DONE IS:

  1. An interupt based method allows for the start button to move the robot into a RUNNING state
  2. Shepherd-2 still runs on x86 just without this functionality enabled
  3. When moving into RUNNING state the block at robot.Robot is unblocked.

Notes: Shepherd-1 implementation: https://github.com/systemetric/shepherd/blob/28473503130cddd2c40702240f3deaad3a21e52b/shepherd/__init__.py#L101

Remember to add pull ups