Skip to content

Commit

Permalink
AP_Scripting: Fix Location desc method needing AHRS
Browse files Browse the repository at this point in the history
  • Loading branch information
magicrub committed Oct 13, 2023
1 parent 2cb1f9b commit 4d035be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libraries/AP_Scripting/generator/description/bindings.desc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ userdata Location method offset void float'skip_check float'skip_check
userdata Location method offset_bearing void float'skip_check float'skip_check
userdata Location method offset_bearing_and_pitch void float'skip_check float'skip_check float'skip_check
userdata Location method get_vector_from_origin_NEU boolean Vector3f'Null
userdata Location method get_vector_from_origin_NEU depends AP_AHRS_ENABLED
userdata Location method get_bearing float Location
userdata Location method get_distance_NED Vector3f Location
userdata Location method get_distance_NE Vector2f Location
Expand All @@ -25,6 +26,7 @@ userdata Location method copy Location
include AP_AHRS/AP_AHRS.h

singleton AP_AHRS rename ahrs
singleton AP_AHRS depends AP_AHRS_ENABLED
singleton AP_AHRS semaphore
singleton AP_AHRS method get_roll float
singleton AP_AHRS method get_pitch float
Expand Down

0 comments on commit 4d035be

Please sign in to comment.