FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Need help with first time use of FRC simulator.

Solved!
Go to solution

First time running labview for FRC and the simulator.  I got the simulator project running and can control the robot in remote mode form FRC driver station with joystick.  However switching to autonomous does nothing and I can't figure out how to get any of the sample code to execute.  Any help?

Also, I often get an error about starving processes when I try.

0 Kudos
Message 1 of 3
(4,461 Views)
Solution
Accepted by topic author jd.schmidt

The pre created autonomous modes can be selected from the Dashboard's Auto Selector (NOT) labeled drop down menu below the Gryo indicator. because you did not have anything selected no autonomous code was called.

dashboard.png

The list of the possible item in this list is created in the Robot Main Begin vi

begin.png

You can add more items to the list and use them in autonomous.

  • Add the text "Your Turn" item to the Auto List in the Begin.vi as shown above
  • This will add a third item to the dashboard drop down list
  • Open the Driver Station
  • Run the Robot Main.vi
  • Select the "Your Turn" item from the dashboards dropdown list
  • Select Autonomous in the Driver Station
  • Enable the simulated robot
  • In the Autonomous Independent.vi the Your Turn case will be selected and all code inside that case will run

auto.png

Hope this helps

Mark

0 Kudos
Message 2 of 3
(4,046 Views)

Doh, it would have bit me.  Thanks a bunch.

0 Kudos
Message 3 of 3
(4,046 Views)