cornell-cup / cs-minibot-platform

[clean] software platform for MiniBot development
http://cornellcuprobotics.com/projects.html#minibot
Apache License 2.0
6 stars 2 forks source link

SwarmBot: Motors Responding Incorrectly #42

Open chynu opened 7 years ago

chynu commented 7 years ago

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

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 commented 7 years ago

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
    }