|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: Why is Mode light RED?
Test mode bypasses your normal code control and turns the mode light on the roboRIO red.
It is for running separate independent tests. Look for the Test.vi under Team Code in the LabVIEW project explorer window. You can add your own specialized tests in there and it has an example to get you started. Your user control code is only going to work while the robot is in Teleop mode (or Practice mode during it's 135 second Teleop -by default). Driver controls also don't work in Autonomous mode. Last edited by Mark McLeod : 02-02-2016 at 23:28. |
|
#2
|
|||
|
|||
|
Re: Why is Mode light RED?
Just to add. Initiatively, test has the motors disabled and lets you hand-manipulate sensors and switches and view their values. The enable button also works, and at that point your periodic tasks code, if you have any, is running, and you can independently set actuator values.
So you can have test VIs that then drive an output and read sensors to verify operation of a mechanism. This can be quite useful after a repair. Greg McKaskle |
|
#3
|
|||
|
|||
|
Re: Why is Mode light RED?
Thanks for the explanation. Test mode was active and now we have a robot that moves
![]() Thanks |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|