Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SwarmBot: Motors Responding Incorrectly #42

Open
chynu opened this issue Sep 16, 2017 · 1 comment
Open

SwarmBot: Motors Responding Incorrectly #42

chynu opened this issue Sep 16, 2017 · 1 comment

Comments

@chynu
Copy link
Member

chynu commented Sep 16, 2017

IP: [192 ... ].84
When sending direct commands:

  • Forward -> moves ccw backwards (i.e., left wheel moves backwards & right wheel doesn't move)
  • Backward -> moves cw forwards (left wheel moves forwards & right wheel doesn't move)
  • Left -> turns right (left wheel moves forward & right wheel doesn't move)
  • Right -> doesn't move

Seems that the left motor works but responds in the opposite direction it is given, and the right motor doesn't work at all.

@chynu chynu self-assigned this Sep 17, 2017
@chynu chynu changed the title SwarmBot: Incorrect minion response to master (motors?) SwarmBot: Motors Responding Incorrectly Sep 19, 2017
@chynu
Copy link
Member Author

chynu commented Sep 19, 2017

In 84's config.json file, I set the gpio right actuator to not be reversed (changed reversed: true field to reversed: false under "name": "rightMotor" actuator). Left wheel moves forward when commanding forward, but doesn't move at all when commanding backwards.

I am suspecting this is an ECE issue.

pins are as follows (in config.json):

"actuators": [
    {
      "type": "GpioMotor",
      "name": "rightMotor",
      "pinPWM": 13,
      "pinHighLow": 20,
      "reversed": true
    },
    {
      "type": "GpioMotor",
      "name": "leftMotor",
      "pinPWM": 19,
      "pinHighLow": 18,
      "reversed": false
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant