9#ifndef wb_hal_headtarget_h
10#define wb_hal_headtarget_h
14#define YAW_LIMIT_POS 90
15#define YAW_LIMIT_NEG -YAW_LIMIT_POS
16#define PITCH_LIMIT_POS 28
17#define PITCH_LIMIT_NEG -20
36 BIT_PROPERTY(head_stopped)
40 BIT_PROPERTY(head_cmd_mask)
53 wb_hal_headtarget(
float target_pitchAngle = 0,
float target_yawAngle = 0,
int target_movement_time = 1000000,
bool head_stopped =
true)
55 set_target_pitchAngle(target_pitchAngle);
56 set_target_yawAngle(target_yawAngle);
57 set_target_movement_time(target_movement_time);
58 set_head_stopped(head_stopped);
59 set_head_cmd_mask(
false);
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.
PROPERTY(float, target_pitchAngle) PROPERTY(float
target pitch angle in radians