group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
ArmHoldPose Struct Reference

One arm's authored 3-DOF FK pose. More...

#include <WeaponHoldPose.hpp>

Public Attributes

std::array< glm::vec3, kArmHoldBoneCountboneAngles {}
std::array< glm::vec3, kGripPoseJointCountfingerAngles {}

Detailed Description

One arm's authored 3-DOF FK pose.

boneAngles[i] is the (pitch, yaw, roll) for arm-chain bone i (root → tip: Shoulder, UpperArm, ForeArm, Hand). fingerAngles reuses the GripPose joint layout (5 fingers × 4 joints, see GripPose::index).

All angles are DEGREES. .x = pitch (local Z), .y = yaw (local Y), .z = roll (twist about local X).

Member Data Documentation

◆ boneAngles

std::array<glm::vec3, kArmHoldBoneCount> ArmHoldPose::boneAngles {}

◆ fingerAngles

std::array<glm::vec3, kGripPoseJointCount> ArmHoldPose::fingerAngles {}

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