Skip to content

Commit

Permalink
fix bracket in ins_xsens
Browse files Browse the repository at this point in the history
  • Loading branch information
flixr committed Apr 1, 2011
1 parent b324250 commit 03bb0e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sw/airborne/modules/ins/ins_xsens.c
Expand Up @@ -210,7 +210,7 @@ void handle_ins_msg( void) {
gps.ned_vel.z = (int16_t)(ins_vz * 100);
gps.gspeed = (uint16_t)(sqrt(ins_vx*ins_vx + ins_vy*ins_vy) * 100);

EstimatorSetAtt(ins_phi, ((float)gps.course) / 1e7, ins_theta);
EstimatorSetAtt(ins_phi, ((float)gps.course / 1e7), ins_theta);
// EstimatorSetAlt(ins_z);
estimator_update_state_gps();
reset_gps_watchdog();
Expand Down

0 comments on commit 03bb0e6

Please sign in to comment.