View: 1617|Reply: 3

Reverse servo pan tilt rover mars

[Copy link]

4

Threads

4

Posts

23

Credits

Newbie

Rank: 1

Credits
23
Post time 2019-9-29 01:12:44 From the mobile phone | Show all posts |Read mode
Hi,

In our PiCar-B set, I found that the servo motor pan tilt at opposite directions when instructed and in openCV mode as well.  The camera is working correctly.  How to change the code to only reverse the servo motor pan tilt  part?



Thanks!

Pascal
Reply

Use magic Report

0

Threads

3

Posts

171

Credits

Registered member

Rank: 2

Credits
171
Post time 2019-10-11 07:33:46 | Show all posts
In the client.py gui, swap the values between the 'Look Up Max' and 'Look Down Max' for tilt.

As for panning, you'll have to modify the set.txt file in the root directory of the RPi. Swap the numbers 'look_left_max' and 'look_right_max'
Reply

Use magic Report

23

Threads

223

Posts

814

Credits

Senior member

Rank: 4

Credits
814
Post time 2021-2-7 18:22:24 | Show all posts
1570248552 replied at 2019-10-11 07:33 AM
In the client.py gui, swap the values between the 'Look Up Max' and 'Look Down Max' for tilt.

As f ...

Your method is great!
Reply

Use magic Report

23

Threads

223

Posts

814

Credits

Senior member

Rank: 4

Credits
814
Post time 2021-2-7 18:22:47 | Show all posts
We have updated the latest information and manuals, please check through the link below: https://www.adeept.com/learn/detail-34.html If your problem is still not solved, please provide us with a detailed problem report (including product model, problem picture, etc.): support@adeept.com
Reply

Use magic Report

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

Points Rules