Agent providing ranging functionality.
Services:
Parameters:
Modifiers | Name | Description |
---|---|---|
static String |
description |
|
static String |
title |
Type Params | Return Type | Name and description |
---|---|---|
|
int |
getChannel() Gets the channel being used for ranging. |
|
int |
getLifetime() Gets the lifetime of ranging information. |
|
int |
getMaxBadRangeCnt() Gets maximum bad range count. |
|
float |
getMaxRange() Gets the maximum possible range. |
|
float |
getMinRange() Gets the minimum possible range value. |
|
protected List<Parameter> |
getParameterList() |
|
protected void |
processMessage(Message msg) |
|
protected Message |
processRequest(Message msg) |
|
void |
setChannel(int ch) Sets the channel to use for ranging. |
|
int |
setLifetime(int lifetime) Sets the lifetime of ranging information. |
|
void |
setMaxBadRangeCnt(int count) Sets maximum bad range count. |
|
float |
setMaxRange(float maxRange) Sets the maximum possible range. |
|
float |
setMinRange(float minRange) Sets the minimum possible range value. |
|
protected void |
setup() |
|
protected void |
startup() |
Gets the channel being used for ranging.
Gets the lifetime of ranging information.
Gets maximum bad range count. If more bad ranges than this are received, the node synchronization information is removed from cache.
Gets the maximum possible range.
Gets the minimum possible range value.
Sets the channel to use for ranging.
ch
- DATA/CONTROL channel to useSets the lifetime of ranging information.
lifetime
- lifetime in secondsSets maximum bad range count. If more bad ranges than this are received, the node synchronization information is removed from cache.
count
- maximum bad range countSets the maximum possible range.
maxRange
- maximum range in metersSets the minimum possible range value.
minRange
- minimum possible range