mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
AeroSimRC: add default simulatorId to prevent GCS crashes w/o config
GCS will crash when HITLv2 plugin is started if there is no HITLv2 configuration in the OpenPilotGCS.xml. This is a workaround to prevent this behavior. Better way might be to rework the GCS config handling, but as a workaround this should work.
This commit is contained in:
parent
f0ed832ea9
commit
95f66ddd76
@ -34,7 +34,7 @@ HITLConfiguration::HITLConfiguration(QString classId,
|
||||
{
|
||||
// qDebug() << "HITLV2Configuration";
|
||||
// default values
|
||||
QString simulatorId = "";
|
||||
QString simulatorId = "ASimRC";
|
||||
QString hostAddress = "127.0.0.1";
|
||||
int inPort = 40100;
|
||||
QString remoteAddress = "127.0.0.1";
|
||||
|
Loading…
Reference in New Issue
Block a user