[ins] remove ins_periodic

This commit is contained in:
Felix Ruess
2015-03-02 22:18:14 +01:00
parent f987b34458
commit a6670c6d4f
5 changed files with 4 additions and 18 deletions
+4 -1
View File
@@ -634,7 +634,10 @@ void sensors_task(void)
gps_periodic_check();
#endif
ins_periodic();
//FIXME: temporary hack, remove me
#if USE_INS_MODULE
xsens_periodic();
#endif
}
-5
View File
@@ -256,11 +256,6 @@ void ins_init(void)
xsens_init();
}
void ins_periodic(void)
{
xsens_periodic();
}
void ins_update_gps(void)
{
struct UtmCoor_f utm;
-5
View File
@@ -188,11 +188,6 @@ void ins_init(void)
xsens_init();
}
void ins_periodic(void)
{
xsens_periodic();
}
void ins_update_gps(void)
{
struct UtmCoor_f utm;
-2
View File
@@ -38,7 +38,6 @@ struct Ins ins;
// weak functions, used if not explicitly provided by implementation
void WEAK ins_periodic(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))) {}
#endif
void WEAK ins_propagate(float dt __attribute__((unused))) {}
void WEAK ins_update_gps(void) {}
-5
View File
@@ -49,11 +49,6 @@ extern struct Ins ins;
*/
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.
* Reset horizontal and vertical reference to the current position.
* Does nothing if not implemented by specific INS algorithm.