PhotonFTC
By Eeshwar-Krishnan
EasyOpenCV
Finally, a straightforward and easy way to use OpenCV on an FTC robot! (by OpenFTC)
PhotonFTC | EasyOpenCV | |
---|---|---|
7 | 45 | |
63 | 216 | |
- | 0.9% | |
6.1 | 7.1 | |
about 1 month ago | 4 months ago | |
Java | Java | |
MIT License | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
PhotonFTC
Posts with mentions or reviews of PhotonFTC.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-22.
-
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
EasyOpenCV
Posts with mentions or reviews of EasyOpenCV.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-11-29.
- Camera causes our robot to reboot after any OpMode
-
Using the webcam on the robot to record videos.
you can record from the robot's POV with openCV: https://github.com/OpenFTC/EasyOpenCV/blob/master/examples/src/main/java/org/firstinspires/ftc/teamcode/PipelineRecordingExample.java
-
Getting raw camera data
The SDK provides a UVC driver for webcams; it does not provide anything for phone cameras. If you'd really like to write your own implementation, you can use parts of https://github.com/OpenFTC/EasyOpenCV/blob/master/easyopencv/src/main/java/org/openftc/easyopencv/OpenCvWebcamImpl.java as a reference (which uses the SDK UVC driver), but do note that writing your own implementation means you need to write your own code for a live view, as well as handle threading etc.
-
Where do I put our c270 Webcam to plug it in and configure it to our robot?
getting basic computer vision working is pretty easy with EasyOpenCV and the AprilTag extension.
-
Is it possible to upload code from Android Studio faster?
Apriltags, yes. You just upload the aar files using the OnBot interface. You can get them from the OpenFTC project: https://github.com/OpenFTC/EasyOpenCV/releases/tag/v1.5.2 https://github.com/OpenFTC/EOCV-AprilTag-Plugin/issues/4
-
How to switch pipelines during autonomous.
Note: https://github.com/OpenFTC/EasyOpenCV/issues/58
-
what is the best way to read a symbol on the signal sleeve
We used the example for https://github.com/OpenFTC/EasyOpenCV/releases. Our fork is from the official FTCRobotcontroller repository with extensive slipstreaming. You are welcome to view our repository at baqwas and provide feedback to our programmers who are continuously learning new techniques. I'm sure that they will learn something from your feedback too.
-
EasyOpenCV Camera stream not opening reliably on Moto G5 plus phone
This seems really odd to me, although someone else opened an issue about it: https://github.com/OpenFTC/EasyOpenCV/issues/55
- Android Studio Help
-
What are your favorite programming resources?
EasyOpenCV
What are some alternatives?
When comparing PhotonFTC and EasyOpenCV you can also consider the following projects:
ftc-dashboard - React-based web dashboard designed for FTC
EOCV-Sim - Develop, test, and tune your EasyOpenCV pipelines directly on your computer with a simple GUI !
FtcRobotController
EasyTensorflowAPI
FTCLib - Broad FTC library for all things software.
OpenCV - Open Source Computer Vision Library
virtual_robot - A 2D robot simulator to help beginners learn Java programming for FTC Robotics
LearnJavaForFTC - This is for learning Java for FTC
EOCV-AprilTag-Plugin - Track AprilTags on your FTC robot!
ftc_http - Upload code wirelessly and instantly from the comfort of your own text editor!
PhotonFTC vs ftc-dashboard
EasyOpenCV vs EOCV-Sim
PhotonFTC vs FtcRobotController
EasyOpenCV vs EasyTensorflowAPI
PhotonFTC vs FTCLib
EasyOpenCV vs OpenCV
EasyOpenCV vs ftc-dashboard
EasyOpenCV vs FtcRobotController
EasyOpenCV vs virtual_robot
EasyOpenCV vs LearnJavaForFTC
EasyOpenCV vs EOCV-AprilTag-Plugin
EasyOpenCV vs ftc_http