lmc_listener.h
Go to the documentation of this file.
00001 
00002 
00007 #ifndef LMC_LISTENER_H
00008 #define LMC_LISTENER_H
00009 
00010 #include "ros/ros.h"
00011 #include "Leap.h"
00012 
00013 using namespace Leap;
00014 
00015 class LeapListener : public Listener
00016 {
00017     public:
00018         LeapListener();
00019         LeapListener(bool args[7]);
00020         virtual void onConnect(const Controller&);
00021         virtual void onInit(const Controller&);
00022         virtual void onDisconnect(const Controller&);
00023         virtual void onExit(const Controller&);
00024         virtual void onFrame(const Controller&);
00025 
00026         ros::Publisher ros_publisher;
00027         std::string header_frame_id_;
00028 
00029         bool enable_controller_info_;
00030         bool enable_frame_info_;
00031         bool enable_hand_info_;
00032         
00033         bool enable_gesture_circle_;
00034         bool enable_gesture_swipe_;
00035         bool enable_gesture_screen_tap_;
00036         bool enable_gesture_key_tap_;
00037 };
00038 
00039 #endif /* LMC_LISTENER_H */


leap_motion
Author(s): Florian Lier , Mirza Shah , Isaac IY Saito
autogenerated on Sat Jun 8 2019 18:47:25