Please sign in to access this page
June 27, 2025
Sorry for the delay! Thank you for taking part in SoM, Happy Hacking!! :c3:
Works! Simple Auto with Roadrunner.
It is able to track the robot's position on the field in real time so not disturbance can really hurt AUTONOMOUS SCORING!
Also, TUITORIAL CODES has been DONE! Hope the new people can learn well!
Works: Field + Robot Centric Mecanum drive
- User control robot movement with gamepad
- Switch between Field-Centric (control according to perspective of driver) and Robot-Centric (control according to perspective of robot)
- IMPROVEMENT to be made: better button control logic(one click can trigger multiple times of input)
please improve your readme with the details about your project and photos
As a new season of FTC is coming, my team 20025 Atom Smasher has to train over 30 beginners & I need some warmup for coding. This code base needs FTCSDK, Roadrunner 1.0 & FTCLib to work
SUCCESS and implement SIMPLE UI:
Finally got the app to talk to the Google Tasks API successfully and securely! The CSP errors that previously blocked the flow have been resolved. The background → offscreen → sandbox structure now handles OAuth correctly, so authentication no longer breaks.
Users can now log in and add tasks directly into the system. Tasks sync with the UI and are categorized according to the Eisenhower matrix (Important/Urgent, Important/Not Urgent, etc.). This means the app now behaves exactly like the design concept promised.
FAILURE and has to CHANGE APPROACH:
I figured out a SAFE POST Messaging function sharing system that:
-> Side panel send function use request(as secure user interface that cannot use Google API)
-> Background.js relay it to Sandbox.
-> Sandbox receive request and carry out function, send result back to side panel(as an insecure script that can load library)
However, a problem found is that the Sandbox does not have the cookie needed for the Google user log in. It is isolated from the environment cannot access the main cookie no matter how hard it is tried.
A NEW APPROACH is to use background.js to do all the log in work. It would be a challenge to both satisfy the CSP & be secure AND carry out all the risky log in work
Able to load Google API libraries under RESTRICTED CONDITIONS:
Could not use Google Tasks api tutorial initially as js objects were 404. Found out that it is the Content Security Policy barring the use of the web-based Google API libraries.
Used ChatGPT(with some informed tweaks) to get a concept of how using Sandbox to abide to CSP securely while using the required libraries.
Want to visualize importance & urgency of tasks on your to-do list? This chrome extension got you covered! It extracts your Google tasks info and place it on an intuitive interface!
Improved joystick control with cubic formula!
I found that the cheap joystick is less sensitive the the middle and more at the ends. Implementing this helps me fine control the wiggling strides a lot!
INITIAL OPERATION: stepper motor working with servo arm perfectly according to joystick control.
The stepper motor is so power hungry that even the USB socket is not enough, so I powered it with a 9V battery through another Arduino. (I am looking for a soldering kit to make a better external connection!)
Servo arm wiggles now can be made small/reverse with joystick control and are perfected.
It is ready to integrate with the stepper motor base
FINAL PRODUCT -- Wiring changed to accurately reflect input voltage and current
INITIAL OPERATION -- able to show voltage and current change from different electric load
Works towards a project that can measure voltage and current from an external source
Made servo repeatably wiggle. The skipping issue is serious and I should wire my project better.
I have got the stepper motor following the joystick. It moves +-90 degrees and return to the origin as user release the joystick
It can wiggle forward, backward and rotate itself according to user-friendly control! It is thirsty for power and I tried hard to wire it that it won't black out. It needs: Two Servo One Stepper Motor One Arduino uno board One Joystick External power sources (9V battery + stripped USB cable) (I wanted to make a spider but I am too broke :((( )
This was widely regarded as a great move by everyone.