raphaelthurnherr / algobot_onionOmega

1 stars 0 forks source link

Servo message incorrect #24

Closed YannCaron closed 6 years ago

YannCaron commented 6 years ago

When I send :

{
  "MsgID": 0,
  "MsgTo": "algo_973a",
  "MsgFrom": "algo",
  "MsgData": {
    "MsgType": "command",
    "MsgParam": "servo",
    "MsgValue": [
      {
        "servo": 0,
        "state": "on",
        "angle": 45
      }
    ]
  }
}

I receive : algo_973a -> Message ID: 0 -> algo_973 -> MESSAGE ALGOID INCORRECT RECU !

raphaelthurnherr commented 6 years ago

Need to enable during compilation and to be tested...

2018-07-04 20:06 GMT+02:00 CyaNn notifications@github.com:

When I send :

{ "MsgID": 0, "MsgTo": "algo_973a", "MsgFrom": "algo", "MsgData": { "MsgType": "command", "MsgParam": "servo", "MsgValue": [ { "servo": 0, "state": "on", "angle": 45 } ] } }

I receive : algo_973a -> Message ID: 0 -> algo_973 -> MESSAGE ALGOID INCORRECT RECU !

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/raphaelthurnherr/algobot_onionOmega/issues/24, or mute the thread https://github.com/notifications/unsubscribe-auth/ALDxTQhNbXUkqIWG3wy4T4Q1Lqvcn1R-ks5uDQQggaJpZM4VC6Do .

raphaelthurnherr commented 6 years ago

Servomotor are now functionnal on version 1.4.0 Please use this message with param "servo" and Value with "pwm"

{
  "MsgID": 0,
  "MsgTo": "algo_973a",
  "MsgFrom": "algo",
  "MsgData": {
    "MsgType": "command",
    "MsgParam": "servo",
    "MsgValue": [
      {
        "pwm": 0,
        "state": "on",
        "position": 100
      }
    ]
  }
}