Skip to content

diegojfer/MAVLinkParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

#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;
	}

About

Open-source arduino library to decode MAVLink messages.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages