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

Make getter of distance public

parent 87fb406d
Branches
No related merge requests found
......@@ -23,6 +23,8 @@ class EgoMotion
Callback platoonControllerNotify;
Callback cruiseControllerNotify;
float getDistance(){return distance;}
private:
std::atomic<float> distance{0};
std::atomic<float> stmSpeed{0};
......@@ -36,7 +38,6 @@ class EgoMotion
void stmDataCallback(const stmDataMsg::ConstPtr & inMsg);
void computeAndNotify();
float getDistance(){return distance;}
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