some fixes [multithreading,..]

needed interface changes [new options]
logger for android
wifi-ap-optimization
new test-cases
This commit is contained in:
2016-09-28 12:19:14 +02:00
parent 91e3367372
commit 4f511d907e
62 changed files with 1418 additions and 175 deletions

View File

@@ -60,7 +60,7 @@ TEST(TestAll, Nav) {
// plot path
K::GnuplotSplotElementLines path; path.setColorHex("#0000ff"); path.setLineWidth(2);
DijkstraNode<GP>* dn = d.getNode(end);
const DijkstraNode<GP>* dn = d.getNode(end);
while (dn->previous != nullptr) {
path.add(K::GnuplotPoint3(dn->element->x_cm, dn->element->y_cm, dn->element->z_cm+50));
dn = dn->previous;

View File

@@ -104,7 +104,7 @@ TEST(GridWalk2HeadingControl, LIVE_walkHeading) {
struct MyControl {
float turnAngle = 0;
float turnSinceLastTransition_rad = 0;
} ctrl;
@@ -139,7 +139,7 @@ TEST(GridWalk2HeadingControl, LIVE_walkHeading) {
// run
for (int i = 0; i < 30; ++i) {
ctrl.turnAngle = (i == 0) ? (rad) : (0);
ctrl.turnSinceLastTransition_rad = (i == 0) ? (rad) : (0);
p.clearParticles();

View File

@@ -60,7 +60,7 @@ TEST(GridWalk2, LIVE_error) {
struct Control {
float turnAngle = 0; // keep the angle as-is!
float turnSinceLastTransition_rad = 0; // keep the angle as-is!
} ctrl;
GridWalker<MyNode1239, MyState23452> walker;

View File

@@ -25,6 +25,8 @@
// ENSURE UNIQUE CLASS NAME
struct MyNode345092134 : public GridPoint, public GridNode {
float walkImportance = 0;
float getWalkImportance() const {return walkImportance;}
float navImportance = 0;
float getNavImportance() const {return navImportance;}
MyNode345092134() {;}