SkillAgentSearch skills...

MAVLinkParser

Open-source arduino library to decode MAVLink messages.

Install / Use

/learn @diegojfer/MAVLinkParser
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

#MAVLinkParser MAVLinkParser is an open-source library to decode MAVLink raw messages.

MAVLink Logo

Installation

To install the library, copy MAVLinkParser to libraries folder and select the library and dependencies (PRAWUtils and CRC_16_CCITT) from Sketch > Import Library in Arduino IDE.

Import libraries

Usage

To decode a message, create a MAVLinkParser instace and call function MAVLinkParser:parseChar.

	MAVLinkParser uavLink();
	
	char * msg = NULL;
	uint16_t len = 0;

	uavLink.parseChar('a', &msg, &len);
      
	if (msg != NULL) {
   		uint8_t message_id = utils_praw_uint8((uint8_t *)msg, 5);
       
    	free(msg);
   		msg = NULL;
   		len = 0;
	}
View on GitHub
GitHub Stars4
CategoryDevelopment
Updated5y ago
Forks1

Languages

C++

Security Score

55/100

Audited on Sep 14, 2020

No findings