Andrew Tridgell
|
60f266da19
|
AP_Mount: update for new find_serial() interface
|
10 years ago |
Matthias Badaire
|
5f432eaa2d
|
AP_Mount_Alexmos : take into account available negative numbers
uartdriver->available () function brings back a signed int, we should be carefull to avoid an endless loop if that happens.
|
10 years ago |
Randy Mackay
|
4848b03ac6
|
Mount_AlexMos: use SerialManager for init
|
10 years ago |
Randy Mackay
|
ee369f8a0d
|
Mount_AlexMos: use reference to state
|
10 years ago |
Matthias Badaire
|
24af65a41a
|
AP_Mount_Alexmos: critical fix to avoid endless loop if byte arrive to fast in serial buffer
This fix reads the number of bytes available and iterates on it instead of looking for new bytes in the serial buffer (potentially forever)
|
10 years ago |
Matthias Badaire
|
46e92f99fe
|
AP_Mount_Alexmos: use struct for CMD_CONTROL command
new struct created in header and used in control_axis function
|
10 years ago |
Matthias Badaire
|
81d60af4a8
|
AP_Mount_Alexmos : cleanup initialization of class fields
|
10 years ago |
Randy Mackay
|
93323e2136
|
Mount_Alexmos: comments and formatting
No functional change
|
10 years ago |
Matthias Badaire
|
1e5ddf3ce7
|
AP_Mount_Alexmos : make sure get_angles is called to get the real angles from the gimbal
get_angles calls the Alexmos API to get the current angles. It was not being called before.
|
10 years ago |
Matthias Badaire
|
cdeb1fb8f3
|
AP_Mount_Alexmos : changes some define to avoid conflicting
change SPEED to AP_MOUNT_ALEXMOS_SPEED and the control mode defines as well
|
10 years ago |
Matthias Badaire
|
dfc086f9e9
|
AP_Mount_Alexmos : Add Alexmos Serial support for 8bit cards
This is the initial implementation of Alemox gimbal protocol. the uart output is for the moment hard coded but should become a parameter.
|
10 years ago |