mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-20 22:04:59 +01:00
feat(ui): repair the broken coupler next to the camera from the driving aid
This commit is contained in:
@@ -415,6 +415,7 @@ commanddescription_sequence Commands_descriptions = {
|
||||
{"linebreakertogglec", command_target::vehicle, command_mode::oneoff},
|
||||
{"linebreakeropenc", command_target::vehicle, command_mode::oneoff},
|
||||
{"linebreakerclosec", command_target::vehicle, command_mode::oneoff},
|
||||
{"repaircoupler", command_target::simulation, command_mode::oneoff},
|
||||
};
|
||||
|
||||
// Maps of command and coresponding strings
|
||||
@@ -809,6 +810,7 @@ std::unordered_map<std::string, user_command> const commandMap = {
|
||||
{"linebreakertogglec", user_command::linebreakertogglec},
|
||||
{"linebreakeropenc", user_command::linebreakeropenc},
|
||||
{"linebreakerclosec", user_command::linebreakerclosec},
|
||||
{"repaircoupler", user_command::repaircoupler},
|
||||
{"none", user_command::none}};
|
||||
|
||||
} // namespace simulation
|
||||
|
||||
@@ -413,6 +413,7 @@ enum class user_command
|
||||
linebreakertogglec,
|
||||
linebreakeropenc,
|
||||
linebreakerclosec,
|
||||
repaircoupler, // the broken coupler of the vehicle (payload) at the end (param1)
|
||||
none = -1
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user