|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Joystick in Autonomous
So it behaves differently than the Kinect, which is not ignored during Auto. Ok.
|
|
#2
|
|||||
|
|||||
|
Re: Joystick in Autonomous
Yes, the Kinect gets through because it was originally setup to be used to direct the robot during Autonomous.
|
|
#3
|
|||
|
|||
|
Re: Joystick in Autonomous
But we have the code for the communications task, right? So if you wanted to, you could let the joystick value through.
|
|
#4
|
|||
|
|||
|
Re: Joystick in Autonomous
Would modifying that code in that way be permitted? (even if touching the joystick is still illegal during Auto) I don't know if that is part of the code you are not supposed to touch.
|
|
#5
|
||||||
|
||||||
|
Re: Joystick in Autonomous
You don't have the driver station code. I don't know enough about Windows DirectX programming to know whether you could read a joystick that is also being read by the drivers station and then send the data through an alternate communications method.
|
|
#6
|
||||
|
||||
|
Re: Joystick in Autonomous
If joystick commands aren't sent during auto, is there a reason that the drivers have to stand back from the controls?
|
|
#7
|
|||||
|
|||||
|
Re: Joystick in Autonomous
During Autonomous commands from the Driver Station can be sent other ways than the joysticks.
So keep back ![]() Then there's that Kinect thingy... Last edited by Mark McLeod : 21-02-2014 at 10:16. |
|
#8
|
|||
|
|||
|
Re: Joystick in Autonomous
@Mark, or anyone
If you set one of the axes before the match (say the "throttle" which doesn't have a centering spring), would autonomous be able to read that value? |
|
#9
|
||||
|
||||
|
Re: Joystick in Autonomous
Yes....I believe the defaults LabVIEW Auto Code already has the code needed to read it. But honestly, it's just easier to create a custom dashboard for setting certain boolean tasks for auto mode.
|
|
#10
|
|||
|
|||
|
Re: Joystick in Autonomous
I don't know, but I suspect there isn't code to prevent the joystick from being read. SmartDashBoard definitely is read and it seems unlikely they would introduce code to prevent other devices from being read.
You could try it as an experiment. There is a "practice" mode on the driver station that simulates a match of autonomous followed by regular. You could touch the joystick during the first 10 seconds of "practice" mode and see what happens. If you do try it, post back here so we all know! |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|