gusimplewhiteboard
|
HalArmTarget c struct. More...
#include <wb_hal_armtarget.h>
Public Member Functions | |
PROPERTY (int32_t, target_movement_time) PROPERTY(int16_t | |
Control Message: The elapsed time, in mSec, in which the movement should be completed. More... | |
target_shoulderpitch | PROPERTY (int16_t, target_shoulderroll) PROPERTY(int16_t |
target shoulder roll angle angle in 10ths of degrees More... | |
target_shoulderpitch target_elbowroll | PROPERTY (int16_t, target_elbowyaw) PROPERTY(int16_t |
target elbow yaw angle in 10ths of degrees More... | |
target_shoulderpitch target_elbowroll target_wristyaw | PROPERTY (uint8_t, target_arm) PROPERTY(uint8_t |
target arm number This property is used strictly for accounting purposes when the struct is stored within an array and the robot has numerous arms. More... | |
target_shoulderpitch target_elbowroll target_wristyaw target_hand | PROPERTY (uint8_t, target_shoulderpitchstiffness) PROPERTY(uint8_t |
target shoulder pitch stiffness as a percentage More... | |
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness | PROPERTY (uint8_t, target_elbowrollstiffness) PROPERTY(uint8_t |
target elbow roll stiffness as a percentage More... | |
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness | PROPERTY (uint8_t, target_wristyawstiffness) PROPERTY(uint8_t |
target wrist yaw stiffness as a percentage More... | |
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness | PROPERTY (uint8_t, target_pliability) BIT_PROPERTY(target_shoulderpitch_active) BIT_PROPERTY(target_shoulderroll_active) BIT_PROPERTY(target_elbowroll_active) BIT_PROPERTY(target_elbowyaw_active) BIT_PROPERTY(target_wrist_active) BIT_PROPERTY(target_hand_active) BIT_PROPERTY(target_arm_at_goal) BIT_PROPERTY(target_arm_stop) wb_hal_armtarget(uint8_t arm=0 |
target arm's pliability when in Passive Mode When the arm is passive, this value reduces the update frequency, thus making the arm more resistant to external forces. More... | |
Public Attributes | |
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t | shoulderpitch = 0 |
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t | shoulderroll = 0 |
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t | elbowroll = 0 |
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t | elbowyaw = 0 |
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t | wristyaw = 0 |
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t uint8_t | hand = 0 |
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t | shoulderpitchstiffness = 0 |
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t | shoulderrollstiffness = 0 |
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t | elbowrollstiffness = 0 |
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t | elbowyawstiffness = 0 |
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t | wristyawstiffness = 0 |
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t | handstiffness = 0 |
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t bool | shoulderpitch_active = true |
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t bool bool | shoulderroll_active = true |
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t bool bool bool | elbowroll_active = true |
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t bool bool bool bool | elbowyaw_active = true |
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t bool bool bool bool bool | wrist_active = true |
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t bool bool bool bool bool bool | hand_active = true |
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t bool bool bool bool bool bool int32_t | movement_time = INT_MAX |
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t bool bool bool bool bool bool int32_t uint8_t | pliability = 0 |
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t bool bool bool bool bool bool int32_t uint8_t bool | arm_at_goal = false |
HalArmTarget c struct.
The struct is designed around a single arm, allowing independent control of the NAO's arms.
**** IMPORTANT NOTE: **** This class only provides for movement limit detection. There is no built in collision detection. Care must be taken to ensure the fingers and forearm do not collide with the chest, thigh, or the other forearm.
Definition at line 85 of file wb_hal_armtarget.h.
target_shoulderpitch target_elbowroll wb_hal_armtarget::PROPERTY | ( | int16_t | , |
target_elbowyaw | |||
) |
target elbow yaw angle in 10ths of degrees
target wrist yaw angle in 10ths of degrees
target_shoulderpitch wb_hal_armtarget::PROPERTY | ( | int16_t | , |
target_shoulderroll | |||
) |
target shoulder roll angle angle in 10ths of degrees
target elbow roll angle in 10ths of degrees
wb_hal_armtarget::PROPERTY | ( | int32_t | , |
target_movement_time | |||
) |
Control Message: The elapsed time, in mSec, in which the movement should be completed.
Status Message: Absolute time when the current action will complete. (Thus this is an int32_t.) target shoulder pitch angle in 10ths of degrees
target_shoulderpitch target_elbowroll target_wristyaw wb_hal_armtarget::PROPERTY | ( | uint8_t | , |
target_arm | |||
) |
target arm number This property is used strictly for accounting purposes when the struct is stored within an array and the robot has numerous arms.
target hand grasper opening as a percentage 0 gripper will be clasped shut 100 gripper will be fully openned
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness wb_hal_armtarget::PROPERTY | ( | uint8_t | , |
target_elbowrollstiffness | |||
) |
target elbow roll stiffness as a percentage
target elbow yaw stiffness as a percentage
|
pure virtual |
target arm's pliability when in Passive Mode When the arm is passive, this value reduces the update frequency, thus making the arm more resistant to external forces.
Use of values from 0 to 10 is recommended. When set to zero (0), the Arm, when fully extended out, will fall under its own weight. Higher values stiffen the arm and reduce responsiveness, the movement will become stepped. Is the shoulderpitch Active (true[DEFAULT]) or Passive (false) Active : The robot's DCM will prevent movement of the arm from the requested pose in accordance to the joint stiffness. (This is the normal behaviour of the robot.) Passive: Once the requested pose is achieved, the DCM will automatically update the requested pose according to deviations in the joints. The effect of this is that the robot's arm will be susceptible to gravity (and will fall slowly over time) as well as to externally applied forces (allowing it to be manipulated). Is the shoulderroll Active (true[DEFAULT]) or Passive (false) Is the elbowroll Active (true[DEFAULT]) or Passive (false) Is the elbowyaw Active (true[DEFAULT]) or Passive (false) Is the wrist Active (true[DEFAULT]) or Passive (false) Is the hand Active (true[DEFAULT]) or Passive (false) Control Message: Not used Status Message: Naoqiinterface reports that the goal location of all joints has been reached (within specified tolerance). Control Message: Stop the arm at its current location Status Message: Indicates if the last control message issued a STOP command. constructor for the HalArmTarget stuct. This is the data that is placed on the Whiteboard
arm | uint8_t enumeration of the arm |
shoulderpitch | desired shoulder pitch |
shoulderroll | desired shoulder roll |
elbowroll | desired elbow roll |
elbowyaw | desired elbow yaw |
wristyaw | desired wrist yaw |
hand | desired percentage of grasper being openned |
shoulderpitchstiffness | desired stiffness in the shoulder pitch axis |
shoulderrollstiffness | desired stiffness in the shoulder roll axis |
elbowrollstiffness | desired stiffness in the elbow roll axis |
elbowyawstiffness | desired stiffness in the elbow yaw axis |
wristyawstiffness | desired stiffness in the wrist yaw axis |
handstiffness | desired stiffness of the grasper |
shoulderpitch_active | is shoulder pitch active |
shoulderroll_active | is shoulder roll active |
elbowroll_active | is elbow roll active |
elbowyaw_active | is elbow yaw active |
wrist_active | is wrist yaw active |
hand_active | is the hand active |
movement_time | time, expressed mSec to complete the movement (Naoqi's way of setting the speed) |
pliability | when the arm is passive, this value reduces the update frequency |
arm_at_goal | are the arm's joints at the goal location (within tolerance) DOES NOT CONSIDER THE Grasper |
arm_stop | if true : Naoqi Interface will stop the arm at its current pose, New motion commands will have no effect while arm is stopped. false: Arm moves to requested pose. |
target_shoulderpitch target_elbowroll target_wristyaw target_hand wb_hal_armtarget::PROPERTY | ( | uint8_t | , |
target_shoulderpitchstiffness | |||
) |
target shoulder pitch stiffness as a percentage
target shoulder roll stiffness as a percentage
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness wb_hal_armtarget::PROPERTY | ( | uint8_t | , |
target_wristyawstiffness | |||
) |
target wrist yaw stiffness as a percentage
target hand grasper stiffness as a percentage
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t bool bool bool bool bool bool int32_t uint8_t bool wb_hal_armtarget::arm_at_goal = false |
Definition at line 266 of file wb_hal_armtarget.h.
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t wb_hal_armtarget::elbowroll = 0 |
Definition at line 248 of file wb_hal_armtarget.h.
Referenced by guWhiteboard::HalArmTarget::HalArmTarget(), guWhiteboard::HalArmTarget::goToWithTime_Deg(), guWhiteboard::HalArmTarget::goToWithTime_Rad(), guWhiteboard::HalArmTarget::setArmPliability(), guWhiteboard::HalArmTarget::setPose_Deg(), and guWhiteboard::HalArmTarget::setPose_Rad().
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t bool bool bool wb_hal_armtarget::elbowroll_active = true |
Definition at line 260 of file wb_hal_armtarget.h.
Referenced by guWhiteboard::HalArmTarget::HalArmTarget().
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t wb_hal_armtarget::elbowrollstiffness = 0 |
Definition at line 254 of file wb_hal_armtarget.h.
Referenced by guWhiteboard::HalArmTarget::HalArmTarget().
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t wb_hal_armtarget::elbowyaw = 0 |
Definition at line 249 of file wb_hal_armtarget.h.
Referenced by guWhiteboard::HalArmTarget::HalArmTarget(), guWhiteboard::HalArmTarget::goToWithTime_Deg(), guWhiteboard::HalArmTarget::goToWithTime_Rad(), guWhiteboard::HalArmTarget::setArmPliability(), guWhiteboard::HalArmTarget::setPose_Deg(), and guWhiteboard::HalArmTarget::setPose_Rad().
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t bool bool bool bool wb_hal_armtarget::elbowyaw_active = true |
Definition at line 261 of file wb_hal_armtarget.h.
Referenced by guWhiteboard::HalArmTarget::HalArmTarget().
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t wb_hal_armtarget::elbowyawstiffness = 0 |
Definition at line 255 of file wb_hal_armtarget.h.
Referenced by guWhiteboard::HalArmTarget::HalArmTarget().
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t uint8_t wb_hal_armtarget::hand = 0 |
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t bool bool bool bool bool bool wb_hal_armtarget::hand_active = true |
Definition at line 263 of file wb_hal_armtarget.h.
Referenced by guWhiteboard::HalArmTarget::HalArmTarget().
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t wb_hal_armtarget::handstiffness = 0 |
Definition at line 257 of file wb_hal_armtarget.h.
Referenced by guWhiteboard::HalArmTarget::HalArmTarget().
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t bool bool bool bool bool bool int32_t wb_hal_armtarget::movement_time = INT_MAX |
Definition at line 264 of file wb_hal_armtarget.h.
Referenced by guWhiteboard::HalArmTarget::HalArmTarget().
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t bool bool bool bool bool bool int32_t uint8_t wb_hal_armtarget::pliability = 0 |
Definition at line 265 of file wb_hal_armtarget.h.
Referenced by guWhiteboard::HalArmTarget::HalArmTarget().
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t wb_hal_armtarget::shoulderpitch = 0 |
Definition at line 246 of file wb_hal_armtarget.h.
Referenced by guWhiteboard::HalArmTarget::HalArmTarget(), guWhiteboard::HalArmTarget::goToWithTime_Deg(), guWhiteboard::HalArmTarget::goToWithTime_Rad(), guWhiteboard::HalArmTarget::setArmPliability(), guWhiteboard::HalArmTarget::setPose_Deg(), and guWhiteboard::HalArmTarget::setPose_Rad().
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t bool wb_hal_armtarget::shoulderpitch_active = true |
Definition at line 258 of file wb_hal_armtarget.h.
Referenced by guWhiteboard::HalArmTarget::HalArmTarget().
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t wb_hal_armtarget::shoulderpitchstiffness = 0 |
Definition at line 252 of file wb_hal_armtarget.h.
Referenced by guWhiteboard::HalArmTarget::HalArmTarget().
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t wb_hal_armtarget::shoulderroll = 0 |
Definition at line 247 of file wb_hal_armtarget.h.
Referenced by guWhiteboard::HalArmTarget::HalArmTarget(), guWhiteboard::HalArmTarget::goToWithTime_Deg(), guWhiteboard::HalArmTarget::goToWithTime_Rad(), guWhiteboard::HalArmTarget::setArmPliability(), guWhiteboard::HalArmTarget::setPose_Deg(), and guWhiteboard::HalArmTarget::setPose_Rad().
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t bool bool wb_hal_armtarget::shoulderroll_active = true |
Definition at line 259 of file wb_hal_armtarget.h.
Referenced by guWhiteboard::HalArmTarget::HalArmTarget().
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t wb_hal_armtarget::shoulderrollstiffness = 0 |
Definition at line 253 of file wb_hal_armtarget.h.
Referenced by guWhiteboard::HalArmTarget::HalArmTarget().
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t bool bool bool bool bool wb_hal_armtarget::wrist_active = true |
Definition at line 262 of file wb_hal_armtarget.h.
Referenced by guWhiteboard::HalArmTarget::HalArmTarget().
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t wb_hal_armtarget::wristyaw = 0 |
Definition at line 250 of file wb_hal_armtarget.h.
Referenced by guWhiteboard::HalArmTarget::HalArmTarget(), guWhiteboard::HalArmTarget::goToWithTime_Deg(), guWhiteboard::HalArmTarget::goToWithTime_Rad(), guWhiteboard::HalArmTarget::setArmPliability(), guWhiteboard::HalArmTarget::setPose_Deg(), and guWhiteboard::HalArmTarget::setPose_Rad().
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t wb_hal_armtarget::wristyawstiffness = 0 |
Definition at line 256 of file wb_hal_armtarget.h.
Referenced by guWhiteboard::HalArmTarget::HalArmTarget().