Giter Site home page Giter Site logo

chargedup's People

Contributors

jasondickert avatar jlbabilino avatar joshuaan avatar nlaverdure avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

aidenm05

chargedup's Issues

Plan for safe start of replacement motor controllers

New motor controllers may be swapped into the robot at any time, and they may have strange configurations that need to be safely and permanently overridden.

Please add to each constructor:

  • near the beginning restoreFactoryDefaults()
  • near the end burnFlash()

Avoid using static global variables in Constants

This can cause issues across shared object boundaries, only ever use constexpr in Constants.hpp.

One way to fix this is to convert this:

const MyType value;

to

const MyType& GetVal() {
  static MyType val;
  return val;
}

Arm may be in unexpected state at start of autonomous

Arm may be in unexpected state at start of autonomous if there has not been a rio reboot since the last teleoperated operation. Reset the arm state during autonomousInit to ensure the arm matches the expected state.

Energize double solenoid coils upon a state change, not all the time

These...

  if (m_expanded) {
    m_expander.Set(DoubleSolenoid::kForward);
  } else {
    m_expander.Set(DoubleSolenoid::kReverse);
  }

should be a part of Superstructure::SetExtenderPosition(bool expanded) {}

such that they are only called during a change of state of the mechanism, rather than on every periodic loop. Double solenoids remain in their last energized state when neither coil is energized.

As a result of the change, SetExtenderPosition might also need to be called during autoninit and teleopinit to ensure the mechanism is in the expected state.

Plan to still run auto when auto switch fails

  • Right now, no auto will run if the switch fails
    • The correct auto could partially be inferred based on the vision pose estimate
    • Another solution would be a manual override on the driver station

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.