Hi, I'm trying to get the value of the getStrength but I'm always getting an error:
‘leap_motion_controller::Set_<std::allocator >::lefthand_type’ has no member named ‘grabStrength’
This is my code, I took from the sample and tried to use grab strength member
std::cout << std::fixed << std::setprecision(4)
<< " Position of Left Hand: x= " << ros_msg.left_hand.palm_pose.pose.position.x
<< " y= " << ros_msg.left_hand.palm_pose.pose.position.y
<< " z= " << ros_msg.left_hand.palm_pose.pose.position.z
<< ", grab strength: " << ros_msg.left_hand.grabStrength();
<< std::endl;
Have in mind that I'm developng in 2.3v and in c++. Can anyone tell me what I'm doing wrong since I can't find documentation on this