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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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)