Changes between Version 1 and Version 2 of Command Based Robot Notes
- Timestamp:
- Jan 15, 2015, 7:46:54 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Command Based Robot Notes
v1 v2 5 5 6 6 Subsystem 7 +Default Commands8 -Continuously executing until Interrupt9 +Relation To Robot10 -Subsystems can be compared to mechanisms that use the same overall resources11 - realize that two actions cannot occur at the same time, that require the same subsystem12 +Dependencies13 -Dependencies are created by the requires(Subsystem subsystem)14 -These prevent two different commands from utilizing the same resources on the robot7 - Default Commands 8 * Continuously executing until Interrupt 9 - Relation To Robot 10 * Subsystems can be compared to mechanisms that use the same overall resources 11 * Realize that two actions cannot occur at the same time, that require the same subsystem 12 - Dependencies 13 * Dependencies are created by the requires(Subsystem subsystem) 14 * These prevent two different commands from utilizing the same resources on the robot 15 15 16 16 Commands 17 +Interrupts18 -Called to stop a command from running19 -Specifically when robot is disabled or a dependency overlaps20 +Connection With Buttons21 -Commands can be easily mapped to buttons through the OI class17 - Interrupts 18 * Called to stop a command from running 19 * Specifically when robot is disabled or a dependency overlaps 20 - Connection With Buttons 21 * Commands can be easily mapped to buttons through the OI class 22 22 23 23 Input Class 24 +Input Devices25 -Input devices are mapped through joystick and button objects26 +Button Actions27 -Commands can be mapped to buttons or triggers in the OI class24 - Input Devices 25 * Input devices are mapped through joystick and button objects 26 - Button Actions 27 * Commands can be mapped to buttons or triggers in the OI class 28 28 29 29 Robot Map 30 +Ports31 -This class centralizes port numbers and connection numbers for robot-wide use30 - Ports 31 * This class centralizes port numbers and connection numbers for robot-wide use 32 32 33 33 Command Groups 34 +About35 -Command Groups are used for command sequencing and parallelizazation36 -Basically running things in a specific order or at the same time37 -think about automated actions38 +Sequential39 -TODO(testing)40 +Parallel41 -TODO(testing)34 - About 35 * Command Groups are used for command sequencing and parallelizazation 36 * Basically running things in a specific order or at the same time 37 * think about automated actions 38 - Sequential 39 * TODO(testing) 40 - Parallel 41 * TODO(testing)