mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-21 11:54:15 +01:00
Posix: Add the constants for telemetry queue sizes and also make the actuator
SetHz calls compatible with the PiOS API change git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2672 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
d33d044088
commit
c3aa5ed8f3
@ -37,8 +37,8 @@
|
|||||||
#define PIOS_INCLUDE_FREERTOS
|
#define PIOS_INCLUDE_FREERTOS
|
||||||
#define PIOS_INCLUDE_COM
|
#define PIOS_INCLUDE_COM
|
||||||
#define PIOS_INCLUDE_UDP
|
#define PIOS_INCLUDE_UDP
|
||||||
#define PIOS_INCLUDE_SERVO
|
#define PIOS_INCLUDE_SERVO
|
||||||
|
|
||||||
|
|
||||||
/* Defaults for Logging */
|
/* Defaults for Logging */
|
||||||
#define LOG_FILENAME "PIOS.LOG"
|
#define LOG_FILENAME "PIOS.LOG"
|
||||||
@ -54,5 +54,6 @@
|
|||||||
#define SERVOS_POSITION_MIN 800
|
#define SERVOS_POSITION_MIN 800
|
||||||
#define SERVOS_POSITION_MAX 2200
|
#define SERVOS_POSITION_MAX 2200
|
||||||
|
|
||||||
|
#define TELEM_QUEUE_SIZE 20
|
||||||
|
#define TELEM_STACK_SIZE 2048
|
||||||
#endif /* PIOS_CONFIG_POSIX_H */
|
#endif /* PIOS_CONFIG_POSIX_H */
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
/* Public Functions */
|
/* Public Functions */
|
||||||
extern void PIOS_Servo_Init(void);
|
extern void PIOS_Servo_Init(void);
|
||||||
extern void PIOS_Servo_SetHz(uint16_t onetofour, uint16_t fivetoeight);
|
extern void PIOS_Servo_SetHz(uint16_t * speeds, uint8_t num_banks);
|
||||||
extern void PIOS_Servo_Set(uint8_t Servo, uint16_t Position);
|
extern void PIOS_Servo_Set(uint8_t Servo, uint16_t Position);
|
||||||
|
|
||||||
#endif /* PIOS_SERVO_H */
|
#endif /* PIOS_SERVO_H */
|
||||||
|
@ -50,7 +50,7 @@ void PIOS_Servo_Init(void)
|
|||||||
* \param[in] onetofour Rate for outputs 1 to 4 (Hz)
|
* \param[in] onetofour Rate for outputs 1 to 4 (Hz)
|
||||||
* \param[in] fivetoeight Rate for outputs 5 to 8 (Hz)
|
* \param[in] fivetoeight Rate for outputs 5 to 8 (Hz)
|
||||||
*/
|
*/
|
||||||
void PIOS_Servo_SetHz(uint16_t onetofour, uint16_t fivetoeight)
|
void PIOS_Servo_SetHz(uint16_t * banks, uint8_t num_banks)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user