ADD: added new default ship for development

This commit is contained in:
Henry Winkel
2024-03-11 15:12:05 +01:00
parent ae9dc2fa97
commit d6b18f560d
3 changed files with 4 additions and 3 deletions

View File

@@ -470,7 +470,7 @@ namespace SimControl {
LOG_S(INFO)<<"PODS Info: " <<info.Component; LOG_S(INFO)<<"PODS Info: " <<info.Component;
DirectCommunication::DirectCommunicationClient client(std::stoi(CommandPort_),info.IP,ID_.getUUID()); DirectCommunication::DirectCommunicationClient client(std::stoi(CommandPort_),info.IP,ID_.getUUID());
Orders::TracklistRequest TrackListRequest(ID_,SimCore::Identifier(id)); Orders::TracklistRequest TrackListRequest(ID_,SimCore::Identifier(id),true);
// SimCore::Control control(this->ID_,SimCore::ControlType::GET_TRACKLIST,"Tracklist"); // SimCore::Control control(this->ID_,SimCore::ControlType::GET_TRACKLIST,"Tracklist");
client.sendMessage(TrackListRequest.buildMessage()); client.sendMessage(TrackListRequest.buildMessage());
response = client.getLatestMessage(); response = client.getLatestMessage();
@@ -575,6 +575,7 @@ namespace SimControl {
// std::string uuid = xg::newGuid().str(); // std::string uuid = xg::newGuid().str();
if (online_ != false) { if (online_ != false) {
startShip("hamburg"); startShip("hamburg");
startNewShip("Test", "55.16131", "7.86004", "0", "0", "0");
startWebApp(); startWebApp();
} }