Skip to content

Release/v1.0.0#2

Open
LiorBitton wants to merge 156 commits into
masterfrom
release/v1.0.0
Open

Release/v1.0.0#2
LiorBitton wants to merge 156 commits into
masterfrom
release/v1.0.0

Conversation

@LiorBitton

Copy link
Copy Markdown

No description provided.

TomerMir and others added 30 commits January 16, 2020 20:21
-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
-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).
-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
jan-oko and others added 30 commits March 7, 2020 18:11
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.
- 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants