Skip to content

Commit

Permalink
Hide code when using LH as ground truth
Browse files Browse the repository at this point in the history
to fix compilation error
  • Loading branch information
krichardsson committed Oct 24, 2023
1 parent 2733505 commit 7ae404b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/modules/src/lighthouse/lighthouse_position_est.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@
static STATS_CNT_RATE_DEFINE(positionRate, ONE_SECOND);
static STATS_CNT_RATE_DEFINE(estBs0Rate, HALF_SECOND);
static STATS_CNT_RATE_DEFINE(estBs1Rate, HALF_SECOND);

#ifndef CONFIG_DECK_LIGHTHOUSE_AS_GROUNDTRUTH
static statsCntRateLogger_t* bsEstRates[CONFIG_DECK_LIGHTHOUSE_MAX_N_BS] = {&estBs0Rate, &estBs1Rate};
#endif

// The light planes in LH2 are tilted +- 30 degrees
static const float t30 = M_PI / 6;
Expand Down

0 comments on commit 7ae404b

Please sign in to comment.