Release/v1.0.0#2
Open
LiorBitton wants to merge 156 commits into
Open
Conversation
-Added ports for the joystick and the motor for the collector -Added "speed" constant to the dashboard -Added MotorController to the CollecterComponents -Added MotorSubsystem named "collector" to the Robot class -Added button bind on the GamePad to move the motor -Added MoveMotorSystem command named "collect"
- Created the basic climbing mechanism for the robot. - Created the climb Subsystem components, constants and commands. - Added ports for the motors, JS. - Binded between the button joystick and the climbing commands. - Created object for button JS. By @BastardHarbourMastah
see 6511c3
-Added the ShooterComponents in SubsystemCompoments, the ShooterCompomenents containדtwo interfaces - the Thrower and the Aimer. -Added aimPostion property in Utilites. -Added ShooterConstants in SubsytemConstants an fill it. -Added aimer and thrower MotorSubsystem to Robot. -Added all shooter ports to Robotmap. -Created ShooterAimer command and add it to CommandList inside ShooterCommands.
see 6511c3 - Taking this opportunity, deleted unused imports from Robot to stop the warning clatter (this will cause errors when uncommenting examples, so re-importing the classes will be required).
- Removed the local everlib files, and added it as a dependency in build.gradle (taken from a new maven repository). - Accordingly, removed the lib cope, making the robot scope into the complete project (now indicated with empty parenthesis).
See f55af6
-Addded this comment: every time when you are change port in RobotMap change it in Robot Characterization python file!!!!!!!
- Removed the local everlib files, and added it as a dependency in build.gradle (taken from a new maven repository). - Accordingly, removed the lib cope, making the robot scope into the complete project (now indicated with empty parenthesis).
- created new wpilib project and seperated it and the everli b code into two new packages, named after their respective libraries.
deleted the wpilib robot map and moved the everlib robot map to the general robot folder.
created the basic climbing subsystem.
- bound the climbing methods to the buttons - added a button ports interface to robot map
- added the mechanisms as subsystems - uploaded constants to shuffleboard - need to finish the pass by sensor command and method
- changed the constant suppliers to methods. - added an elevator descending method to bring it back down to the robot - changed the speed controller types to victors - added javadocs
- added the pass by the ultrasonic sensor command - organized code (javadocs etc.)
- started building this subsystem. - need to finish practically everything.
added the chassis on the wpilib version
BUG: When passing powercells for shooting, sometime the next powercell will also pass after shooting the original, but at lower speed CAUSE: Setting 0 takes a bit too long to completley stop the motor, and so the next powercell is passed while the storaege system is slowing down. FIX: Setting the netral mode of the storage controller to break should try to slow it down more actively with a counter acceleration, and thus decrease the stopping time. NOTES: This is currently untested.
added stopMotor
…initeRecharge into release/v1.0.0
- Changed SPEED_MODIFIER to m_speedModifier, as it is no longer a constant. - Changed its documentation accordingly - Moved it around so it's in the right block - Changed defaultDriveCMD name to simpleDriveCMD, since its no longer just the default, and includes "turbo" and "slow" mode based on the speed modifier - Reformatted the chassis code, which is the majority of the changes, oops. footer
- "isWork" methods and odometry backups removed - Vision code moved from Utilities to a new class Vision, which also includes the limelight's position - Clean up utility and vision methods in general - Use limelight table and values instead of the old jetson's, and calculate distance with angles as described in the docs - Calculate shooting speed from each PowerPort to reach the target according to the position of the target, the robot and the shooter, as described in https://docs.google.com/document/d/18_qd7vEI5EPGR04VEot7tBq4J-m5XwG0VZgkyyLkNAw/edit?usp=sharing
changed the limelight constants in vision and changed getPitchAngle() to public in shooter changing the throwing speed so it will be constant instead of number in pistachio adding values to shuffleboard
changed unit calculation to radians soit will be more accurate
…initeRecharge into release/v1.0.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.