Commit Graph
3 Commits
Author SHA1 Message Date
Peter Duerr b44cf06ace Fix pointer arithmetic in EKF logging
* sizeof returns byte, but buf.estimator_status.states and
  buf.estimator_status.covariances are float pointers
2015-12-07 08:52:19 +01:00
Peter Duerr 6b78b72ab2 Fix code style according to astyle 2015-12-04 14:53:59 +09:00
Peter Duerr c070d326e0 Avoid violation of acos' domain in map_projection
* There are pathological cases (e.g., setpoint very close to reference
  for certain reference latitudes), where numerical errors lead to a sum
  larger than 1.0 passed to acos, resulting in NaN values.

This should fix issue #2813
2015-12-04 14:14:31 +09:00