Functions
mavros.cpp File Reference

MAVROS class. More...

#include <ros/console.h>
#include <mavros/mavros.h>
#include <mavros/utils.h>
#include <fnmatch.h>
#include <mavlink/config.h>
#include <mavconn/mavlink_dialect.h>
Include dependency graph for mavros.cpp:

Go to the source code of this file.

Functions

static bool is_blacklisted (std::string &pl_name, ros::V_string &blacklist, ros::V_string &whitelist)
 Checks that plugin blacklisted. More...
 
bool is_mavlink_message_t (const size_t rt)
 
static bool pattern_match (std::string &pattern, std::string &pl_name)
 

Detailed Description

MAVROS class.

Author
Vladimir Ermakov vooon.nosp@m.341@.nosp@m.gmail.nosp@m..com

Definition in file mavros.cpp.

Function Documentation

static bool is_blacklisted ( std::string &  pl_name,
ros::V_string blacklist,
ros::V_string whitelist 
)
static

Checks that plugin blacklisted.

Operation algo:

  1. if blacklist and whitelist is empty: load all
  2. if blacklist is empty and whitelist non empty: assume blacklist is ["*"]
  3. if blacklist non empty: usual blacklist behavior
  4. if whitelist non empty: override blacklist
Note
Issue #257.

Definition at line 266 of file mavros.cpp.

bool is_mavlink_message_t ( const size_t  rt)
inline

Definition at line 282 of file mavros.cpp.

static bool pattern_match ( std::string &  pattern,
std::string &  pl_name 
)
static

Definition at line 239 of file mavros.cpp.



mavros
Author(s): Vladimir Ermakov
autogenerated on Mon Jul 8 2019 03:20:11