gusimplewhiteboard
|
HalLegTarget c struct. More...
#include <wb_hal_legtarget.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_hipyawpitch | PROPERTY (int16_t, target_hiproll) PROPERTY(int16_t |
target hip roll angle angle in 10ths of degrees More... | |
target_hipyawpitch target_hippitch | PROPERTY (int16_t, target_kneepitch) PROPERTY(int16_t |
target knee pitch angle in 10ths of degrees More... | |
target_hipyawpitch target_hippitch target_anklepitch | PROPERTY (int16_t, target_ankleroll) PROPERTY(uint8_t |
target ankle roll angle in 10ths of degrees More... | |
target_hipyawpitch target_hippitch target_anklepitch target_leg | PROPERTY (uint8_t, target_hipyawpitchstiffness) PROPERTY(uint8_t |
target hip yaw pitch stiffness as a percentage More... | |
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness | PROPERTY (uint8_t, target_hippitchstiffness) PROPERTY(uint8_t |
target hip pitch stiffness as a percentage More... | |
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness | PROPERTY (uint8_t, target_anklepitchstiffness) PROPERTY(uint8_t |
target ankle pitch stiffness as a percentage More... | |
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness | PROPERTY (uint8_t, target_pliability) BIT_PROPERTY(target_hipyawpitch_active) BIT_PROPERTY(target_hiproll_active) BIT_PROPERTY(target_hippitch_active) BIT_PROPERTY(target_kneepitch_active) BIT_PROPERTY(target_anklepitch_active) BIT_PROPERTY(target_ankleroll_active) BIT_PROPERTY(target_leg_at_goal) BIT_PROPERTY(target_leg_stop) wb_hal_legtarget(uint8_t leg=0 |
target leg's pliability when in Passive Mode When the leg is passive, this value reduces the update frequency, thus making the leg more resistant to external forces. More... | |
Public Attributes | |
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t | hipyawpitch = 0 |
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t | hiproll = 0 |
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t | hippitch = 0 |
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t | kneepitch = 0 |
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t | anklepitch = 0 |
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t int16_t | ankleroll = 0 |
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t int16_t uint8_t | hipyawpitchstiffness = 0 |
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t | hiprollstiffness = 0 |
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t | hippitchstiffness = 0 |
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t | kneepitchstiffness = 0 |
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t | anklepitchstiffness = 0 |
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t | anklerollstiffness = 0 |
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t bool | hipyawpitch_active = true |
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t bool bool | hiproll_active = true |
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t bool bool bool | hippitch_active = true |
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t bool bool bool bool | kneepitch_active = true |
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t bool bool bool bool bool | anklepitch_active = true |
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t bool bool bool bool bool bool | ankleroll_active = true |
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t int16_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_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t int16_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_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t bool bool bool bool bool bool int32_t uint8_t bool | leg_at_goal = false |
HalLegTarget c struct.
The struct is designed around a single leg, allowing independent control of the NAO's legs.
**** IMPORTANT NOTE: **** This class only provides for movement limit detection. There is no built in collision detection. Care must be taken to ensure the legs do not collide with other parts of the robot's body.
Definition at line 89 of file wb_hal_legtarget.h.
target_hipyawpitch target_hippitch target_anklepitch wb_hal_legtarget::PROPERTY | ( | int16_t | , |
target_ankleroll | |||
) |
target ankle roll angle in 10ths of degrees
target leg number This property is used strictly for accounting purposes when the struct is stored within an array and the robot has numerous legs.
target_hipyawpitch wb_hal_legtarget::PROPERTY | ( | int16_t | , |
target_hiproll | |||
) |
target hip roll angle angle in 10ths of degrees
target hip pitch angle in 10ths of degrees
target_hipyawpitch target_hippitch wb_hal_legtarget::PROPERTY | ( | int16_t | , |
target_kneepitch | |||
) |
target knee pitch angle in 10ths of degrees
target ankle pitch angle in 10ths of degrees
wb_hal_legtarget::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 hip yaw pitch angle in 10ths of degrees
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness wb_hal_legtarget::PROPERTY | ( | uint8_t | , |
target_anklepitchstiffness | |||
) |
target ankle pitch stiffness as a percentage
target ankle roll stiffness as a percentage
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness wb_hal_legtarget::PROPERTY | ( | uint8_t | , |
target_hippitchstiffness | |||
) |
target hip pitch stiffness as a percentage
target knee pitch stiffness as a percentage
target_hipyawpitch target_hippitch target_anklepitch target_leg wb_hal_legtarget::PROPERTY | ( | uint8_t | , |
target_hipyawpitchstiffness | |||
) |
target hip yaw pitch stiffness as a percentage
target hip roll stiffness as a percentage
|
pure virtual |
target leg's pliability when in Passive Mode When the leg is passive, this value reduces the update frequency, thus making the leg more resistant to external forces.
Use of values from 0 to 10 is recommended. A value of zero (0), allows the quickest reponse to external forces (e.g. gravity). Higher values stiffen the leg and reduce responsiveness, the movement will become stepped. HOWEVER, the robot will fall under its own weight unless active mode is re-engaged. Is the hipyawpitch Active (true[DEFAULT]) or Passive (false) Active : The robot's DCM will prevent movement of the hip 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 legs 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 hip roll Active (true[DEFAULT]) or Passive (false) Is the hip pitch Active (true[DEFAULT]) or Passive (false) Is the knee pitch Active (true[DEFAULT]) or Passive (false) Is the ankle pitch Active (true[DEFAULT]) or Passive (false) Is the ankle roll Active (true[DEFAULT]) or Passive (false) Control Message: Not used Status Message: Naoqiinterface reports that the goal location of all joints have been reached (within specified tolerance). Control Message: Stop the leg at its current location Status Message: Indicates if the last control message issued a STOP command. constructor for the HalLegTarget stuct. This is the data that is placed on the Whiteboard
leg | uint8_t enumeration of the leg |
hipyawpitch | desired hipyawpitch |
hiproll | desired hip roll |
hippitch | desired hip pitch |
kneepitch | desired knee pitch |
anklepitch | desired ankle pitch |
ankleroll | desired ankle roll |
hipyawpitchstiffness | desired stiffness in the hipyawpitch joint |
hiprollstiffness | desired stiffness in the hiproll joint |
hippitchstiffness | desired stiffness in the hippitch joint |
kneepitchstiffness | desired stiffness in the kneepitch joint |
anklepitchstiffness | desired stiffness in the anklepitch joint |
anklerollstiffness | desired stiffness of the ankleroll joint |
hipyawpitch_active | is hip yaw pitch active |
hiproll_active | is hip roll active |
hippitch_active | is hip pitch active |
kneepitch_active | is knee pitch active |
anklepitch_active | is ankle pitch active |
ankleroll_active | is ankle roll active |
movement_time | time, expressed mSec to complete the movement (Naoqi's way of setting the speed) |
pliability | when the leg is passive, this value reduces the update frequency |
leg_at_goal | are the leg's joints at the goal location (within tolerance) |
leg_stop | if true : Naoqi Interface will stop the leg at its current pose, New motion commands will have no effect while leg is stopped. false: Leg moves to requested pose. |
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t wb_hal_legtarget::anklepitch = 0 |
Definition at line 251 of file wb_hal_legtarget.h.
Referenced by guWhiteboard::HalLegTarget::HalLegTarget(), guWhiteboard::HalLegTarget::goToWithTime_Deg(), guWhiteboard::HalLegTarget::goToWithTime_Rad(), guWhiteboard::HalLegTarget::setLegPliability(), guWhiteboard::HalLegTarget::setPose_Deg(), and guWhiteboard::HalLegTarget::setPose_Rad().
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t bool bool bool bool bool wb_hal_legtarget::anklepitch_active = true |
Definition at line 263 of file wb_hal_legtarget.h.
Referenced by guWhiteboard::HalLegTarget::HalLegTarget().
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t wb_hal_legtarget::anklepitchstiffness = 0 |
Definition at line 257 of file wb_hal_legtarget.h.
Referenced by guWhiteboard::HalLegTarget::HalLegTarget().
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t int16_t wb_hal_legtarget::ankleroll = 0 |
Definition at line 252 of file wb_hal_legtarget.h.
Referenced by guWhiteboard::HalLegTarget::HalLegTarget(), guWhiteboard::HalLegTarget::goToWithTime_Deg(), guWhiteboard::HalLegTarget::goToWithTime_Rad(), guWhiteboard::HalLegTarget::setLegPliability(), guWhiteboard::HalLegTarget::setPose_Deg(), and guWhiteboard::HalLegTarget::setPose_Rad().
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t bool bool bool bool bool bool wb_hal_legtarget::ankleroll_active = true |
Definition at line 264 of file wb_hal_legtarget.h.
Referenced by guWhiteboard::HalLegTarget::HalLegTarget().
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t wb_hal_legtarget::anklerollstiffness = 0 |
Definition at line 258 of file wb_hal_legtarget.h.
Referenced by guWhiteboard::HalLegTarget::HalLegTarget().
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t wb_hal_legtarget::hippitch = 0 |
Definition at line 249 of file wb_hal_legtarget.h.
Referenced by guWhiteboard::HalLegTarget::HalLegTarget(), guWhiteboard::HalLegTarget::goToWithTime_Deg(), guWhiteboard::HalLegTarget::goToWithTime_Rad(), guWhiteboard::HalLegTarget::setLegPliability(), guWhiteboard::HalLegTarget::setPose_Deg(), and guWhiteboard::HalLegTarget::setPose_Rad().
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t bool bool bool wb_hal_legtarget::hippitch_active = true |
Definition at line 261 of file wb_hal_legtarget.h.
Referenced by guWhiteboard::HalLegTarget::HalLegTarget().
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t wb_hal_legtarget::hippitchstiffness = 0 |
Definition at line 255 of file wb_hal_legtarget.h.
Referenced by guWhiteboard::HalLegTarget::HalLegTarget().
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t wb_hal_legtarget::hiproll = 0 |
Definition at line 248 of file wb_hal_legtarget.h.
Referenced by guWhiteboard::HalLegTarget::HalLegTarget(), guWhiteboard::HalLegTarget::goToWithTime_Deg(), guWhiteboard::HalLegTarget::goToWithTime_Rad(), guWhiteboard::HalLegTarget::setLegPliability(), guWhiteboard::HalLegTarget::setPose_Deg(), and guWhiteboard::HalLegTarget::setPose_Rad().
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t bool bool wb_hal_legtarget::hiproll_active = true |
Definition at line 260 of file wb_hal_legtarget.h.
Referenced by guWhiteboard::HalLegTarget::HalLegTarget().
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t wb_hal_legtarget::hiprollstiffness = 0 |
Definition at line 254 of file wb_hal_legtarget.h.
Referenced by guWhiteboard::HalLegTarget::HalLegTarget().
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t wb_hal_legtarget::hipyawpitch = 0 |
Definition at line 247 of file wb_hal_legtarget.h.
Referenced by guWhiteboard::HalLegTarget::HalLegTarget(), guWhiteboard::HalLegTarget::goToWithTime_Deg(), guWhiteboard::HalLegTarget::goToWithTime_Rad(), guWhiteboard::HalLegTarget::setLegPliability(), guWhiteboard::HalLegTarget::setPose_Deg(), and guWhiteboard::HalLegTarget::setPose_Rad().
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t bool wb_hal_legtarget::hipyawpitch_active = true |
Definition at line 259 of file wb_hal_legtarget.h.
Referenced by guWhiteboard::HalLegTarget::HalLegTarget().
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t int16_t uint8_t wb_hal_legtarget::hipyawpitchstiffness = 0 |
Definition at line 253 of file wb_hal_legtarget.h.
Referenced by guWhiteboard::HalLegTarget::HalLegTarget().
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t wb_hal_legtarget::kneepitch = 0 |
Definition at line 250 of file wb_hal_legtarget.h.
Referenced by guWhiteboard::HalLegTarget::HalLegTarget(), guWhiteboard::HalLegTarget::goToWithTime_Deg(), guWhiteboard::HalLegTarget::goToWithTime_Rad(), guWhiteboard::HalLegTarget::setLegPliability(), guWhiteboard::HalLegTarget::setPose_Deg(), and guWhiteboard::HalLegTarget::setPose_Rad().
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t bool bool bool bool wb_hal_legtarget::kneepitch_active = true |
Definition at line 262 of file wb_hal_legtarget.h.
Referenced by guWhiteboard::HalLegTarget::HalLegTarget().
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t wb_hal_legtarget::kneepitchstiffness = 0 |
Definition at line 256 of file wb_hal_legtarget.h.
Referenced by guWhiteboard::HalLegTarget::HalLegTarget().
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t int16_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_legtarget::leg_at_goal = false |
Definition at line 267 of file wb_hal_legtarget.h.
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t int16_t uint8_t uint8_t uint8_t uint8_t uint8_t uint8_t bool bool bool bool bool bool int32_t wb_hal_legtarget::movement_time = INT_MAX |
Definition at line 265 of file wb_hal_legtarget.h.
Referenced by guWhiteboard::HalLegTarget::HalLegTarget().
target_hipyawpitch target_hippitch target_anklepitch target_leg target_hiprollstiffness target_kneepitchstiffness target_anklerollstiffness int16_t int16_t int16_t int16_t int16_t int16_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_legtarget::pliability = 0 |
Definition at line 266 of file wb_hal_legtarget.h.
Referenced by guWhiteboard::HalLegTarget::HalLegTarget().