12Next
Return to list
View: 3719|Reply: 12

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

53

Posts

201

Credits

Administrator

Rank: 9Rank: 9Rank: 9

Credits
201
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

0

Threads

1

Posts

4

Credits

Newbie

Rank: 1

Credits
4
Post time 2022-7-27 15:36:27 | Show all posts
Hello! James stephens is an expert Ireland assignment helper and professional blogger. He had great expertise in writing academic content and offer help for healthcare assignments. James loves to travel and explore new places he is the best at delivering academic assistance so, if you have any difficulty regarding your assignments contact him he will surely help you.
Reply

Use magic Report

0

Threads

2

Posts

6

Credits

Newbie

Rank: 1

Credits
6
Post time 2022-9-20 17:09:50 | Show all posts
Drift Hunters game is a racing game with unllimited money.  You can free to buy all the items on the shop. This game will be easy for you. Enjoy the game!
Reply

Use magic Report

0

Threads

6

Posts

30

Credits

Newbie

Rank: 1

Credits
30
Post time 2022-11-11 10:29:15 From the mobile phone | Show all posts
I just fixed left and right swap and forward backward swap.   The left/right swap can be fixed by swapping the mounting locations(sides) of the physical dc motors.   Then if that does not fix your forward/backward problem also,  go into terminal and "sudo nano move.py"   and change the forward=0 to a forward=1. And reverse=1. To a reverse=0 or vice versa...  now my robot moves as it should.
Reply

Use magic Report

1

Threads

4

Posts

17

Credits

Newbie

Rank: 1

Credits
17
Post time 2022-12-26 16:53:51 | Show all posts
Swapping the cables worked for me.
Ref camera not working, I found that the flat cable which was already fitted to the camera was fitted the wrong way up!!! - once flipped over, all is working well.
Reply

Use magic Report

0

Threads

2

Posts

8

Credits

Newbie

Rank: 1

Credits
8
Post time 2023-8-2 17:32:50 | Show all posts
Simply switching which side the dc motors are mounted on will reverse the left/right problem. blob opera
Reply

Use magic Report

12Next
Return to list
You have to log in before you can reply Login | Sign Up

Points Rules