CanServo/Set Target Position on Servo Mode/en

From HITEC_HELP
Revision as of 03:16, 18 September 2021 by Choiyh (talk | contribs) (Created page with " Please Read First: * CanServo/Register/Write/en Target = +60 deg * POSITION_NEW = 8192 + 60 * 16384 / 360 = 0x2AAA Servo's Config: * CanServo/MODE/CAN = 2.0B * Ca...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Please Read First:

Target = +60 deg

  • POSITION_NEW = 8192 + 60 * 16384 / 360 = 0x2AAA

Servo's Config:

Please SEND CAN 2.0B PACKET:

  • CAN ID = 0x123
  • DLC = 5
  • DATA
    • 'w' - message type: write 1 register
    • 0x45 - target servo id
    • 0x1E - CanServo/POSITION_NEW/en
    • 0xAA - low byte of 0x2AAA
    • 0x2A - high byte of 0x2AAA