Skip to content
Snippets Groups Projects
Commit 90be5046 authored by Hoop77's avatar Hoop77
Browse files

added constructor for PlatoonConfig

parent 5460b882
No related merge requests found
...@@ -22,6 +22,10 @@ using InnerPlatoonDistance = float; ...@@ -22,6 +22,10 @@ using InnerPlatoonDistance = float;
struct PlatoonConfig struct PlatoonConfig
{ {
PlatoonConfig(PlatoonSpeed platoonSpeed, InnerPlatoonDistance innerPlatoonDistance)
: platoonSpeed(platoonSpeed), innerPlatoonDistance(innerPlatoonDistance)
{}
PlatoonSpeed platoonSpeed; PlatoonSpeed platoonSpeed;
InnerPlatoonDistance innerPlatoonDistance; InnerPlatoonDistance innerPlatoonDistance;
}; };
......
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