18
0
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:
2026-11-11 02:52:00 +01:00
parent 8e97277bcb
commit aba8687678
8 changed files with 125 additions and 3 deletions

View File

@@ -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

View File

@@ -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
};