Navigating through the code to find a function

Hi, I’m working on a project with a UAV with AC 4. For that I need to find GCS_Mavlink files and send_heartbeat function. Can someone point me out in the direction to find them?

Hello,
Try to look in librarie folder, you should find the files you want.
Otherwise, I advice you to follow our document on how to navigate on the code with an IDE like VSCode for example. It would help you a lot to find the right function and understand the code flow

Can you point me out to that document? I have visual studio so it will be nice to have it with arducopter code.

Please all the information in the documentation https://ardupilot.org/ardupilot/

There’s a feature in Visual Studio for that. Select the function, then press F12. This must take you to the implementation of that function. Also works for variables and classes.