Why Robot Always Go Right?

Hi everyone, I am a beginner exploring the VEQ IQ course. At first, I used the joystick to move the Clowbot and Basebot; everything went well. However, I found an obstacle when using the VEQ IQ app on the tablet. Every time I insert any block, it always makes the robot turn right. What should I do to fix it? Thank you for your help.




1 Like

Here is the additional documentation, thanks!

1 Like

Have you tried inserting a controller device into your code and then using the controller within the code to drive it? If it still turns when trying to drive forward, try adjusting the turn direction in the drivetrain device. Make sure to also make sure it uses split arcade for the controller device, which is obtainable by clicking on the joysticks. This helps because it ensures one joystick should theoretically guarantee a straight line of drive, instead of potential human error in tank drive.

1 Like

What happens when you tell it to turn left? Is it just turning on one spot? If so, have you tried reversing the right wheel’s motor in the devices panel?

1 Like

Hi Entropy, thanks for your kind suggestion. I have tried to add the controller and split the arcade by clicking on the joysticks. Unfortunately, the robot still goes right, I attached a video to make sure the steps followed correctly. Please kindly check. Thanks

1 Like

After viewing the video, I think I see your problem. What I initially meant by adding a controller device was so that you could use the controller to test by hand. Looking at your video, I think I may have a grasp of the problem, that being that it seems only one wheel may be powered due to the strange center of turn. Could you repeat this test with the robot upside down, to see what the motors are doing when not affecting eachother? I would also reccomend using a turn left command to see what happens as well as using the controller to test.

1 Like

reverse the motor in the code.

1 Like

I have tried, but still goes right :frowning:

1 Like

Yes, I have tried, but still goes right :frowning:

1 Like

Hi Entropy, I have tried the controller on the Clowbot and my current Basebot. All functions and maneuvers are working well as expected :slight_smile:

On IQ app, I also tried to use different blocks including " Turn left" but the robot still turned right :frowning:

Let me try to repeat the test, does the upside-down robot you mentioned use 4 motors?

1 Like

nevermmind change the port of the right motor.

2 Likes

The upside down test is just to make sure the right turning isn’t something hardware based, so 2 motors should be ok.

1 Like

I know that you’ve probably tried this, but if my previous suggestions didn’t work try to make sure the code is actually downloading & that you are using the right code. Also, if you are having this problem while driving, and if you have a controller, I have a code that might work that I adapted for your robot based on the code you show in the image.
IQ 2 motor drive.iqblocks (3.6 KB)

1 Like

Thank you very much for your effort in helping to resolve this issue. I just tried loading the code you sent and running it, but unfortunately, the robot still keeps turning right. Here is the video I recorded.

1 Like

I know this is a weird question, but could you put the video into something other than google drive as my school blocked it so I cant view the video. If you could I would something like canva or just an mp4 file. Also as I have stated previously & if you have not tried it yet try changing the port of the right motor.

1 Like

This latest video makes me think that it’s an error in the drivetrain setup, as @imconfused speculated earlier. Can we get a screenshot of both of the drive motors’ setups? (One of “LeftMotor” and one of “RightMotor”)

It could also be a wiring issue, where the motors’ ports are swapped. Try to send a picture where the motors’ cables can be tracked to their ports.

Hi, thanks for following up on my issue. Here is the documentation for checking the cable motor and drive motors’ setups. Hope this is clearer: 2d_Checking cable port to motor and brain.mp4 - Google Drive

1 Like

Great video!

It seems the wiring isn’t the issue. The thing that seems to be the issue is the direction of the motor, specifically the right one, in the setup. To fix this, go to the right motor setup page (you were on it at 1:33 in the latest video) and toggle the little slider just above the cancel button (make sure that it is now pointing to the right, towards the word reverse).

I think this is also what @imconfused meant

Have you tried just reversing the right motor?

Also how is the controller configured because it could be interfering.

1 Like

Hi @Team21510B, @imconfused, @Some_random_person thank you for the suggestion. I have tried to reverse the right side motor and all motors, but the robot still goes right. Here is the video documentation.

1 Like