You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
plugins: TCB adds cycle, next_cycle and reset to msg
- adds to ConveyorBeltCommand proto
- reset: set to true to reset the TCB
- next_cycle: the expected next cycle
- adds to ConveyorBeltStatus proto
- cycle: the current cycle
- in TriggeredConveyorBeltThread::init
- use host_ip_address from config instead of hardcoded "eth0"
- setConveyorBeltRunMode to stop & reset
- in TriggeredConveyorBeltThread::loop
- if send_conveyor_command is set and cycle matches expectation
- send conveyor command
- else if send_reset_command is still set
- send conveyor command ( this is for the case when the one in init was lost )
- in TriggeredConveyorBeltThread::clips start/stop belt
- set requested_run_mode and send_conveyor_command flag
- in TriggeredConveyorBeltThread::receiveAndBufferConveyorStatusMsg
- if cycle in received status matches expecation
- increase cycle
- reset send_conveyor_command_ flag
- reset send_reset_command_ flag
- else if TCB is ahead of expectation
- set sent_reset_command flag
0 commit comments