Skip to content

Commit

Permalink
sdlog2: Update variable names used in wind_estimate
Browse files Browse the repository at this point in the history
Covariance is a measure of joint variability of two variables and should not be used to describe the variability of a single variable.
  • Loading branch information
priseborough committed Aug 10, 2017
1 parent 4830dc4 commit 48d592d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/sdlog2/sdlog2.c
Original file line number Diff line number Diff line change
Expand Up @@ -2222,8 +2222,8 @@ int sdlog2_thread_main(int argc, char *argv[])
log_msg.msg_type = LOG_WIND_MSG;
log_msg.body.log_WIND.x = buf.wind_estimate.windspeed_north;
log_msg.body.log_WIND.y = buf.wind_estimate.windspeed_east;
log_msg.body.log_WIND.cov_x = buf.wind_estimate.covariance_north;
log_msg.body.log_WIND.cov_y = buf.wind_estimate.covariance_east;
log_msg.body.log_WIND.cov_x = buf.wind_estimate.variance_north;
log_msg.body.log_WIND.cov_y = buf.wind_estimate.variance_east;
LOGBUFFER_WRITE_AND_COUNT(WIND);
}

Expand Down

0 comments on commit 48d592d

Please sign in to comment.