Small feature, probably like five lines of code in net_handler. If Shepherd is connected to the robot, Dawn should not be able to change the run mode of the robot to AUTO or TELEOP (Dawn can enter idle though i.e. the student can E-Stop the robot while Shepherd is connected if they want.)
This is to prevent students from switching the run mode of the robot while Shepherd is connected (when the robot is running a match).
We should write a test case to test this behavior though!
Small feature, probably like five lines of code in
net_handler
. If Shepherd is connected to the robot, Dawn should not be able to change the run mode of the robot toAUTO
orTELEOP
(Dawn can enter idle though i.e. the student can E-Stop the robot while Shepherd is connected if they want.)This is to prevent students from switching the run mode of the robot while Shepherd is connected (when the robot is running a match).
We should write a test case to test this behavior though!