|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Does any code run while the laptop is connected to the field,but the bot is disab
To the best of my knowledge, anything that could run an actuator (so all PWM, digital output, etc) cannot be used when the robot is disabled, but your code still runs. I know because our (C++) program prints to the smart dashboard in DisabledPeriodic().
|
|
#2
|
|||
|
|||
|
Re: Does any code run while the laptop is connected to the field,but the bot is disab
Yes, all output controls are disabled when the robot is disabled (safety feature), however, you can still initialize sensors (calibrate gyros, etc), load values from preferences, etc.
|
|
#3
|
||||
|
||||
|
Re: Does any code run while the laptop is connected to the field,but the bot is disab
Our gyro is a digital gyro that plugs into the SPI port. Will code be able to access that? We initialize it at SPI.Port.kOnboardCS1 ... Yes, we had to write our own driver in Java... it sucked, but it works (kinda).
|
|
#4
|
|||
|
|||
|
Re: Does any code run while the laptop is connected to the field,but the bot is disab
Quote:
|
|
#5
|
||||
|
||||
|
Re: Does any code run while the laptop is connected to the field,but the bot is disab
Quote:
|
|
#6
|
|||
|
|||
|
Re: Does any code run while the laptop is connected to the field,but the bot is disab
It should, yes.
|
|
#7
|
||||
|
||||
|
Re: Does any code run while the laptop is connected to the field,but the bot is disab
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|