Main Page
Namespaces
Classes
Files
File List
File Members
src
ros_lib
auto.cpp
Go to the documentation of this file.
1
13
#include "main.h"
14
15
/*
16
*
17
*
18
* NO GLOBAL OBJECT DEFINITIONS!
19
*
20
* DO NOT globally define either structs or objects.
21
* See issue: https://github.com/purduesigbots/pros/issues/48
22
*
23
* Instead, put all objects/structs inside functions.
24
*
25
*
26
*/
27
28
/*
29
* Runs the user autonomous code. This function will be started in its own task with the default
30
* priority and stack size whenever the robot is enabled via the Field Management System or the
31
* VEX Competition Switch in the autonomous mode. If the robot is disabled or communications is
32
* lost, the autonomous task will be stopped by the kernel. Re-enabling the robot will restart
33
* the task, not re-start it from where it left off.
34
*
35
* Code running in the autonomous task cannot access information from the VEX Joystick. However,
36
* the autonomous function can be invoked from another task if a VEX Competition Switch is not
37
* available, and it can access joystick information if called in this way.
38
*
39
* The autonomous task may exit, unlike operatorControl() which should never exit. If it does
40
* so, the robot will await a switch to another mode or disable/enable cycle.
41
*/
42
void
autonomous
() {
43
}
autonomous
void autonomous()
Definition:
auto.cpp:42
rosserial_vex_cortex
Author(s): Cannon
autogenerated on Fri Jun 7 2019 22:03:06