Skip to content

Commit

Permalink
AP_Scripting: fix poscontrol lua docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rmackay9 committed Sep 17, 2024
1 parent d971584 commit c27c8c2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libraries/AP_Scripting/docs/docs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3426,26 +3426,26 @@ AR_AttitudeControl = {}
function AR_AttitudeControl:get_srate() end

-- copter position controller
AC_PosControl = {}
poscontrol = {}

-- add an offset to position controller's target position, velocity and acceleration
---@param pos_offset_NED Vector3f_ud
---@param vel_offset_NED Vector3f_ud
---@param accel_offset_NED Vector3f_ud
---@return boolean
function AC_PosControl:set_posvelaccel_offset(pos_offset_NED, vel_offset_NED, accel_offset_NED) end
function poscontrol:set_posvelaccel_offset(pos_offset_NED, vel_offset_NED, accel_offset_NED) end

-- add an offset to position controller's target velocity and acceleration in autonomous modes
---@param vel_offset_NED Vector3f_ud
---@param accel_offset_NED Vector3f_ud
---@return boolean
function AC_PosControl:set_velaccel_offset(vel_offset_NED, accel_offset_NED) end
function poscontrol:set_velaccel_offset(vel_offset_NED, accel_offset_NED) end

-- get position controller's position, velocity and acceleration offsets
---@return Vector3f_ud|nil
---@return Vector3f_ud|nil
---@return Vector3f_ud|nil
function AC_PosControl:get_posvelaccel_offset() end
function poscontrol:get_posvelaccel_offset() end

-- desc
AR_PosControl = {}
Expand Down

0 comments on commit c27c8c2

Please sign in to comment.