Skip to content

Commit

Permalink
AP_NavEKF3: derivation: don't generate unused equations
Browse files Browse the repository at this point in the history
The code is left in for the future when they might be used.
  • Loading branch information
tpwrules committed Sep 30, 2024
1 parent cbe0c64 commit 71f5014
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions libraries/AP_NavEKF3/derivation/generate_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -682,25 +682,25 @@ def generate_code():
# quaternion_error_propagation()
# print('Generating heading observation code ...')
# yaw_observation(P,state,R_to_earth)
print('Generating gps heading observation code ...')
gps_yaw_observation(P,state,R_to_body)
print('Generating mag observation code ...')
mag_observation_variance(P,state,R_to_body,i,ib)
mag_observation(P,state,R_to_body,i,ib)
print('Generating declination observation code ...')
declination_observation(P,state,ix,iy)
print('Generating airspeed observation code ...')
tas_observation(P,state,vx,vy,vz,wx,wy)
print('Generating sideslip observation code ...')
beta_observation(P,state,R_to_body,vx,vy,vz,wx,wy)
print('Generating optical flow observation code ...')
optical_flow_observation(P,state,R_to_body,vx,vy,vz)
print('Generating body frame velocity observation code ...')
body_frame_velocity_observation(P,state,R_to_body,vx,vy,vz)
# print('Generating gps heading observation code ...')
# gps_yaw_observation(P,state,R_to_body)
# print('Generating mag observation code ...')
# mag_observation_variance(P,state,R_to_body,i,ib)
# mag_observation(P,state,R_to_body,i,ib)
# print('Generating declination observation code ...')
# declination_observation(P,state,ix,iy)
# print('Generating airspeed observation code ...')
# tas_observation(P,state,vx,vy,vz,wx,wy)
# print('Generating sideslip observation code ...')
# beta_observation(P,state,R_to_body,vx,vy,vz,wx,wy)
# print('Generating optical flow observation code ...')
# optical_flow_observation(P,state,R_to_body,vx,vy,vz)
# print('Generating body frame velocity observation code ...')
# body_frame_velocity_observation(P,state,R_to_body,vx,vy,vz)
# print('Generating body frame acceleration observation code ...')
# body_frame_accel_observation(P,state,R_to_body,vx,vy,vz,wx,wy)
print('Generating yaw estimator code ...')
yaw_estimator()
# print('Generating yaw estimator code ...')
# yaw_estimator()
print('Code generation finished!')


Expand Down

0 comments on commit 71f5014

Please sign in to comment.