mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-31 03:57:45 +08:00
[ins] remove ins_periodic
This commit is contained in:
@@ -634,7 +634,10 @@ void sensors_task(void)
|
|||||||
gps_periodic_check();
|
gps_periodic_check();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ins_periodic();
|
//FIXME: temporary hack, remove me
|
||||||
|
#if USE_INS_MODULE
|
||||||
|
xsens_periodic();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -256,11 +256,6 @@ void ins_init(void)
|
|||||||
xsens_init();
|
xsens_init();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ins_periodic(void)
|
|
||||||
{
|
|
||||||
xsens_periodic();
|
|
||||||
}
|
|
||||||
|
|
||||||
void ins_update_gps(void)
|
void ins_update_gps(void)
|
||||||
{
|
{
|
||||||
struct UtmCoor_f utm;
|
struct UtmCoor_f utm;
|
||||||
|
|||||||
@@ -188,11 +188,6 @@ void ins_init(void)
|
|||||||
xsens_init();
|
xsens_init();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ins_periodic(void)
|
|
||||||
{
|
|
||||||
xsens_periodic();
|
|
||||||
}
|
|
||||||
|
|
||||||
void ins_update_gps(void)
|
void ins_update_gps(void)
|
||||||
{
|
{
|
||||||
struct UtmCoor_f utm;
|
struct UtmCoor_f utm;
|
||||||
|
|||||||
@@ -38,7 +38,6 @@ struct Ins ins;
|
|||||||
|
|
||||||
// weak functions, used if not explicitly provided by implementation
|
// weak functions, used if not explicitly provided by implementation
|
||||||
|
|
||||||
void WEAK ins_periodic(void) {}
|
|
||||||
|
|
||||||
void WEAK ins_reset_local_origin(void)
|
void WEAK ins_reset_local_origin(void)
|
||||||
{
|
{
|
||||||
@@ -83,7 +82,6 @@ void WEAK ins_reset_utm_zone(struct UtmCoor_f *utm)
|
|||||||
void WEAK ins_reset_utm_zone(struct UtmCoor_f *utm __attribute__((unused))) {}
|
void WEAK ins_reset_utm_zone(struct UtmCoor_f *utm __attribute__((unused))) {}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void WEAK ins_propagate(float dt __attribute__((unused))) {}
|
|
||||||
|
|
||||||
void WEAK ins_update_gps(void) {}
|
void WEAK ins_update_gps(void) {}
|
||||||
|
|
||||||
|
|||||||
@@ -49,11 +49,6 @@ extern struct Ins ins;
|
|||||||
*/
|
*/
|
||||||
extern void ins_init(void);
|
extern void ins_init(void);
|
||||||
|
|
||||||
/** INS periodic call.
|
|
||||||
* Does nothing if not implemented by specific INS algorithm.
|
|
||||||
*/
|
|
||||||
extern void ins_periodic(void);
|
|
||||||
|
|
||||||
/** INS local origin reset.
|
/** INS local origin reset.
|
||||||
* Reset horizontal and vertical reference to the current position.
|
* Reset horizontal and vertical reference to the current position.
|
||||||
* Does nothing if not implemented by specific INS algorithm.
|
* Does nothing if not implemented by specific INS algorithm.
|
||||||
|
|||||||
Reference in New Issue
Block a user