View: 1034|Reply: 5

Mars Rover line following

[Copy link]

1

Threads

1

Posts

4

Credits

Newbie

Rank: 1

Credits
4
Post time 2023-2-24 02:09:03 | Show all posts |Read mode
When I try to use line following the Rover always runs backwards.
Initially when moving the Rover forward it went in reverse. I edited Move.py to correct this and no problem.
I have tried editing Findline.py in a similar way but Rover still runs backward.
Any help would be appreciated.
Thanks
Reply

Use magic Report

0

Threads

1

Posts

4

Credits

Newbie

Rank: 1

Credits
4
Post time 2023-8-17 16:42:53 | Show all posts
When I make the same changes to Findline.py, Rover still moves in the wrong direction.
drift hunters
Reply

Use magic Report

0

Threads

53

Posts

201

Credits

Administrator

Rank: 9Rank: 9Rank: 9

Credits
201
Post time 2023-8-25 16:38:12 | Show all posts
Lines 22-23 in the move.py file can be modified. Swap 0 and 1 in two lines of code.
  1. Dir_forward   = 1
  2. Dir_backward  = 0
Copy the Code
Reply

Use magic Report

0

Threads

1

Posts

6

Credits

Newbie

Rank: 1

Credits
6
Post time 2023-11-6 20:40:08 | Show all posts
emoji are used more often than ever before, and for good reason: they are accessible to everyone, they are inclusive, and they are entertaining. However, when you are adding emoji to your posts on social media, you need to ensure that you are utilizing them in the proper manner.


















Reply

Use magic Report

0

Threads

3

Posts

12

Credits

Newbie

Rank: 1

Credits
12
Post time 2024-3-1 12:58:01 | Show all posts
I also encountered this situation and tried several connections nyt ways, it still cannot be fixed
Reply

Use magic Report

0

Threads

1

Posts

6

Credits

Newbie

Rank: 1

Credits
6
Post time 2024-6-12 13:44:55 | Show all posts
scdv
Reply

Use magic Report

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

Points Rules