Peter BarkerandClaude Sonnet 4.6 482a6efe87 AP_Mount: use MAVLink field len defines and strncpy_noterm for camera_information strings
Replace hardcoded buffer sizes (32, 140) with MAVLINK_MSG_CAMERA_INFORMATION_FIELD_*_LEN
defines in Siyi, Viewpro, Topotek, and Xacti backends. Use strncpy_noterm (which omits
the null terminator only when the string fills the field, as MAVLink allows) in place of
strncpy for copies into vendor_name and model_name send buffers. Also cap the Topotek
gimbal_model_name_analyse strncpy to sizeof(_model_name)-1 to ensure null termination,
and document _model_name as always null-terminated in both Viewpro and Topotek headers.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 08:45:08 +10:00
2026-04-01 10:53:44 +09:00
…
2026-04-04 12:48:24 +11:00
…
…
…
…

ArduPilot Project

Discord

Test Copter Test Plane Test Rover Test Sub Test Tracker

Test AP_Periph Test Chibios Test Linux SBC Test Replay

Test Unit Teststest size

Test Environment Setup

Cygwin Build Macos Build

Coverity Scan Build Status

Test Coverage

Autotest Status

OpenSSF Best Practices

ArduPilot is the most advanced, full-featured, and reliable open source autopilot software available. It has been under development since 2010 by a diverse team of professional engineers, computer scientists, and community contributors. Our autopilot software is capable of controlling almost any vehicle system imaginable, from conventional airplanes, quad planes, multi-rotors, and helicopters to rovers, boats, balance bots, and even submarines. It is continually being expanded to provide support for new emerging vehicle types.

The ArduPilot project is made up of

User Support & Discussion Forums

Developer Information

Top Contributors

How To Get Involved

License

The ArduPilot project is licensed under the GNU General Public License, version 3.

Maintainers

ArduPilot is comprised of several parts, vehicles and boards. The list below contains the people that regularly contribute to the project and are responsible for reviewing patches on their specific area.

Languages
C++ 62.3%
Python 17.7%
C 10%
Lua 4.8%
C# 2.1%
Other 2.7%