Quantcast
Channel: ArduPlane - ArduPilot Discourse
Viewing all articles
Browse latest Browse all 7846

About source code of Ardupilot (ArduPlane)

$
0
0

@nakamura-shun wrote:

Hello,

I’m a university student in Japan. I am researching on automatic control of fixed wing UAV, and I want to experiment with Pixhawk.
Specifically, I’m going to add a flight mode based on my control law to the ArduPilot code and load it into Pixhawk through the Mission Planer.
In the control law, inputs (steering angle, thrust) are generated from the state quantities (velocity, angular velocity, position, angle) of the aircraft.

I’m currently reading the code for ArduPilot on github, but I’m struggling because I’m a C++ beginner, the structure is complicated, and the comments aren’t my native language.

The questions I want to ask are
Which header file can be used to obtain the state quantities, and what are the variable’s name?
What variable’s name are used to define the inputs to the aircraft and in which file should it be included?

Thank you

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 7846

Trending Articles