some fixes [multithreading,..]
needed interface changes [new options] logger for android wifi-ap-optimization new test-cases
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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() {;}
|
||||
|
||||
Reference in New Issue
Block a user