FtcRobotController
PhotonFTC
FtcRobotController | PhotonFTC | |
---|---|---|
103 | 7 | |
674 | 62 | |
1.2% | - | |
3.4 | 6.1 | |
2 days ago | about 1 month ago | |
Java | Java | |
BSD 3-clause Clear License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
FtcRobotController
- Rev Color Sensor
-
Can you broadcast a driver hub's screen to access it on a computer?
Yes, APK from Github, or just connect your phone to the REV Hardware Client.
-
Field Centric Drive Help
I think I just stumbled upon where the team got the IMU initialization from. Take a look at the sample code in https://github.com/FIRST-Tech-Challenge/FtcRobotController/blob/master/FtcRobotController/src/main/java/org/firstinspires/ftc/robotcontroller/external/samples/SensorBNO055IMU.java
-
Faster Way to Scan with the Rev 2M Distance Sensor?
You can read my testing notes here https://github.com/FIRST-Tech-Challenge/FtcRobotController/issues/317 but there is a way to make it slightly faster
-
Delayed actions without sleep()
Although written for Blocks, this tutorial can help new Java programmers too: https://github.com/FIRST-Tech-Challenge/FtcRobotController/wiki/Timers-in-FTC-Blocks
-
Deploying Code from Android Studio
are you working from the FtcRobotController project? https://github.com/FIRST-Tech-Challenge/FtcRobotController
- Need help making custom sleep from the ftc ml tool chain
- HI…. I need help for programming the camera
-
Hello i've recently had a question about improving my TeleOP (i'm on the mechanic departament and also a driver in my team) i've noticed that during TeleOp if the other driver presses something on their controller it messes up my movement. Can anyone give me some aditional help???
Here's a sample program that uses deadlines
-
Writing an I2C Driver for MaxBotix Ultrasonic
https://github.com/FIRST-Tech-Challenge/FtcRobotController/wiki/Writing-an-I2C-Driver This is the core tutorial on i2c devices, although its a little out of date so YMMV. Some things like the constructor may need to be tweaked (I believe there is now a second parameter in the super?). However the core of it is still accurate.
PhotonFTC
-
Faster Way to Scan with the Rev 2M Distance Sensor?
Photon FTC implements some of these changes (https://github.com/Eeshwar-Krishnan/PhotonFTC) specifically check out the new driver (VL53L0X the name of the chip used in the 2m sensor) (https://github.com/Eeshwar-Krishnan/PhotonFTC/blob/main/PhotonCore/src/main/java/com/outoftheboxrobotics/photoncore/Neutrino/Rev2MSensor/Rev2mDistanceSensorEx.java)
-
Multithreading
It's been a while since I've dived into the SDK. If you have specific questions on the thread lock, there's several people on the discord that know how the thread locking works very well. I haven't tested it myself, cause it came out after I graduated, but Eeshwar developed software to overcome the lock and speed stuff up by doing calls asynchronously. It's still better to limit to a single thread though. https://github.com/Eeshwar-Krishnan/PhotonFTC
-
Cable connecting control hub and expansion hub broke
Yeah saw it a lot when control hub first came out. Now see people use it for the acceleration from photon - https://github.com/Eeshwar-Krishnan/PhotonFTC. I believe it is legal.
-
PhotonFTC Questions
We tested the PhotonFTC (v2.0.1 as we're still on SDK 8.0) software. After adding the recommended repository and dependency statements to the teamcode build.gradle, and changing minimum android SDK to 24, we reran the testing opmode, in two ways: 1) No PhotonCore.enable() statement, and 2) with a PhotonCore.enable() statement. The result was: (1) loop time, reading all four sensors, was 30-35ms; and (2) also 30-35ms.
-
What are your favorite programming resources?
PhotonFTC (my personal favorite)
-
Custom Driver for Rev 2m Distance Sensor?
Photon?
-
What would you say is one of the most useful yet unknown tools for FTC?
For autonomous in addition to drive encoders or dead wheels for position estimation, teams have found that using distance sensors can be used to relocalize. Distance sensors however often require you to make a ton of very time expensive calls. Team 7244 developed a library called photon that helps remove a ton of this delay, as well as enabling a higher precision mode on the rev 2m distance sensors. https://github.com/Eeshwar-Krishnan/PhotonFTC
What are some alternatives?
FTCLib - Broad FTC library for all things software.
ftc-dashboard - React-based web dashboard designed for FTC
awesome-teachable-machine - Useful resources for creating projects with Teachable Machine models + curated list of already built Awesome Apps!
EasyOpenCV - Finally, a straightforward and easy way to use OpenCV on an FTC robot!
TFMini-Plus-I2C - Arduino library for the Benewake TFMini-Plus LiDAR distance sensor in I2C communication mode
FTC-for-VS-Code - A VS Code extension for accessing FTC snippets, debugger, and Android cmdline tools from a button
FTC-Timers - Repo containing a wiki article "Using Timers in Blocks"
LearnJavaForFTC - This is for learning Java for FTC
FtcRobotController
gm0 - Game Manual 0 - The most extensive guide out there for FTC