9#ifndef wb_hal_armtarget_h
10#define wb_hal_armtarget_h
24#define SHOULDER_PITCH_LIMIT_DOWN_DEG 119.5f
25#define SHOULDER_PITCH_LIMIT_UP_DEG -SHOULDER_PITCH_LIMIT_DOWN_DEG
27#define LEFT_SHOULDER_ROLL_OUT_DEG 76.0f
28#define LEFT_SHOULDER_ROLL_IN_DEG -18.0f
29#define RIGHT_SHOULDER_ROLL_OUT_DEG -LEFT_SHOULDER_ROLL_OUT_DEG
30#define RIGHT_SHOULDER_ROLL_IN_DEG -LEFT_SHOULDER_ROLL_IN_DEG
32#define LEFT_ELBOW_ROLL_STRAIGHT_DEG -2.0f
33#define LEFT_ELBOW_ROLL_BENT_DEG -88.5f
34#define RIGHT_ELBOW_ROLL_STRAIGHT_DEG -LEFT_ELBOW_ROLL_STRAIGHT_DEG
35#define RIGHT_ELBOW_ROLL_BENT_DEG -LEFT_ELBOW_ROLL_BENT_DEG
37#define LEFT_ELBOW_YAW_RIGHT_DEG 119.5f
38#define LEFT_ELBOW_YAW_LEFT_DEG -LEFT_ELBOW_YAW_RIGHT_DEG
39#define RIGHT_ELBOW_YAW_RIGHT_DEG LEFT_ELBOW_YAW_RIGHT_DEG
40#define RIGHT_ELBOW_YAW_LEFT_DEG -LEFT_ELBOW_YAW_RIGHT_DEG
42#define LEFT_WRIST_YAW_RIGHT_DEG 104.5f
43#define LEFT_WRIST_YAW_LEFT_DEG -LEFT_WRIST_YAW_RIGHT_DEG
44#define RIGHT_WRIST_YAW_RIGHT_DEG LEFT_WRIST_YAW_RIGHT_DEG
45#define RIGHT_WRIST_YAW_LEFT_DEG -LEFT_WRIST_YAW_RIGHT_DEG
48#define SHOULDER_PITCH_LIMIT_DOWN_RAD 2.0857f
49#define SHOULDER_PITCH_LIMIT_UP_RAD -SHOULDER_PITCH_LIMIT_DOWN_RAD
51#define LEFT_SHOULDER_ROLL_OUT_RAD 1.3265f
52#define LEFT_SHOULDER_ROLL_IN_RAD -0.3142f
53#define RIGHT_SHOULDER_ROLL_OUT_RAD -LEFT_SHOULDER_ROLL_OUT_RAD
54#define RIGHT_SHOULDER_ROLL_IN_RAD -LEFT_SHOULDER_ROLL_IN_RAD
56#define LEFT_ELBOW_ROLL_STRAIGHT_RAD -0.0349f
57#define LEFT_ELBOW_ROLL_BENT_RAD -1.5446f
58#define RIGHT_ELBOW_ROLL_STRAIGHT_RAD -LEFT_ELBOW_ROLL_STRAIGHT_RAD
59#define RIGHT_ELBOW_ROLL_BENT_RAD -LEFT_ELBOW_ROLL_BENT_RAD
61#define LEFT_ELBOW_YAW_RIGHT_RAD 2.0857f
62#define LEFT_ELBOW_YAW_LEFT_RAD -LEFT_ELBOW_YAW_RIGHT_RAD
63#define RIGHT_ELBOW_YAW_RIGHT_RAD LEFT_ELBOW_YAW_RIGHT_RAD
64#define RIGHT_ELBOW_YAW_LEFT_RAD -LEFT_ELBOW_YAW_RIGHT_RAD
66#define LEFT_WRIST_YAW_RIGHT_RAD 1.8238f
67#define LEFT_WRIST_YAW_LEFT_RAD -LEFT_WRIST_YAW_RIGHT_RAD
68#define RIGHT_WRIST_YAW_RIGHT_RAD LEFT_WRIST_YAW_RIGHT_RAD
69#define RIGHT_WRIST_YAW_LEFT_RAD -LEFT_WRIST_YAW_RIGHT_RAD
96 PROPERTY(int16_t, target_shoulderpitch)
127 PROPERTY(uint8_t, target_shoulderrollstiffness)
133 PROPERTY(uint8_t, target_elbowyawstiffness)
139 PROPERTY(uint8_t, target_handstiffness)
162 BIT_PROPERTY(target_shoulderpitch_active)
168 BIT_PROPERTY(target_shoulderroll_active)
174 BIT_PROPERTY(target_elbowroll_active)
180 BIT_PROPERTY(target_elbowyaw_active)
186 BIT_PROPERTY(target_wrist_active)
192 BIT_PROPERTY(target_hand_active)
201 BIT_PROPERTY(target_arm_at_goal)
209 BIT_PROPERTY(target_arm_stop)
267 bool arm_stop =
false)
275 set_target_hand(
hand);
291 set_target_arm_stop(arm_stop);
297 set_target_arm(other.target_arm());
298 set_target_shoulderpitch(other.target_shoulderpitch());
299 set_target_shoulderroll(other.target_shoulderroll());
300 set_target_elbowroll(other.target_elbowroll());
301 set_target_elbowyaw(other.target_elbowyaw());
302 set_target_wristyaw(other.target_wristyaw());
303 set_target_hand(other.target_hand());
304 set_target_shoulderpitchstiffness(other.target_shoulderpitchstiffness());
305 set_target_shoulderrollstiffness(other.target_shoulderrollstiffness());
306 set_target_elbowrollstiffness(other.target_elbowrollstiffness());
307 set_target_elbowyawstiffness(other.target_elbowyawstiffness());
308 set_target_wristyawstiffness(other.target_wristyawstiffness());
309 set_target_handstiffness(other.target_handstiffness());
310 set_target_shoulderpitch_active(other.target_shoulderpitch_active());
311 set_target_shoulderroll_active(other.target_shoulderroll_active());
312 set_target_elbowroll_active(other.target_elbowroll_active());
313 set_target_elbowyaw_active(other.target_elbowyaw_active());
314 set_target_wrist_active(other.target_wrist_active());
315 set_target_hand_active(other.target_hand_active());
316 set_target_movement_time(other.target_movement_time());
317 set_target_pliability(other.target_pliability());
318 set_target_arm_at_goal(other.target_arm_at_goal());
319 set_target_arm_stop(other.target_arm_stop());
325 set_target_arm(other.target_arm());
326 set_target_shoulderpitch(other.target_shoulderpitch());
327 set_target_shoulderroll(other.target_shoulderroll());
328 set_target_elbowroll(other.target_elbowroll());
329 set_target_elbowyaw(other.target_elbowyaw());
330 set_target_wristyaw(other.target_wristyaw());
331 set_target_hand(other.target_hand());
332 set_target_shoulderpitchstiffness(other.target_shoulderpitchstiffness());
333 set_target_shoulderrollstiffness(other.target_shoulderrollstiffness());
334 set_target_elbowrollstiffness(other.target_elbowrollstiffness());
335 set_target_elbowyawstiffness(other.target_elbowyawstiffness());
336 set_target_wristyawstiffness(other.target_wristyawstiffness());
337 set_target_handstiffness(other.target_handstiffness());
338 set_target_shoulderpitch_active(other.target_shoulderpitch_active());
339 set_target_shoulderroll_active(other.target_shoulderroll_active());
340 set_target_elbowroll_active(other.target_elbowroll_active());
341 set_target_elbowyaw_active(other.target_elbowyaw_active());
342 set_target_wrist_active(other.target_wrist_active());
343 set_target_hand_active(other.target_hand_active());
344 set_target_movement_time(other.target_movement_time());
345 set_target_pliability(other.target_pliability());
346 set_target_arm_at_goal(other.target_arm_at_goal());
347 set_target_arm_stop(other.target_arm_stop());
358 target_arm() == rhs.target_arm()
359 && target_shoulderpitch() == rhs.target_shoulderpitch()
360 && target_shoulderroll() == rhs.target_shoulderroll()
361 && target_elbowroll() == rhs.target_elbowroll()
362 && target_elbowyaw() == rhs.target_elbowyaw()
363 && target_wristyaw() == rhs.target_wristyaw()
364 && target_hand() == rhs.target_hand()
365 && target_shoulderpitchstiffness() == rhs.target_shoulderpitchstiffness()
366 && target_shoulderrollstiffness() == rhs.target_shoulderrollstiffness()
367 && target_elbowrollstiffness() == rhs.target_elbowrollstiffness()
368 && target_elbowyawstiffness() == rhs.target_elbowyawstiffness()
369 && target_wristyawstiffness() == rhs.target_wristyawstiffness()
370 && target_handstiffness() == rhs.target_handstiffness()
371 && target_shoulderpitch_active() == rhs.target_shoulderpitch_active()
372 && target_shoulderroll_active() == rhs.target_shoulderroll_active()
373 && target_elbowroll_active() == rhs.target_elbowroll_active()
374 && target_elbowyaw_active() == rhs.target_elbowyaw_active()
375 && target_wrist_active() == rhs.target_wrist_active()
376 && target_hand_active() == rhs.target_hand_active()
377 && target_movement_time() == rhs.target_movement_time()
378 && target_pliability() == rhs.target_pliability()
379 && target_arm_at_goal() == rhs.target_arm_at_goal()
380 && target_arm_stop() == rhs.target_arm_stop()
392 return !((*this) == rhs);
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
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
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
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
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t int16_t elbowyaw
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
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t shoulderpitch
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
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
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
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t int16_t elbowroll
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
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
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
target_shoulderpitch target_elbowroll target_wristyaw target_hand target_shoulderrollstiffness target_elbowyawstiffness target_handstiffness int16_t int16_t shoulderroll
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
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
PROPERTY(int32_t, target_movement_time) PROPERTY(int16_t
Control Message: The elapsed time, in mSec, in which the movement should be completed.
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
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
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
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
#define LEFT_ARM
/file wb_hal_armtarget.h