public class PointTarget extends MotionTarget
MotionTarget.TargetActivity
Constructor and Description |
---|
PointTarget(MotionTarget.TargetActivity explicitActivity) |
Modifier and Type | Method and Description |
---|---|
int |
getTargetPos(double[] buf,
double s,
double h,
Point3d posState,
Vector3d velState,
int idx) |
int |
getTargetPos(double[] buf,
double s,
double h,
PointState state,
int idx) |
Point3d |
getTargetPos(Point3d posState) |
Point3d |
getTargetPos(PointState state) |
void |
getTargetPos(Vector3d post,
double s,
double h,
Point3d posState,
Vector3d velState) |
void |
getTargetPos(Vector3d velt,
double s,
double h,
PointState state) |
int |
getTargetVel(double[] buf,
double s,
double h,
Point3d posState,
Vector3d velState,
int idx) |
int |
getTargetVel(double[] buf,
double s,
double h,
PointState state,
int idx) |
Vector3d |
getTargetVel(PointState state) |
Vector3d |
getTargetVel(Vector3d velState) |
void |
getTargetVel(Vector3d velt,
double s,
double h,
Point3d posState,
Vector3d velState) |
void |
getTargetVel(Vector3d velt,
double s,
double h,
PointState state) |
int |
setTargetPos(double[] buf,
int idx) |
void |
setTargetPos(Point3d pos) |
int |
setTargetVel(double[] buf,
int idx) |
void |
setTargetVel(Vector3d vel) |
void |
syncState(MotionTarget.TargetActivity prev,
Point3d posState,
Vector3d velState) |
void |
syncState(MotionTarget.TargetActivity prev,
PointState state) |
getActivity, isPositionActive, isVelocityActive, setActivity
public PointTarget(MotionTarget.TargetActivity explicitActivity)
public void setTargetPos(Point3d pos)
public Point3d getTargetPos(PointState state)
public void setTargetVel(Vector3d vel)
public Vector3d getTargetVel(PointState state)
public void syncState(MotionTarget.TargetActivity prev, PointState state)
public void syncState(MotionTarget.TargetActivity prev, Point3d posState, Vector3d velState)
public void getTargetVel(Vector3d velt, double s, double h, PointState state)
public void getTargetVel(Vector3d velt, double s, double h, Point3d posState, Vector3d velState)
public void getTargetPos(Vector3d velt, double s, double h, PointState state)
public void getTargetPos(Vector3d post, double s, double h, Point3d posState, Vector3d velState)
public int getTargetVel(double[] buf, double s, double h, PointState state, int idx)
public int getTargetVel(double[] buf, double s, double h, Point3d posState, Vector3d velState, int idx)
public int setTargetVel(double[] buf, int idx)
public int getTargetPos(double[] buf, double s, double h, PointState state, int idx)
public int getTargetPos(double[] buf, double s, double h, Point3d posState, Vector3d velState, int idx)
public int setTargetPos(double[] buf, int idx)