Skip to content

Commit

Permalink
fix exception in CV mode due to enum to string conv
Browse files Browse the repository at this point in the history
  • Loading branch information
sytelus committed Aug 14, 2017
1 parent f264e38 commit fd11ac6
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ class VehicleState {

static VehicleStateType fromString(const std::string& val)
{
if (val == "Inactive")
return VehicleStateType::Inactive;
if (val == "Unknown")
return VehicleStateType::Unknown;
if (val == "BeingArmed")
Expand Down

0 comments on commit fd11ac6

Please sign in to comment.