dji_sdk_test.h
Go to the documentation of this file.
00001 #include "gtest/gtest.h"
00002 #include <dji_sdk/dji_sdk_node.h>
00003 #include <std_msgs/UInt8.h>
00004 
00005 using namespace DJI::onboardSDK;
00006 
00007 DJI::onboardSDK::ROSAdapter *rosAdapter;
00008 DJISDKNode *djiSDKNode;
00009 
00010 class dji_sdk_node : public testing::Test {
00011  protected:
00012   virtual void SetUp();
00013   virtual void TearDown();
00014 
00015   ros::Subscriber activation_subscriber;
00016   ros::Publisher activation_publisher;
00017 
00018   uint8_t activation;
00019 
00020  public:
00021   void activation_subscriber_callback(std_msgs::UInt8 activation){
00022       this->activation = activation.data;
00023   }
00024 
00025 };
00026 


dji_sdk
Author(s): Botao Hu
autogenerated on Thu Jun 6 2019 17:55:30