Skip to content
Snippets Groups Projects
Commit 75ab69d3 authored by Franz Bethke's avatar Franz Bethke
Browse files

Make getter of EgoMotion public

parent fe32bb09
No related merge requests found
......@@ -24,6 +24,8 @@ class EgoMotion
Callback cruiseControllerNotify;
float getDistance(){return distance;}
float getPrvSpeed(){return prvSpeed;}
float getOwnSpeed(){return stmSpeed;}
private:
std::atomic<float> distance{0};
......@@ -38,7 +40,6 @@ class EgoMotion
void stmDataCallback(const stmDataMsg::ConstPtr & inMsg);
void computeAndNotify();
float getPrvSpeed(){return prvSpeed;}
};
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment