public class Rangefinder extends ProtocolZero
formatted, paramscan, priority
Constructor and Description |
---|
Rangefinder() |
Rangefinder(double rot) |
Rangefinder(double rot,
double azi) |
Rangefinder(double rot,
priority_t priority) |
Rangefinder(int type,
int range,
double rot,
double azi) |
Rangefinder(int type,
int range,
double rot,
double azi,
long period) |
Rangefinder(int type,
int range,
double rot,
double azi,
long period,
long delay) |
Rangefinder(int type,
int range,
double rot,
double azi,
priority_t priority) |
Rangefinder(int type,
int range,
double rot,
double azi,
priority_t priority,
long period) |
Rangefinder(int type,
int range,
double rot,
double azi,
priority_t priority,
long period,
long delay) |
Rangefinder(priority_t priority) |
Modifier and Type | Method and Description |
---|---|
double |
getAzimuthalAngle()
Allows access to parameter data.
|
int |
getEntityID()
Entity detected by rangefinder.
|
double |
getEntityRange()
Distance to entity detected by rangefinder.
|
double |
getRotationalAngle()
Allows access to parameter data.
|
int |
getSearchRange()
Allows access to parameter data.
|
int |
getType()
Allows access to parameter data.
|
void |
setData(java.lang.String params)
Sets command response data.
|
protected void |
setOp() |
getPriority, hasTerminated, pause, resume, run, setExecutor, terminate, update
addTerminationListener, compareTo, getDelay, getExitCode, getFrequency, getID, getOp, getPeriod, getRuntime, toDataString, toString, verifyClient, waitForTerminate, whatAmI
public Rangefinder(int type, int range, double rot, double azi, priority_t priority)
public Rangefinder(int type, int range, double rot, double azi)
public Rangefinder(double rot)
public Rangefinder(double rot, priority_t priority)
public Rangefinder()
public Rangefinder(priority_t priority)
public Rangefinder(double rot, double azi)
public Rangefinder(int type, int range, double rot, double azi, priority_t priority, long period)
public Rangefinder(int type, int range, double rot, double azi, long period)
public Rangefinder(int type, int range, double rot, double azi, priority_t priority, long period, long delay)
public Rangefinder(int type, int range, double rot, double azi, long period, long delay)
protected void setOp()
setOp
in class ProtocolZero
public int getType()
public int getSearchRange()
public double getRotationalAngle()
public double getAzimuthalAngle()
public double getEntityRange()
public int getEntityID()
public void setData(java.lang.String params)
ProtocolZero
setData
in class ProtocolZero
params
- Data string. For all "data" messages it is identified by the form: