Pits & Parts | 3388A Angel | Over Under | FUN RECF
Вставка
- Опубліковано 1 жов 2024
- 3388A Angel showcases some amazing features on their Over Under robot. Check out their ratchet system to switch between their match loading and intake, optical and distance sensors for auto loading and their custom path planning software that was programmed in just 1 day on Pits & Parts.
This video is presented in partnership with the Robotics Education & Competition Foundation. The REC Foundation provides fantastic programs for students from elementary school all the way through college. Discover these exciting opportunities, visit recf.org and get connected!
Up your game by becoming a member of FUN Nation! Join this channel to get access to perks:
/ @funroboticsnetwork or subscribe on Twitch at / firstupdatesnow
Join the FUN Discord to keep the conversation going at / discord
CHURCHILL REPRESENT
Most handsome VEX team at Churchill
CHURCHILL 🔛🔝
@3388A So this is the code I use for my optical sensor to do what you do but the slap isn't shooting would you know how to fix this?
void usercontrol(void) {
// User control code here, inside the loop
while (1) {
sensor.integrationTime(5); // Set the sensor's integration time to 5ms for a faster update rate
// sensor.objectDetectThreshold(255); // Optional: Tune this value if the sensor doesn't see anything. It can be from 0-255 Higher numbers will make the optical sensor more sensitive to objects farther away.
// Event handler for object detection. This code will run every time the optical sensor sees anything in front of it.
sensor.objectDetected([]() {
// Check if the object that it sees is green
if (sensor.color() == vex::green) {
triball_found = true; // We found a triball
shooter_motor.spin(vex::forward, 100, vex::percent); // Run the shooter motor
}
});
// If we lost sight of the object, assume it was launched and stop the shooter motor.
sensor.objectLost([]() {
// Check if the object that we lost was detected as green by the sensor originally.
if (triball_found) {
shooter_motor.stop();
triball_found = false;
}
});
Sorry i’m not the programmer so I can’t help you. Someone on vexcad or forums definitely could though.
@@3388A ok thank you.
3388A just better
wait are they still gonna try and upload the pathfinder or nah
Does anyone know what sensor they use for their shooter?
We use two different ones. A V5 optical sensor for the kicker and a V5 distance sensor for the catapult. We recommend the distance if you plan on using one since its more precise.
@@3388A ok thank you
@@3388A Do you prefer a vision sensor or optical sensor for doing something similar?
For our kicker
@@DylanThrasher-bo3hp a distance would be better but if you don't have one and want to use it for a kicker an optical would work. I wrote vision on the comment above by accident. We are using an optical and distance. We have not tried a vision sensor yet but people have used one in the past but I’m not sure how well it would work for this game.
Public release for PathPlan software?
We are adding stuff right now but when its polished we plan on posting it on forums.
@@3388A When is around the expected release date? Also, does it give Vex Code Pro (C++) ?
We're hoping to publish an improved version of the software by mid December. The improved version will allow you to enter template functions, so you should be able to convert the path into code based on your needs, for Vex Code Pro or V5.
@@3388A When you publish, can you post it here as well?
@@MaxGao489 If we remember by then, sure. We will also be posting it on our channel so don't worry about missing it. We will try our best to remember.
ON TOP
Hi, I am just wondering if I can access the auton software. I am willing to pay for it.