Functions | Variables
gcs_image_bridge.cpp File Reference

MAVROS GCS proxy with Image sender. More...

#include <ros/ros.h>
#include <ros/console.h>
#include <mavros/utils.h>
#include <mavros/mavlink_diag.h>
#include <mavconn/interface.h>
#include <sensor_msgs/image_encodings.h>
#include <image_transport/image_transport.h>
#include <cv_bridge/cv_bridge.h>
#include <opencv2/opencv.hpp>
Include dependency graph for gcs_image_bridge.cpp:

Go to the source code of this file.

Functions

void image_cb (const sensor_msgs::Image::ConstPtr &img_msg)
int main (int argc, char *argv[])
void mavlink_pub_cb (const mavlink_message_t *mmsg, uint8_t sysid, uint8_t compid)
void mavlink_sub_cb (const mavros_msgs::Mavlink::ConstPtr &rmsg)
void send_jpeg_image (std::vector< uint8_t > &jpeg_buffer, int jpeg_quality, int height, int width)

Variables

MAVConnInterface::Ptr gcs_link
int jpeg_quality
ros::Publisher mavlink_pub

Detailed Description

MAVROS GCS proxy with Image sender.

Author:
Vladimir Ermakov <vooon341@gmail.com>

Definition in file gcs_image_bridge.cpp.


Function Documentation

void image_cb ( const sensor_msgs::Image::ConstPtr img_msg)

Definition at line 104 of file gcs_image_bridge.cpp.

int main ( int  argc,
char *  argv[] 
)

Definition at line 150 of file gcs_image_bridge.cpp.

void mavlink_pub_cb ( const mavlink_message_t mmsg,
uint8_t  sysid,
uint8_t  compid 
)

Definition at line 34 of file gcs_image_bridge.cpp.

Definition at line 43 of file gcs_image_bridge.cpp.

void send_jpeg_image ( std::vector< uint8_t > &  jpeg_buffer,
int  jpeg_quality,
int  height,
int  width 
)

Definition at line 53 of file gcs_image_bridge.cpp.


Variable Documentation

Definition at line 31 of file gcs_image_bridge.cpp.

Definition at line 30 of file gcs_image_bridge.cpp.

Definition at line 32 of file gcs_image_bridge.cpp.



mavros_extras
Author(s): Vladimir Ermakov
autogenerated on Sat Jun 8 2019 19:55:27