View: 285|Reply: 4

RaspTank forward and backward moves mixed up

[Copy link]

1

Threads

1

Posts

7

Credits

Newbie

Rank: 1

Credits
7
Post time 2022-1-6 02:33:06 | Show all posts |Read mode
Hi,

I have assembled a RaspTank according to the instruction, but now I faced the problem.
While controlling the robot movements it goes forward when I press the backward button and opposite, it goes backward when I press the forward button.
But the turn left and turn right buttons are working correct.
Could you tell me please, how it is possible?
And how can I fix it programmatically?

Thank you in advance!
Reply

Use magic Report

1

Threads

3

Posts

42

Credits

Newbie

Rank: 1

Credits
42
Post time 2022-1-8 13:58:32 | Show all posts
I had this problem at first too.  Found the solution in the tutorial, page 91 I think.  
Reply

Use magic Report

0

Threads

6

Posts

26

Credits

Newbie

Rank: 1

Credits
26
Post time 2022-1-20 04:28:28 | Show all posts
My RaspTank Pro's bottom part was pre-assembled - most likely a returned one. Anyway, the assembly was basically ok, but forward was backward and left was right - and vice versa. I switched the cabeling of the two motors, after that forward and backward was ok. Left and right was (and still is) inverted.
I'll get to that once some other issues are sorted, like camera not working...
Reply

Use magic Report

0

Threads

1

Posts

6

Credits

Newbie

Rank: 1

Credits
6
Post time 2022-4-12 14:50:20 | Show all posts
Hey I am a Programmer at Ireland Assignment Help I also faced assembling issues in RaspTank and resolve them by switching the cables of motors and after that forward and backward movement was okay if it is difficult for you then do watch tutorials on YouTube you will clearly get the idea of switching the cables.
Reply

Use magic Report

0

Threads

17

Posts

43

Credits

Administrator

Rank: 9Rank: 9Rank: 9

Credits
43
Post time 2022-5-5 17:18:36 | Show all posts
You can modify lines 22-23 of adeept_rasptank/server/move.py.
Changeļ¼š
Dir_forward = 0
Dir_backward = 1
To:
Dir_forward = 1
Dir_backward = 0

Please see the Q&A in the link: https://www.adeept.com/learn/tutorial-389.html
Reply

Use magic Report

You have to log in before you can reply Login | Sign Up

Points Rules