Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/v1.0.0 #60

Merged
merged 257 commits into from
Mar 13, 2019
Merged

Release/v1.0.0 #60

merged 257 commits into from
Mar 13, 2019

Conversation

PhyXTGears-1720
Copy link
Member

No description provided.

PhyXTGears-1720 and others added 30 commits January 31, 2019 19:42
* Add comment for wheel encoder pin clarification.
* Add PDP variable (for Shuffleboard use).
* Change CAN Bus IDs to ones that the TalonSRX's are set up with.
* Change team number to use PhyxtGear's real team number rather than the testing number.
* Disable gyro.
** It's unused and is causing error messages on the Compbot (Competition Robot) because it has no ADXRS450 gyro.

STATUS: Compiles and deploys on both Protobot and Compbot.

NOTES: Make sure that any RoboRIO this code is deployed to has the CTR-E Phoenix Library/Diagnostic tools installed, and that VS Code has the CTR-E Phoenix vendor library installed.

- Logan H-D
* Reverse each side's TalonSRX's.
* Switch to Arcade Drive.
* Switch back to Protobot to continue testing later.

STATUS: Compiles, deploys, and runs on both Protobot and Compbot.

- Logan H-D
* The PDP on Protobot doesn't have a CAN Bus to communicate with, which causes timeout errors during runtime.

STATUS: Compiles, deploys, and runs on Protobot.

- Logan H-D
* Create subsystem and associated functions and members for the Creeper Arm.
* Add associated pin numbers and CAN IDs.
* Edit some grammar.

STATUS: Builds and deploys on Protobot, untested on Compbot

- Logan H-D
STATUS: Builds and deploys to Protobot, untested on Compbot.

- Logan H-D
* Add notice for wiring spreadsheet.
* Change from AnalogInput to Analog Potentiometer
** This will need to be checked later.
* Reformat RobotMap.h

- Logan H-D
STATUS: Builds.  Untested on Probot and Compbot.

- Justin C for Logan H-D
- Use proximity sensor to detect cargo and finish TakeCargo command.
- If cargo already taken, command loop will still activate motors for
  one iteration of Execute() before detecting cargo.  Might add check
  for cargo in Execute().
- Proximity sensor reports false when nearby object is detected.
- Found problem using JoystickButton objects.  Joystick not detected in
  OI::OI().

STATUS: Builds and deploys to Protobot, untested on Compbot.

- Justin C
This name is more informative than GetRotation() and matches name in
header file.  Maybe GetArmRotation()?  I wouldn't mind
GetArmRotationDegrees or GetArmRotationRadians.

- Justin C
For consistency.

- Justin C
STATUS: Builds.  Deployed to protobot.  Untested on Compbot.

- Justin C
Merging branch 'feature/stub-subsystems' into develop

- Robby S for Justin C and Logan H-D
Robot will take cargo from the dispenser or from the floor.  Split
TakeCargo into two commands for each location.

The other choice is to break up the CargoIntake subsystem so rollers are
controlled separately from the CargoIntake rotation.

STATUS: Builds.  Untested on Protobot or Compbot.

- Justin C
TODO: Command starts rollers and detects cargo.  Finish implementing
command.

STATUS: Builds.  Not Tested.

- Justin C
TODO: Command does nothing.  Implement command.

STATUS: Builds.  Not tested.

- Justin C
TODO: Command does nothing.  Implement command.

STATUS: Builds.  Not tested.

- Justin C
TODO: Command does nothing.  Implement command.

STATUS: Builds.  Not tested.

- Justin C
TODO:  Command does nothing.  Implement command.

STATUS: Builds.  Not tested.

- Justin C
TODO:  Command does nothing.  Implement command.

STATUS:  Builds.  Not tested.

- Justin C
TODO:  Command does nothing.  Implement command.

STATUS:  Builds.  Not tested.

- Justin C
The text for the example of spacing in function definitions,
declarations, and calls, still showed the previous style even though the
example was updated. The description now matches the example.
Only affects files that don't have a copyright preamble.
First uses BSD license, so let's do the same.

