... | @@ -6,7 +6,9 @@ |
... | @@ -6,7 +6,9 @@ |
|
|
|
|
|
**NOTE:** Also, you don't have to collect data only when `collect` is called if you have your only runner thread. The main purpose of the `collect` function is to check the preconditions of the algorithm to determine whether to accept the results from it. In fact, you can collect data from sensors whenever you want, and just return a flag to indicate whether the algorithm is valid in the current condition when collect is called.
|
|
**NOTE:** Also, you don't have to collect data only when `collect` is called if you have your only runner thread. The main purpose of the `collect` function is to check the preconditions of the algorithm to determine whether to accept the results from it. In fact, you can collect data from sensors whenever you want, and just return a flag to indicate whether the algorithm is valid in the current condition when collect is called.
|
|
|
|
|
|
**NOTE:** We are planning to add the function to allow an algorithm to skip multiple OAC cycles (for very slow path planning algorithms). It will most likely be a slot in the data queue.
|
|
**NOTE:** We are planning to add the function to allow an algorithm to skip multiple OAC cycles (for very slow path planning algorithms). It will most likely be a slot in the data queue. [Workaround for now]
|
|
|
|
- If you DO want to block other algorithms too: Send **empty CMDQueue** and **DataQueue with algName and confidence 1(100%)**.
|
|
|
|
- If you DO NOT want to block other algorithms: Send **empty CMDQueue** and **DataQueue with algName and confidence 0(0%)**.
|
|
|
|
|
|
## Class Structure:
|
|
## Class Structure:
|
|
- Create skeleton Class structure
|
|
- Create skeleton Class structure
|
... | | ... | |