Skip to content

Motor movement direction is incorrect #7

Description

@51moon

The motor control of the wheels is set in the file server/move.py.

With the initial settings, forward and backward are reversed, right and left work correctly:

Dir_forward   = 1
Dir_backward  = 0

left_forward  = 1
left_backward = 0

right_forward = 0
right_backward= 1

So I invert the first two variables:

Dir_forward   = 0
Dir_backward  = 1

left_forward  = 1
left_backward = 0

right_forward = 0
right_backward= 1

Now forwards and backwards are correct, but right and left are reversed.

I think there is a bug in the move() function and I have a suggestion to fix it: #6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions