![]() ![]() This sample code than combines that information with a * When images are located, Vuforia is able to determine the position and orientation of the * Vuforia uses the phone's camera to inspect it's surroundings, and attempt to locate target images. * The code is structured as a LinearOpMode * positioning and orientation of robot on the FTC field. * This 2016-2017 OpMode illustrates the basics of using the Vuforia localizer to determine * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ![]() * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * SERVICES LOSS OF USE, DATA, OR PROFITS OR BUSINESS INTERRUPTION) HOWEVER * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS * promote products derived from this software without specific prior written permission. * Neither the name of FIRST nor the names of its contributors may be used to endorse or * other materials provided with the distribution. * list of conditions and the following disclaimer in the documentation and/or * Redistributions in binary form must reproduce the above copyright notice, this * of conditions and the following disclaimer. * Redistributions of source code must retain the above copyright notice, this list * are permitted (subject to the limitations in the disclaimer below) provided that * Redistribution and use in source and binary forms, with or without modification, No, the particular Opmode (ConceptVuforiaNavigationWebcam) has never workedĨ) If you need help doing something new, have you checked the sample programs to see if there is already an example for you to emulate?ĩ) If you are having crashes or disconnects or anomalous behavior, be ready to provide a copy of you log file (found on phone) to help in debugging.Ĭode: /* Copyright (c) 2017 FIRST. ![]() We haven't gotten this far with this particular Opmode issue, however, the robot operates 100% in other Teleop Modes.ħ) Is this a problem that has started since you made a change to the system? What was that change? If not (you are using the DS phone), you MUST have paired with the robot and be connected (Numbers showing in Ping Times) Rev 3.4 is currently rev, but it could be 3.1 or 2.62 or even 2.4 if it's from early last year.Ħ) If you are having trouble configuring your robot, are you using the RC phone to do it? !!!!!!!!!!!!!!!!!!!!!!!įile / Settings / Build-Execution-Deployment / Instant Run (uncheck)ĥ) What is the version of the RC App? Use the menu to show the About screen. DID YOU TURN OFF AUTO RUN? You MUST do this. ![]() Single REV expansion hub with updated firmwareĢ) What type of phone are you using? ZTE, Moto G2, Motor 4 Play or other.ģ) How did you transfer the FTC App to your Phone? Android Studio Download, Play Store download, Other?Ĥ) CRITICAL !!!! If you used Android Studio to deploy your app. Our code is below, and we've attached screen caps of the errors we're encountering, and here are the details on our setup from the Philbot list:ġ) What type of robot hardware are you using? Modern Robotics, REV Expansion or mixed. After getting the ConceptVuforiaNavigation Opmode to run on our Moto G4 phones, and properly identify the four Rover Ruckus targets, our team decided to try the ConceptVuforiaNavigationWebcam Opmode (in hopes of using a higher end web cam for navigation, as well as identifying the Gold Mineral in Auton), and our students are completely stuck with multiple errors in Android Studio stopping them from compiling. ![]()
0 Comments
Leave a Reply. |