Announcement

Collapse
No announcement yet.

FTC Robot Controller

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • FTC Robot Controller

    Hi,

    When I program the robot and when I connect the robot controller to robot, I have to configure it all the time. Is there a way I can remove this step every time. We are rookie team so we try the robot thousand times and every time it is hard to configure it. It consumes tons of our time.
    Thanks,
    Programmer - FTC Delta Kappa

  • #2
    I don't know of a way to not configure for each new app. You don't have to configure if you are changing something in a previous app, unless you add a device, or change a devices name. It is unfortunate and time consuming, but that is just the way it is.
    FTC 8567 -Lead Programmer, 3-D Print Specialist, Lead CAD Designer

    Comment


    • #3
      Originally posted by bassamali01 View Post
      Hi,

      When I program the robot and when I connect the robot controller to robot, I have to configure it all the time. Is there a way I can remove this step every time. We are rookie team so we try the robot thousand times and every time it is hard to configure it. It consumes tons of our time.
      If you aren't changing hardware, you shouldn't have to configure it again. In App Inventor, in the designer (not blocks) you can put the name of the configuration in the FtcRobotController's Configuration property. Then, when the app starts up, it will automatically load the configuration.

      Also, if you are about to install a new version of the same app, don't uninstall the previous app.

      Comment


      • #4
        No I don't add the device or remove the device or hardware. I just edit the info in the program and I have to configure all again.
        Thanks,
        Programmer - FTC Delta Kappa

        Comment


        • #5
          What do you mean by "I have to configure all again"? When you saved the configuration, you gave it a name, right? Then when you load the app next time, you should choose that configuration. Is there some reason why you can't just select that configuration? Do you see an error when you try to do that? If so, what is the error message?

          If you see an error, try exiting the app, disconnect the robot, wait a few seconds and then reconnect the robot. For me, the first time I run the app after installing it, I get an error about it not finding some hardware. I just exit the app, disconnect, reconnect, and then it finds all the hardware perfectly.

          Do you uninstall the app before installing a new version? If it is the same app (just a new version) do NOT uninstall it.

          Comment


          • #6
            Our MyRobotController automatically looks for mybot.xml, which is what we have saved our config file as. This seems to automatically load, although I remember there being another option for it in App Inventor's FtcRobotController block.

            Comment


            • #7
              Originally posted by Comrade 17 View Post
              What do you mean by "I have to configure all again"? When you saved the configuration, you gave it a name, right? Then when you load the app next time, you should choose that configuration. Is there some reason why you can't just select that configuration? Do you see an error when you try to do that? If so, what is the error message?

              If you see an error, try exiting the app, disconnect the robot, wait a few seconds and then reconnect the robot. For me, the first time I run the app after installing it, I get an error about it not finding some hardware. I just exit the app, disconnect, reconnect, and then it finds all the hardware perfectly.

              Do you uninstall the app before installing a new version? If it is the same app (just a new version) do NOT uninstall it.
              Yes I uninstall the app before installing a new version. Is that correct?
              Thanks,
              Programmer - FTC Delta Kappa

              Comment


              • #8
                If I were you, I wouldn't uninstall every time. For me, it just updates the old App.

                Comment


                • #9
                  Originally posted by FTC-Team7621 View Post
                  If I were you, I wouldn't uninstall every time. For me, it just updates the old App.
                  Can you explain how? And does it effect anything
                  Thanks,
                  Programmer - FTC Delta Kappa

                  Comment


                  • #10
                    Originally posted by bassamali01 View Post
                    Can you explain how? And does it effect anything
                    You want only one program to "own" the USB port. If you have more than one APK file with different names and install them both they may try to compete for the USB. If you have single app and you make changes, download it and install it, the phone's install support will detect that you are updating an existing app and you won't need to uninstall the previous version.

                    Comment


                    • #11
                      Originally posted by schaferbw View Post
                      You want only one program to "own" the USB port. If you have more than one APK file with different names and install them both they may try to compete for the USB. If you have single app and you make changes, download it and install it, the phone's install support will detect that you are updating an existing app and you won't need to uninstall the previous version.
                      Thanks, I will try it and see if its working
                      Thanks,
                      Programmer - FTC Delta Kappa

                      Comment

                      Working...
                      X