STATUS: Builds.

- Justin C

Signed-off-by: PhyXTGears <phyxtgearspro@gmail.com>
STATUS: Builds

- Justin C

Signed-off-by: PhyXTGears <phyxtgearspro@gmail.com>
…erage

Add class to compute running average
Add BSD license and PhyXTGears copyright
STATUS: Just comments and indentation changed.

- Logan H-D
* Add GrabHatchFromDispenser.
* Add ReleaseHatch.
* Add appropriate constants for cargo-intake.
* Add test code in TeleOp mode.
** Press A to grab, press B to release.
* Stub RotateHatchForDispenser and RotateHatchForFloor.
* Change indentation in some header files.
* Disable Creeper Arm stuff temporarily (solenoids causing issues).

STATUS: Builds and deploys, works as intended on CompBot.

- Logan H-D
boxofrox added 18 commits March 4, 2019 17:16
Commented code is no longer necessary now that the boolean flag only
permits one run.

STATUS: Builds.

- Justin C
Intake as recalibrated from scratch during 2019-03-02 testing, which
includes resetting the zero-point to zero.

STATUS: Builds.  Tested on testbot.

- Robby S, Logan H-D, Justin C
STATUS: Builds.  Tested on testbot.

- Justin C
STATUS: Builds.  Tested on testbot.

- Justin C
Attempts to lock the piston between extents consistently fails.
Instead, increase creeper arm climb position to keep robot level during
climb.

STATUS: Builds.  Tested on testbot.

- Justin C
Rename SandstormPlatformDrive to DriveSandstormStepWithHatch.

During testing we couldn't stop from dropping the hatch, so we're
replacing the hatch with cargo.  Keeping this command around in case we
figure out how to hold onto the hatch during landing.

STATUS: Builds.

- Justin C
Since we can't drive sandstorm with dropping the hatch, let's drive with
cargo.

STATUS: Builds.  Tested on testbot 2019-03-04.

- Justin C
Use makefile to deploy with a version file, so the software announces
to the drive tream which release we're running with.

TODO: Print version.txt during RobotInit, maybe even DisableInit.

STATUS: Builds.

- Justin C
STATUS: Builds.  Tested on testbot 2019-03-05.

- Justin C
Tried to clear existing commands out of the scheduler when robot is
disabled, so commands don't resume when entering teleop or autonomous.

Unfortunately, the default command for the DriveTrain subsystem died,
and our robot was bereft.

Return to running scheduler in DisablePeriodic to at least clear out
cancelled commands.

STATUS: Builds.  Tested on testbot 2019-03-05.

- Justin C
Driver can use right bumper to toggle cameras.

Operator can use button 11 (whatever that is) on the flightstick to
toggle cameras.

STATUS: Builds.  Tested on testbot 2019-03-05.

- Justin C
@PhyXTGears-1720 PhyXTGears-1720 dismissed rsammelson’s stale review March 8, 2019 04:17

Wait until after Mishiwaka competition to fix.

boxofrox
boxofrox previously approved these changes Mar 8, 2019
Tuning for St. Joeseph event

Tested
- Robby S
Add IsRollerRunning so the rollers can be stopped manually after ground pickup
Enable drive during climb
Slow down creeper arm from 0.65 to 0.6 (untested)

Tested (mostly)
- Robby S
@@ -23,7 +25,6 @@ RotateHatchForDispenser* Robot::m_RotateHatchForDispenser;

ShootCargoForCargoShip* Robot::m_ShootCargoForCargoShip;
ShootCargoForLevelOneRocket* Robot::m_ShootCargoForLevelOneRocket;
ShootCargoForLevelTwoRocket* Robot::m_ShootCargoForLevelTwoRocket;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ShootCargoForLevelTwoRocket should not be removed. A later commit will add this back in from competition/adjustments, so review is approved anyways.

@boxofrox boxofrox merged commit e836439 into master Mar 13, 2019
@rsammelson rsammelson deleted the release/v1.0.0 branch March 13, 2019 00:17
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.

4 participants