|
Re: Team 302's Off-Season Robotics Programming Competition
Joe,
The Autonomous / Tele-op / disable, etc. mode switch is located on the surrogate Driver Station VI (DSInterface?... sorry I wanted to reply, but I don't have it open). It is a pulldown menu above the arm controls dials and switch. Ideally the robot code determines what to do based on that signal and all of the high level stuff happens in the Robot Control VI.
You are correct and do need to add your own stuff to the HW interface. Ideally that is just PID, etc. controllers and doesn't look at the Auton / tele-op state at all. However, if you have different low level controls (tele-op vs. auton) then you would need to. Alternatively, if you were to have scripted maneuvers within teleop, then the signal would be something set by both auton and teleop independently. So you can argue that you never need to look at that mode signal in there.
It's been a few weeks now... I'm curious to know how many students are out there working on this.
Keep the questions coming!
|