Difference between revisions of "FTC Bring Up HuskyLens 20231127"
(→Core Links) |
(→Reference Links for Future Lab Creation) |
||
Line 69: | Line 69: | ||
*** [https://javadoc.io/doc/org.firstinspires.ftc/Hardware/latest/com/qualcomm/hardware/dfrobot/HuskyLens.Arrow.html Arrow] | *** [https://javadoc.io/doc/org.firstinspires.ftc/Hardware/latest/com/qualcomm/hardware/dfrobot/HuskyLens.Arrow.html Arrow] | ||
*** [https://javadoc.io/doc/org.firstinspires.ftc/Hardware/latest/com/qualcomm/hardware/dfrobot/HuskyLens.Block.html '''Block'''] | *** [https://javadoc.io/doc/org.firstinspires.ftc/Hardware/latest/com/qualcomm/hardware/dfrobot/HuskyLens.Block.html '''Block'''] | ||
+ | ** Color Recogniton | ||
+ | *** [https://ftc-docs.firstinspires.org/en/latest/devices/huskylens/huskylens.html# HuskyLens Intro for GIRST Tech Challeng] | ||
+ | **** [https://ftc-docs.firstinspires.org/en/latest/index.html] | ||
* Examples | * Examples | ||
** [https://www.instructables.com/Vision-Line-Follower-Using-HuskyLens/ Line Folower] | ** [https://www.instructables.com/Vision-Line-Follower-Using-HuskyLens/ Line Folower] |
Latest revision as of 09:57, 4 October 2024
Unformatted Notes
Why
Several of this year's autonomous challenge require the recognition of a particular game piece called a team prop. Based on its location the robot must place a game element called a pixel at a particular location. The team has decided use an AI, Artificial Intelligence, camera developed by DF Robot locate the team prop. The HuskyLens camera contains the code to train and locate objects. This tutorial is contains the links to show the team how to set up the camera and write code to interface with it.
In the photo a student is testing her code to make the robot recognias the team prop, move forward and move left, right or straight depending on the location of the prop. The camera has not yet been attaching to the training platform the the team mentor is holding the camera.
Core Links
- HuskyLens Intro for FIRST Tech Challenge
- SensorHuskyLensIEEE.java proof of concept code
- wiki from DFRobot
- Machine Vision with HuskyLens *** DroneBot Workshop long and complete ***
- Husky Lens to Control Hub Wiring Tutorial FTC
- Husky API referenceds and example code
HuskyLens.Block[] blocks = huskyLens.blocks(); telemetry.addData("Block count", blocks.length); for (int i = 0; i < blocks.length; i++) { telemetry.addData("Block", blocks[i].toString()); telemetry.addData("Position x ", blocks[i].x); telemetry.addData("Position y ", blocks[i].y); }
Reference Links for Future Lab Creation
- DF Robot HuskyLens
- DF Robot SKU Sen 0305
- DF Robotics Github
- Westside Robotics reddit link
- HuskyLens Intro for FTC from Westside Robotics
- REV Control Hub
- See next Youtube link - points to these document
- [https://www.revrobotics.com/rev-31-1595/ REV Control Hub
- Port Pinouts
- wiki
- Husky Lens to Control Hub Wiring Tutorial FTC
- Upgrade
- Control Hub Operation System 1.1.3
- Robot Controler App 9.0.1
- Hub Firmware 1.8.2 (up-to-date)
- Driver Hub 9.0.1
- Library References
- external libraries in OnBot Java and Blocks
- hardware
- hardware 9.01 API
- external
- Block
- Husky 9.01
- Color Recogniton
- Examples