Menu

How to check that rot_speed function is accepted by MD-01 equipment?

Help
2024-04-18
2024-04-19
  • ATTANASIO Barthélémy

    Hello,

    I am using an MD-01 equipment, and I want to control it with a Computer through USB link. The USB connection is successful. I can control it in position using the rot_set_position function but when I try to use the rot_speed function, it is not working.

    Is there anyway to check if the MD-01 is compatible with a command in speed?
    In fact, when I am using the rot_speed function, it returns -11. This seems to me that the rot_speed function is not accepted.

    Thanks for the help,
    Barthélémy

     
  • ATTANASIO Barthélémy

    Problem solved:

    I am using the MD-01 Controller and the SPX-06/AzEl/ABS motors and sensors.
    I used the wrong model declaration. I believed, there were no difference but it seems that yes, there is a difference between:
    - ROT rotator = rot_init(ROT_MODEL_SPID_MD01_ROT2PROG)
    - instead of: ROT
    rotator = rot_init(ROT_MODEL_SPID_ROT2PROG)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.