Reorganized build system for bot3 code.
- Put all the robot-specific code for bot3 in a directory called bot3.
- Remove unecessary executables from start_list.txt and atom_code.gyp
for the third robot.
- Get rid of Vision2009 from WPILib. (Nothing seems to be using it,
and gyp was throwing a hissy fit about duplicate names between that and
Vision.)
- Update .gitignore for third robot code.
- Modify build.sh files to allow us to build the third robot code.
diff --git a/bot3/atom_code/atom_code.gyp b/bot3/atom_code/atom_code.gyp
new file mode 100644
index 0000000..471c2ba
--- /dev/null
+++ b/bot3/atom_code/atom_code.gyp
@@ -0,0 +1,34 @@
+{
+ 'targets': [
+ {
+ 'target_name': 'All',
+ 'type': 'none',
+ 'dependencies': [
+ '<(AOS)/build/aos_all.gyp:Atom',
+ '<(DEPTH)/frc971/control_loops/drivetrain/drivetrain.gyp:drivetrain',
+ '<(DEPTH)/frc971/control_loops/drivetrain/drivetrain.gyp:drivetrain_lib_test',
+ '<(DEPTH)/frc971/control_loops/shooter/shooter.gyp:shooter_lib_test',
+ '<(DEPTH)/frc971/control_loops/shooter/shooter.gyp:shooter',
+ '<(DEPTH)/frc971/autonomous/autonomous.gyp:auto',
+ '<(DEPTH)/frc971/input/input.gyp:JoystickReader',
+ '<(DEPTH)/frc971/input/input.gyp:GyroReader',
+ #'../input/input.gyp:AutoMode',
+ '<(DEPTH)/frc971/output/output.gyp:MotorWriter',
+ '<(DEPTH)/frc971/output/output.gyp:CameraServer',
+ #'camera/camera.gyp:frc971',
+ '<(DEPTH)/frc971/../gyro_board/src/libusb-driver/libusb-driver.gyp:get',
+ '<(DEPTH)/frc971/input/input.gyp:gyro_board_reader',
+ '<(DEPTH)/frc971/input/input.gyp:gyro_sensor_receiver',
+ ],
+ 'copies': [
+ {
+ 'destination': '<(rsync_dir)',
+ 'files': [
+ 'scripts/aos_module.ko',
+ 'scripts/start_list.txt',
+ ],
+ },
+ ],
+ },
+ ],
+}
diff --git a/bot3/atom_code/build.sh b/bot3/atom_code/build.sh
new file mode 100755
index 0000000..7bdbbc8
--- /dev/null
+++ b/bot3/atom_code/build.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+../../aos/build/build.sh atom atom_code.gyp no All bot3_atom
diff --git a/bot3/atom_code/scripts/aos_module.ko b/bot3/atom_code/scripts/aos_module.ko
new file mode 100644
index 0000000..cdaddb7
--- /dev/null
+++ b/bot3/atom_code/scripts/aos_module.ko
Binary files differ
diff --git a/bot3/atom_code/scripts/start_list.txt b/bot3/atom_code/scripts/start_list.txt
new file mode 100644
index 0000000..968bf38
--- /dev/null
+++ b/bot3/atom_code/scripts/start_list.txt
@@ -0,0 +1,8 @@
+BinaryLogReader
+MotorWriter
+JoystickReader
+drivetrain
+CRIOLogReader
+shooter
+auto
+gyro_board_reader