team2554 / sloth Goto Github PK
View Code? Open in Web Editor NEWCommand Based version of Sloth 2017
Command Based version of Sloth 2017
This assumes commit 3244a41045b2893641677bbef0b684adec1ded7a
doesn't work.
Use commands, not teleopPeriodic
3244a41045b2893641677bbef0b684adec1ded7a
Problem: gyro.calibrate()
is called twice: during autonomousInit()
and teleopInit()
Explanation: During manual testing, there are no FMS so it is not possible to call both autonomousInit()
and teleopPeriodic()
in one session. Thus gyro.calibrate()
is called during teleopInit()
to make the gyro work during teleop.
Solution:
gyro.calibrate()
line from teleopInit()
Just a test
Problem: Center autonomous not made
Solution: Make it
3244a41045b2893641677bbef0b684adec1ded7a
successfullyteleopPeriodic()
autonomousPeriodic()
Problem: Side autonomous is not finished
Solution:
Numbers:
Problem: CameraServer.getInstance().startAutomaticCapture()
sets up a perfectly fine output but manually setting up the CvSink
and CvSource
returns nothing.
Possible Solution:
startAutomaticCapture()
and build the servers from there.???
Problem: Exception is thrown when trying to create Autonomous command objects.
Explanation: Since the drivetrain is not a subsystem, it is instantiated in roboInit()
. The RobotDrive
object is not static because it is referenced within instance methods so when the same ports are called again to create a new RobotDrive
object in autonomous commands, it throws an exception.
Solution:
RobotDrive
parameterRobotDrive
object in Robot.java
Problem: Error is being thrown stating there are too many simultaneous MJPG client streams in the server.
Possible Solution: ???
Problem: The shooter wheels spin at inaccurate and nonconstant speeds, especially after a long time of use.
Possible Solutions:
Problem: Whenever grabImage()
is called, a NullPointerException is called.
Possible Explanation: Scheduler works in a way where as command are added in last. Thus, the grabImage()
is called before the SetUpCamera
command is even ran.
Possible Solution:
SetUpCamera
command to the constructor of the Camera
subsystemSetUpCamera
commandA declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.