tree: 3dd168304a4e6a6798f8a5921a983a00be0bdf8f [path history] [tgz]
  1. big/
  2. big_schematic/
  3. core/
  4. encoder_schematic/
  5. fet12/
  6. hid_schematic/
  7. little_schematic/
  8. packages/
  9. peripheral/
  10. pistol_grip/
  11. print/
  12. python/
  13. receiver_schematic/
  14. seems_reasonable/
  15. symbols/
  16. teensy_loader_cli/
  17. uart_schematic/
  18. usb/
  19. .gitignore
  20. __init__.py
  21. algorithms.cc
  22. algorithms.h
  23. algorithms_test.cc
  24. BUILD
  25. decode_dump.py
  26. deploy_joystick.sh
  27. driver_station.cc
  28. driver_station.h
  29. macros.bzl
  30. math.cc
  31. math.h
  32. math_test.cc
  33. motor.cc
  34. motor.h
  35. NOTES.md
  36. plot.py
  37. README.md
  38. simple_receiver.cc
  39. simpler_receiver.cc
  40. 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.