gusimplewhiteboard
wb_hal_headtarget Struct Reference

HAL_HeadTarget c struct. More...

#include <wb_hal_headtarget.h>

Inheritance diagram for wb_hal_headtarget:
Collaboration diagram for wb_hal_headtarget:

Public Member Functions

 PROPERTY (float, target_pitchAngle) PROPERTY(float
 target pitch angle in radians More...
 
target_yawAngle PROPERTY(int, target_movement_time) BIT_PROPERTY(head_stopped) BIT_PROPERTY(head_cmd_mask) unsigned pad wb_hal_headtarget (float target_pitchAngle=0, float target_yawAngle=0, int target_movement_time=1000000, bool head_stopped=true)
 How long until the head should be at the target angles, stored in micro seconds. More...
 

Detailed Description

HAL_HeadTarget c struct.

Definition at line 22 of file wb_hal_headtarget.h.

Constructor & Destructor Documentation

◆ wb_hal_headtarget()

target_yawAngle PROPERTY(int, target_movement_time) BIT_PROPERTY(head_stopped) BIT_PROPERTY(head_cmd_mask) unsigned pad wb_hal_headtarget::wb_hal_headtarget ( float  target_pitchAngle = 0,
float  target_yawAngle = 0,
int  target_movement_time = 1000000,
bool  head_stopped = true 
)
inline

How long until the head should be at the target angles, stored in micro seconds.

Should the head be stopped (if setting) or is the head stopped (if a status message) Should the command be processed again by the motion module. When changes are made this bit is set to true. Motion sets this back to false when the command has been processed. padding constructor for the stuct of HAL_HeadTarget. this is the data that is placed on the Whiteboard

Parameters
target_pitchAngledesired pitch
target_yawAngledesired yaw
target_movement_timetime to take
head_stoppedshould the head stop

Definition at line 53 of file wb_hal_headtarget.h.

Member Function Documentation

◆ PROPERTY()

wb_hal_headtarget::PROPERTY ( float  ,
target_pitchAngle   
)

target pitch angle in radians

target yaw angle in radians


The documentation for this struct was generated from the following file: