tree: b039a5e7314b0eb24f95f777ddd8f649321d6d14 [path history] [tgz]
  1. big/
  2. core/
  3. fet12/
  4. packages/
  5. peripheral/
  6. pistol_grip/
  7. print/
  8. python/
  9. seems_reasonable/
  10. symbols/
  11. teensy_loader_cli/
  12. usb/
  13. .gitignore
  14. __init__.py
  15. algorithms.cc
  16. algorithms.h
  17. algorithms_test.cc
  18. BUILD
  19. decode_dump.py
  20. deploy_joystick.sh
  21. driver_station.cc
  22. driver_station.h
  23. macros.bzl
  24. math.cc
  25. math.h
  26. math_test.cc
  27. motor.cc
  28. motor.h
  29. NOTES.md
  30. plot.py
  31. README.md
  32. simple_receiver.cc
  33. simpler_receiver.cc
  34. util.h
motors/README.md

Driver station

Setup

  1. Install Teensy Loader here.

Make changes

  1. Most of the code lives in /motors/driver_station*.

Deploy

  1. Build driver station. This outputs a file bazel-bin/motors/driver_station.hex.

    bazel build -c opt --config=cortex-m4f //motors:driver_station
    
  2. Send the file to your local development machiine.

    scp <user@build.frc971.org>:917-Robot-Code/bazel-bin/motors/driver_station.hex ~/Downloads/driver_station.hex
    
  3. Open hex file in Teensy loader. Press button on Teensy.

References

  • Electrical schematics here.