-
Notifications
You must be signed in to change notification settings - Fork 10
Emulate competition switch using CLI #31
Comments
As discussed internally, this suggestion is different from the ability to flash to the cortex while it is connected to a physical competition switch. Rather, this suggestion seems to seek the ability to emulate the competition switch using CLI commands. |
I would love to see support for this! Is this a currently developing feature? |
I suggest implementing a general command system using a special character for the PROS kernel and CLI to communicate This would allow automatic fault reporting https://github.com/purduesigbots/pros/issues/2 But RN you can easily just have a background task fread stdin, I prefer testing auton using an LCD though. |
we should look into this again following purduesigbots/pros#17 |
Thoughts: what if we add a task that runs only if field control isn't connected - i.e.: https://github.com/purduesigbots/pros/blob/master/src/invoke.c#L68 So opcontrol and this other user-registered task would start up. You'd register it in initIO as something to the effect of |
Expected Behavior: Competition Switch through Command Line Interface.
Actual Behavior: Non.
Steps to reproduce:
System information:
Operating System: (Windows, OS X, Ubuntu)
PROS Version: (run
pros --version
)Additional Information
I am not sure if this is already a feature, if it is in development, or whatever the case is, I just thought that Pros should be able to start and stop autonomous programs to the robot from the CLI. One example program with this capability is seen in EasyC.
Screenshots/Output Dumps/Stack Traces
The text was updated successfully, but these errors were encountered: