Navigation

    Robolink logo
    • Register
    • Login
    • Search
    • [[global:header.categories]]
    • [[global:header.recent]]
    • [[global:header.tags]]
    • [[global:header.popular]]
    • [[global:header.users]]
    • [[global:header.groups]]
    As of September 2021, we have moved technical support to Robolink Help

    Welcome to the Robolink Community forum!

    You can post here to interact with others in the Robolink community. We're checking it weekly, and we'll respond to some messages. If you're looking for technical support, head over to Robolink Help.

    My Zumi going reverse

    Zumi
    2
    7
    3311
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      krishna last edited by

      Hi My Zumi got a problem. It moves backwards when I code forward and vice versa. What could be the problem. How can I get through this ?

      robolink_leila 1 Reply Last reply Reply Quote 0
      • robolink_leila
        robolink_leila @krishna last edited by

        @krishna Please share a screenshot of the output when you run the following:

        from zumi.zumi import Zumi
        zumi = Zumi()
        zumi.mpu.calibrate_MPU()
        zumi.forward(duration=2)
        

        If Zumi is still not going straight, take a video of Zumi driving as well as a video clip of Zumi as you gently turn the motors with your hand. If anything feels stuck or dislodged, then please let us know!

        1 Reply Last reply Reply Quote 0
        • K
          krishna @robolink_leila last edited by

          @robolink_leila
          Hi.. I did as u suggested. But still no improvement. The zumi doesnt get recalibrated and still doesnt go in a straight line. Is there any problem with device itself ?

          robolink_leila 1 Reply Last reply Reply Quote 0
          • robolink_leila
            robolink_leila @krishna last edited by robolink_leila

            @krishna Please create a new cell and run the following code:

            !sudo rm /home/pi/offsets.txt

            This will remove the offset file. When you rerun the calibrate code it should generate a new file for you. If you are still having the same issue, please update Zumi as this was an issue with an earlier version. Let me know if you have any more questions.

            K 1 Reply Last reply Reply Quote 0
            • K
              krishna @robolink_leila last edited by

              @robolink_leila ![alt text](0_1582454486611_9CA32CF9-2D67-4AB8-A6E7-6A98BD11712A.png image url)

              robolink_leila 1 Reply Last reply Reply Quote 0
              • K
                krishna last edited by

                Thanks. yes i swapped the motor connections. Better now. But the directions are not entirely correct. How do I recalibrate. The Recalibration code in example shows permission error.

                1 Reply Last reply Reply Quote 0
                • robolink_leila
                  robolink_leila @krishna last edited by

                  @krishna It sounds like your motors are connected backward. Switch the motor ports and let me know if this helps!

                  K 1 Reply Last reply Reply Quote 0
                  • First post
                    Last post