mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 16:19:19 +02:00
Command order fix
This commit is contained in:
@@ -120,6 +120,8 @@ commanddescription_sequence Commands_descriptions = {
|
|||||||
{"universalrelayreset3", command_target::vehicle, command_mode::oneoff},
|
{"universalrelayreset3", command_target::vehicle, command_mode::oneoff},
|
||||||
{"notchingrelaytoggle", command_target::vehicle, command_mode::oneoff},
|
{"notchingrelaytoggle", command_target::vehicle, command_mode::oneoff},
|
||||||
{"epbrakecontroltoggle", command_target::vehicle, command_mode::oneoff},
|
{"epbrakecontroltoggle", command_target::vehicle, command_mode::oneoff},
|
||||||
|
{"epbrakecontrolenable", command_target::vehicle, command_mode::oneoff},
|
||||||
|
{"epbrakecontroldisable", command_target::vehicle, command_mode::oneoff},
|
||||||
{"trainbrakeoperationmodeincrease", command_target::vehicle, command_mode::oneoff},
|
{"trainbrakeoperationmodeincrease", command_target::vehicle, command_mode::oneoff},
|
||||||
{"trainbrakeoperationmodedecrease", command_target::vehicle, command_mode::oneoff},
|
{"trainbrakeoperationmodedecrease", command_target::vehicle, command_mode::oneoff},
|
||||||
{"brakeactingspeedincrease", command_target::vehicle, command_mode::oneoff},
|
{"brakeactingspeedincrease", command_target::vehicle, command_mode::oneoff},
|
||||||
@@ -378,8 +380,7 @@ commanddescription_sequence Commands_descriptions = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Maps of command and coresponding strings
|
// Maps of command and coresponding strings
|
||||||
std::unordered_map<std::string, user_command> commandMap = {
|
std::unordered_map<std::string, user_command> commandMap = {{"aidriverdisable", user_command::aidriverdisable},
|
||||||
{"aidriverdisable", user_command::aidriverdisable},
|
|
||||||
{"jointcontrollerset", user_command::jointcontrollerset},
|
{"jointcontrollerset", user_command::jointcontrollerset},
|
||||||
{"mastercontrollerincrease", user_command::mastercontrollerincrease},
|
{"mastercontrollerincrease", user_command::mastercontrollerincrease},
|
||||||
{"mastercontrollerincreasefast", user_command::mastercontrollerincreasefast},
|
{"mastercontrollerincreasefast", user_command::mastercontrollerincreasefast},
|
||||||
@@ -733,7 +734,7 @@ std::unordered_map<std::string, user_command> commandMap = {
|
|||||||
{"wiperswitchdecrease", user_command::wiperswitchdecrease},
|
{"wiperswitchdecrease", user_command::wiperswitchdecrease},
|
||||||
{"none", user_command::none}};
|
{"none", user_command::none}};
|
||||||
|
|
||||||
} // simulation
|
} // namespace simulation
|
||||||
|
|
||||||
void command_queue::update()
|
void command_queue::update()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user