Difference between revisions of "FTC CanDo With TensorFlow 20220513"

From wikidb
Jump to: navigation, search
(Exercise 4)
(Enabling the Rover Ruckus model)
Line 59: Line 59:
 
= Notes =
 
= Notes =
  
== Enabling the Rover Ruckus model ==
+
== Failed: Enabling the Rover Ruckus model ==
  
 
Load the following into
 
Load the following into

Revision as of 21:17, 19 May 2022

Added Machine Learning Capability

The goal of this program is to enable CanDo to push a gold cub off the arena more quickly by using Tensorflow. Some may say that we are making the program smarter through machine learning. Whether we think the terms "learning" and "smarter" are appropriate, Convolutional Neural Networks are a powerful, import and fun technology to understand. We'll get a hint of what it is about in this lab.

References

Tutorial Videos

Epp TensorFlow Projects

Code

Integrated CanDo and TensorFlow Code

The goal of this program is to enable CanDo to push a gold cub off the arena more quickly by use Tensorflow.

Based on Version 6 of CanDo and

Bases on this Version of a TensorFlow Object Detection Program

Exercises

Exercise 1

  • Test recognition for a gold cube under
    • Various lighting
    • Orientations
    • Distances

Exercise 2

  • Enhance the TensorFlowCanDo11.java program by making the robot rotate to find a gold mineral.

Exercise 3

  • Make the robot stop rotating after it has located the gold mineral.

Exercise 4

  • Make the robot push the gold mineral off the arena.
  • If the robot overshoots its rotation, make it adjust its aim until the robot is centered in the monitor.

Notes

Failed: Enabling the Rover Ruckus model

Load the following into

   C:\Users\epp\AndroidStudioProjects\FTC71\FtcRobotController\FtcRobotController\src\main\assets
       RoverReckus.tflite
                  .dat
                  .xml
 from
   C:\Users\epp\AndroidStudioProjects\FTC54\SkyStone-master\SkyStone-master\FtcRobotController\src\main\assets

and use this command

 private static final String TFOD_MODEL_ASSET = "RoverRuckus.tflite";

The program would not start up. Could find a "FreightFrenzy_BCDM.tflite" in my project. The SDK has changed.