mirror of
https://github.com/EECS-467-W20-RRRobot-Project/RRRobot.git
synced 2025-08-28 18:32:45 +00:00
Function signature changed to allow forward kinematics to calculate any joint's pose
This commit is contained in:
@@ -41,7 +41,7 @@ class ArmRepresentation
|
|||||||
public:
|
public:
|
||||||
ArmRepresentation(const KDL::Frame &base_pose = KDL::Frame(KDL::Rotation::Quaternion(0, 0, 0, 1), KDL::Vector(0.3, 0.92, 0.9))); //KDL::Frame(KDL::Vector(0.3, 0.92, 1)));
|
ArmRepresentation(const KDL::Frame &base_pose = KDL::Frame(KDL::Rotation::Quaternion(0, 0, 0, 1), KDL::Vector(0.3, 0.92, 0.9))); //KDL::Frame(KDL::Vector(0.3, 0.92, 1)));
|
||||||
|
|
||||||
int calculateForwardKinematics(const KDL::JntArray &joint_positions, KDL::Frame &end_effector_pose);
|
int calculateForwardKinematics(const KDL::JntArray &joint_positions, KDL::Frame &end_effector_pose, int joint_nbr = -1);
|
||||||
|
|
||||||
int calculateInverseKinematics(const KDL::JntArray &cur_configuration,
|
int calculateInverseKinematics(const KDL::JntArray &cur_configuration,
|
||||||
const KDL::Frame &desired_end_effector_pose,
|
const KDL::Frame &desired_end_effector_pose,
|
||||||
|
Reference in New Issue
Block a user