GCOP
1.0
|
#include <arm.h>
Public Member Functions | |
Arm () | |
virtual | ~Arm () |
bool | Fk (double p[3], const double a[3]) |
bool | Ik (double a[2][3], const double p[3]) |
Public Attributes | |
double | l1 |
first link length | |
double | l2 |
second link length | |
double | x1 |
relative offset to second motor in x direction |
3-dof arm (rotating base, and two links). Model assumes first joint motor is at center of mass. The local frame is z-up, and arm is zero position means that is straightened along the x+ axis. To account for position offset simply change the parameter p.
Arm::Arm | ( | ) |
Arm::~Arm | ( | ) | [virtual] |
bool Arm::Fk | ( | double | p[3], |
const double | a[3] | ||
) |
bool Arm::Ik | ( | double | a[2][3], |
const double | p[3] | ||
) |
double gcop::Arm::l1 |
double gcop::Arm::l2 |
double gcop::Arm::x1 |