Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ArduPilot/ardupilot
/ functions
Functions
24,809 in github.com/ArduPilot/ardupilot
⨍
Functions
24,809
◇
Types & classes
5,738
↳
Endpoints
26
↓ 98 callers
Function
error
libraries/AP_Scripting/generator/src/main.c:210
↓ 96 callers
Method
to_euler
libraries/AP_Math/matrix3.cpp:49
↓ 95 callers
Method
begin
libraries/AP_HAL/UARTDriver.cpp:7
↓ 95 callers
Method
update
(self)
Tools/autotest/vehicle_test_suite.py:342
↓ 91 callers
Function
be16toh
libraries/AP_HAL/utility/sparse-endian.h:94
↓ 91 callers
Method
save
put variable into queue to be saved */
libraries/AP_Param/AP_Param.cpp:1255
↓ 89 callers
Method
kP
set accessors
libraries/AC_PID/AC_PI_2D.h:58
↓ 88 callers
Method
get_distance
return horizontal distance in meters between two locations
libraries/AP_Common/Location.cpp:283
↓ 88 callers
Method
set
sets roll, pitch, yaw and yaw_is_ef
libraries/AP_Mount/AP_Mount_Backend.cpp:787
↓ 87 callers
Method
get_pid_info
returns a PID_Info object if there is one available for the selected landing type, otherwise returns a nullptr, indicating no data to be logged/sent
libraries/AP_Landing/AP_Landing.cpp:453
↓ 87 callers
Function
strncmp
simple variant of std c function to reduce used flash space
Tools/AP_Bootloader/support.cpp:408
↓ 87 callers
Method
write
libraries/AP_Notify/NCP5623.cpp:45
↓ 85 callers
Method
get_config
get a value from config dictionary
libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py:659
↓ 85 callers
Function
luaL_error
** Again, the use of 'lua_pushvfstring' ensures this function does ** not need reserved stack space when called. (At worst, it generates ** an error w
libraries/AP_Scripting/lua/src/lauxlib.c:226
↓ 85 callers
Method
wait_groundspeed
(self, speed_min, speed_max, timeout=30, **kwargs)
Tools/autotest/vehicle_test_suite.py:7422
↓ 84 callers
Method
add
Add a result.
Tools/autotest/autotest.py:602
↓ 83 callers
Method
expect
a simple function to wait for a string on jsbsim_stdout */
libraries/SITL/SIM_JSBSim.cpp:273
↓ 83 callers
Method
rotate
libraries/AP_Math/matrix3.cpp:115
↓ 83 callers
Function
wrap_360_cd
libraries/AP_Math/AP_Math.cpp:210
↓ 82 callers
Method
normalize
libraries/AP_Math/matrix3.cpp:128
↓ 81 callers
Method
load_mission
(self, filename, strict=True)
Tools/autotest/vehicle_test_suite.py:5278
↓ 81 callers
Method
parse_args
Wrap parse_args so we can catch the exception raised upon discovering the known parameter parsing error
Tools/autotest/sim_vehicle.py:132
↓ 81 callers
Method
set_and_save_ifchanged
libraries/AP_Param/AP_ParamT.cpp:81
↓ 81 callers
Method
set_default
libraries/AP_Param/AP_ParamT.cpp:35
↓ 80 callers
Method
customise_SITL_commandline
customisations could be "--serial5=sim:nmea"
Tools/autotest/vehicle_test_suite.py:3213
↓ 80 callers
Method
wait_heading
Wait for a given heading.
Tools/autotest/vehicle_test_suite.py:7719
↓ 77 callers
Method
get_gyro
libraries/AP_ExternalAHRS/AP_ExternalAHRS.cpp:303
↓ 75 callers
Function
safe_sqrt
libraries/AP_Math/AP_Math.cpp:71
↓ 74 callers
Method
get_location
* Convert/Extract a Location from a vehicle */
libraries/AP_ADSB/AP_ADSB.cpp:468
↓ 73 callers
Function
panic
libraries/AP_HAL_Linux/system.cpp:32
↓ 73 callers
Method
tofloat
conversion to/from double */
libraries/AP_Math/vector3.h:277
↓ 72 callers
Method
apply
filter values through a median sliding window followed by low pass filter this eliminates temporary spikes in the detected frequency that are either p
libraries/AP_GyroFFT/AP_GyroFFT.cpp:1281
↓ 72 callers
Method
serial
access serial ports using SERIALn numbering
libraries/AP_HAL/HAL.h:164
↓ 71 callers
Method
error
show an error and exit
libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py:149
↓ 71 callers
Method
load
Load the variable from EEPROM, if supported
libraries/AP_Param/AP_Param.cpp:1316
↓ 70 callers
Method
add_cmd
add_cmd - adds a command to the end of the command list and writes to storage returns true if successfully added, false on failure cmd.index is update
libraries/AP_Mission/AP_Mission.cpp:499
↓ 70 callers
Method
set_alt_cm
libraries/AP_Common/Location.cpp:59
↓ 69 callers
Function
fe_mul
Precondition ------------- |f0|, |f2|, |f4|, |f6|, |f8| < 1.65 * 2^26 |f1|, |f3|, |f5|, |f7|, |f9| < 1.65 * 2^25 |g0|, |g2|, |g4|, |g6|, |g8| <
libraries/AP_CheckFirmware/monocypher.cpp:1314
↓ 69 callers
Method
status
Query GPS status
libraries/AP_GPS/AP_GPS.h:287
↓ 68 callers
Method
do_RTL
Enter RTL mode and wait for the vehicle to disarm at Home.
Tools/autotest/arducopter.py:398
↓ 68 callers
Function
htobe16
libraries/AP_HAL/utility/sparse-endian.h:86
↓ 68 callers
Function
linear_interpolate
* linear interpolation based on a variable in a range */
libraries/AP_Math/AP_Math.cpp:98
↓ 67 callers
Method
length_squared
libraries/AP_Math/vector2.cpp:24
↓ 67 callers
Method
write_register
write registers with retries. The SPI sensor may take several tries to correctly write a register */
libraries/AP_InertialSensor/AP_InertialSensor_BMI270.cpp:256
↓ 66 callers
Method
transposed
libraries/AP_Math/matrix3.cpp:182
↓ 63 callers
Function
finishESCVelocityPacket
Complete a packet after the data have been encoded
libraries/AP_PiccoloCAN/AP_PiccoloCAN_ESC.cpp:104
↓ 63 callers
Function
getESCVelocityPacketData
\return the packet data pointer from the packet
libraries/AP_PiccoloCAN/AP_PiccoloCAN_ESC.cpp:88
↓ 63 callers
Function
getESCVelocityPacketDataConst
\return the packet data pointer from the packet, const
libraries/AP_PiccoloCAN/AP_PiccoloCAN_ESC.cpp:96
↓ 63 callers
Function
getESCVelocityPacketID
\return the ID of a packet from the packet header
libraries/AP_PiccoloCAN/AP_PiccoloCAN_ESC.cpp:143
↓ 63 callers
Function
getESCVelocityPacketSize
\return the size of a packet from the packet header
libraries/AP_PiccoloCAN/AP_PiccoloCAN_ESC.cpp:135
↓ 62 callers
Method
pop
pop earliest object off the queue */
libraries/AP_HAL/utility/RingBuffer.h:532
↓ 62 callers
Method
read_registers
read registers, special SPI handling needed */
libraries/AP_Baro/AP_Baro_BMP388.cpp:237
↓ 62 callers
Function
reset
reset path (i.e. clear path and add home) and upload "test_path_before" to smart_rtl
libraries/AP_SmartRTL/examples/SmartRTL_test/SmartRTL_test.cpp:84
↓ 62 callers
Method
set_speed
libraries/AP_HAL_QURT/SPIDevice.cpp:56
↓ 61 callers
Function
constrain_int32
libraries/AP_Math/AP_Math.h:189
↓ 61 callers
Method
get_alt_cm
get altitude in desired frame
libraries/AP_Common/Location.cpp:116
↓ 60 callers
Function
lua_pushvalue
libraries/AP_Scripting/lua/src/lapi.c:237
↓ 59 callers
Method
get_altitude
returns vehicles altitude in metres, possibly relative-to-home
Tools/autotest/vehicle_test_suite.py:7235
↓ 59 callers
Method
pack
pack into a block
libraries/AP_Terrain/tools/create_terrain.py:232
↓ 59 callers
Method
start_subsubtest
(self, description)
Tools/autotest/vehicle_test_suite.py:12251
↓ 58 callers
Method
mode_number
ArduCopter/mode.h:1413
↓ 58 callers
Method
wait_current_waypoint
(self, wpnum, timeout=70)
Tools/autotest/vehicle_test_suite.py:8158
↓ 57 callers
Method
offset
extrapolate latitude/longitude given distances (in meters) north and east
libraries/AP_Common/Location.cpp:363
↓ 57 callers
Method
set_mode
set_mode - change flight mode and perform any necessary initialisation optional force parameter used to force the flight mode change (used only first
ArduCopter/mode.cpp:251
↓ 56 callers
Method
end_subtest
TODO: sanity checks?
Tools/autotest/vehicle_test_suite.py:12256
↓ 56 callers
Function
finishECUPacket
Complete a packet after the data have been encoded
libraries/AP_PiccoloCAN/AP_PiccoloCAN_ECU.cpp:49
↓ 56 callers
Function
getECUPacketData
\return the packet data pointer from the packet
libraries/AP_PiccoloCAN/AP_PiccoloCAN_ECU.cpp:33
↓ 56 callers
Function
getECUPacketDataConst
\return the packet data pointer from the packet, const
libraries/AP_PiccoloCAN/AP_PiccoloCAN_ECU.cpp:41
↓ 56 callers
Function
getECUPacketID
\return the ID of a packet from the packet header
libraries/AP_PiccoloCAN/AP_PiccoloCAN_ECU.cpp:86
↓ 56 callers
Function
getECUPacketSize
\return the size of a packet from the packet header
libraries/AP_PiccoloCAN/AP_PiccoloCAN_ECU.cpp:78
↓ 56 callers
Function
lua_pushinteger
libraries/AP_Scripting/lua/src/lapi.c:466
↓ 54 callers
Method
get_loop_rate_hz
get the active main loop rate
libraries/AP_HAL_ESP32/Scheduler.cpp:504
↓ 54 callers
Method
get_state
ArduPlane/quadplane.h:510
↓ 54 callers
Function
rand_float
generate a random float between -1 and 1
libraries/AP_Math/AP_Math.cpp:343
↓ 53 callers
Function
asprintf
libraries/AP_HAL_QURT/replace.cpp:70
↓ 53 callers
Method
assert_prearm_failure
(self, expected_statustext, timeout=5,
Tools/autotest/vehicle_test_suite.py:8386
↓ 53 callers
Method
configured
libraries/AP_Param/AP_Param.cpp:1433
↓ 52 callers
Function
calloc
libraries/AP_HAL_ChibiOS/hwdef/common/malloc.c:408
↓ 52 callers
Method
enabled
return true if the user has set ENABLE
ArduPlane/quadplane.h:146
↓ 52 callers
Method
get
libraries/AP_Relay/AP_Relay.cpp:496
↓ 52 callers
Method
get_driver_index
libraries/AP_DroneCAN/AP_DroneCAN.h:100
↓ 52 callers
Method
get_yaw
libraries/AP_AHRS/AP_AHRS.h:561
↓ 52 callers
Function
malloc
allocate normal memory */
libraries/AP_HAL_ChibiOS/hwdef/common/malloc.c:361
↓ 52 callers
Method
run_cmd_int
(self, command, p1=0, p2=0, p3
Tools/autotest/vehicle_test_suite.py:6570
↓ 50 callers
Method
fly_home_land_and_disarm
(self, timeout=180)
Tools/autotest/arduplane.py:1019
↓ 50 callers
Method
register_periodic_callback
libraries/AP_HAL_ChibiOS/Device.cpp:105
↓ 50 callers
Method
set_cutoff_frequency
libraries/AP_GyroFFT/AP_GyroFFT.h:153
↓ 50 callers
Method
update
libraries/AP_HAL_SITL/SITL_Periph_State.cpp:230
↓ 50 callers
Method
update_z_controller
update_z_controller - runs the vertical position controller correcting position, velocity and acceleration errors. Position and velocity errors are co
libraries/AC_AttitudeControl/AC_PosControl.cpp:989
↓ 50 callers
Method
wait_heartbeat
as opposed to mav.wait_heartbeat, raises an exception on timeout. Also, ignores heartbeats not from our target system
Tools/autotest/vehicle_test_suite.py:8484
↓ 50 callers
Function
wrap_180
libraries/AP_Math/AP_Math.cpp:147
↓ 49 callers
Method
find_serial
find_serial - searches available serial ports for the first instance that allows the given protocol instance should be zero if searching for the first
libraries/AP_SerialManager/AP_SerialManager.cpp:630
↓ 49 callers
Function
lua_gettop
libraries/AP_Scripting/lua/src/lapi.c:167
↓ 49 callers
Method
progress
pretty-print progress
Tools/scripts/build_binaries.py:80
↓ 49 callers
Method
set_kP
libraries/AC_PID/AC_P.h:59
↓ 49 callers
Method
zero_throttle
Set throttle to zero.
Tools/autotest/vehicle_test_suite.py:5773
↓ 48 callers
Method
decode
(self)
Tools/scripts/decode_watchdog.py:28
↓ 48 callers
Method
get_velocity_NED
return a ground velocity in meters/second, North/East/Down order. Must only be called if have_inertial_nav() is true
libraries/AP_AHRS/AP_AHRS.cpp:3585
↓ 48 callers
Function
lua_pushstring
libraries/AP_Scripting/lua/src/lapi.c:491
↓ 48 callers
Method
pinMode
libraries/AP_HAL_SITL/GPIO.cpp:15
← previous
next →
101–200 of 24,809, ranked by callers