Advertisement
Trainlover08

VEX_AI_SIM/score_checker/include/devices.h

Oct 29th, 2024
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. // (VEX_AI_SIM/score_checker/include/devices.h)
  2.  
  3. // library for devices
  4. #include "include/libraries.h"
  5.  
  6. // MAIN BOT
  7. Robot *score_checker = new Robot();
  8.  
  9. // EMITTER AND RECEIVER
  10. Emitter *emit1 = score_checker->getEmitter("emit1");
  11. Receiver *receiv1 = score_checker->getReceiver("receiv1");
  12.  
  13. // CAMERAS
  14. // cameras for moveable goals
  15. Camera *moveGoal1 = score_checker->getCamera("moveGoal1");
  16. Camera *moveGoal2 = score_checker->getCamera("moveGoal2");
  17. Camera *moveGoal3 = score_checker->getCamera("moveGoal3");
  18. Camera *moveGoal4 = score_checker->getCamera("moveGoal4");
  19. Camera *moveGoal5 = score_checker->getCamera("moveGoal5");
  20.  
  21. // CONNECTORS
  22. // connectors for cameras
  23. Connector *connect1 = score_checker->getConnector("connect1");
  24. Connector *connect2 = score_checker->getConnector("connect2");
  25. Connector *connect3 = score_checker->getConnector("connect3");
  26. Connector *connect4 = score_checker->getConnector("connect4");
  27. Connector *connect5 = score_checker->getConnector("connect5");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement