NAV

Import the package

You can import hardio_mavlink as usual with PID. In the root CMakelists.txt file of your package, after the package declaration you have to write something like:

PID_Dependency(hardio_mavlink)

It will try to install last version of the package.

If you want a specific version (recommended), for instance the currently last released version:

PID_Dependency(hardio_mavlink VERSION 3.0)

Components

This is a shared library (set of header files and a shared binary object).

exported dependencies:

include directive :

Not specified (dangerous). You can try including any or all of these headers:

#include <hardio/interfaces/mavlink_component.h>
#include <hardio/mavlink.h>
#include <hardio/protocols/mavlink.h>
#include <hardio/protocols/mavlink.hpp>
#include <hardio/protocols/mavlink/impl/command.h>
#include <hardio/protocols/mavlink/impl/heart_beat.h>
#include <hardio/protocols/mavlink/impl/manual_input.h>
#include <hardio/protocols/mavlink/impl/micro_service.h>
#include <hardio/protocols/mavlink/impl/mission.h>
#include <hardio/protocols/mavlink/impl/parameter.h>
#include <hardio/protocols/mavlink/impl/ping.h>
#include <hardio/protocols/mavlink/impl/status.h>
#include <hardio/protocols/mavlink/impl/telemetry.h>
#include <hardio/protocols/mavlink/micro_services/command.h>
#include <hardio/protocols/mavlink/micro_services/heart_beat.h>
#include <hardio/protocols/mavlink/micro_services/manual_input.h>
#include <hardio/protocols/mavlink/micro_services/micro_service.h>
#include <hardio/protocols/mavlink/micro_services/mission.h>
#include <hardio/protocols/mavlink/micro_services/parameter.h>
#include <hardio/protocols/mavlink/micro_services/ping.h>
#include <hardio/protocols/mavlink/micro_services/status.h>
#include <hardio/protocols/mavlink/micro_services/telemetry.h>

CMake usage :

In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:

PID_Component_Dependency(
				COMPONENT	your component name
				DEPEND	mavlink
				PACKAGE	hardio_mavlink)

In the CMakeLists.txt files of libraries exporting the dependency :

PID_Component_Dependency(
				COMPONENT	your component name
				EXPORT	mavlink
				PACKAGE	hardio_mavlink)

testutils

This is a shared library (set of header files and a shared binary object).

include directive :

Not specified (dangerous). You can try including any or all of these headers:

#include <testutils.h>

CMake usage :

In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:

PID_Component_Dependency(
				COMPONENT	your component name
				DEPEND	testutils
				PACKAGE	hardio_mavlink)

In the CMakeLists.txt files of libraries exporting the dependency :

PID_Component_Dependency(
				COMPONENT	your component name
				EXPORT	testutils
				PACKAGE	hardio_mavlink)