commit | 2d8fa2a3766d8ba6480a90ba15463347bd6c626c | [log] [tgz] |
---|---|---|
author | James Kuszmaul <jabukuszmaul@gmail.com> | Sun Mar 01 13:51:50 2020 -0800 |
committer | James Kuszmaul <jabukuszmaul@gmail.com> | Sun Mar 01 14:42:25 2020 -0800 |
tree | 23b8fafdb22fe72f0871ed53415c6117f3225471 | |
parent | dbcacc76a6214297184c69e2c87f345c3e341338 [diff] [blame] |
Enable deploying code for the raspberry pis Also, sets up a systemd service to start all the code. Change-Id: If993426b36d0910497579ad86e330699f8a7d2e7
diff --git a/y2020/control_loops/drivetrain/drivetrain_main.cc b/y2020/control_loops/drivetrain/drivetrain_main.cc index 7159118..7804814 100644 --- a/y2020/control_loops/drivetrain/drivetrain_main.cc +++ b/y2020/control_loops/drivetrain/drivetrain_main.cc
@@ -6,7 +6,8 @@ using ::frc971::control_loops::drivetrain::DrivetrainLoop; -int main() { +int main(int argc, char *argv[]) { + ::aos::InitGoogle(&argc, &argv); ::aos::InitNRT(); aos::FlatbufferDetachedBuffer<aos::Configuration> config =