4 #include "leap_motion/Human.h" 6 #include "../inc/lmc_listener.h" 11 int main(
int argc,
char** argv) {
19 nh.
getParam(
"/enable_controller_info", setup_params[0] );
20 nh.
getParam(
"/enable_frame_info", setup_params[1] );
21 nh.
getParam(
"/enable_hand_info", setup_params[2] );
23 nh.
getParam(
"/enable_gesture_circle", setup_params[3] );
24 nh.
getParam(
"/enable_gesture_swipe", setup_params[4] );
25 nh.
getParam(
"/enable_gesture_screen_tap", setup_params[5] );
26 nh.
getParam(
"/enable_gesture_key_tap", setup_params[6] );
36 controller.removeListener(listener);
LEAP_EXPORT bool addListener(Listener &listener)
int main(int argc, char **argv)
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
ROSCPP_DECL void spin(Spinner &spinner)
Publisher advertise(const std::string &topic, uint32_t queue_size, bool latch=false)
bool getParam(const std::string &key, std::string &s) const
ros::Publisher ros_publisher