Commit Graph

48 Commits

Author SHA1 Message Date
Klaus Basan
bbdb8a293f refs #291, getAirportsInRange for simulator, simulator context 2014-07-11 01:20:05 +02:00
Klaus Basan
da3982fc5f refs #279, improved FSUIPC support, reading all standard values including SB3 xpdr indent 2014-07-04 22:56:55 +02:00
Klaus Basan
8fda6daee4 Fixed XPlane plugin warnings / issues
I came across when first compiling master with latest classes on my place
VC2013
2014-06-28 18:53:03 +02:00
Mathew Sutcliffe
4f5e423b17 refs #272 hacks to get traffic injection working with the current ISimulator interface;
temporary measure until ISimulator interface is refactored
2014-06-28 14:31:19 +01:00
Mathew Sutcliffe
72e350bc3c integration refs #267 fix compile error in simulator_xplane introduced by commit:426dd4a0 2014-06-28 14:31:18 +01:00
Mathew Sutcliffe
f2b27f5048 refs #272 added DBus proxy object for XBus::CTraffic and using this to inject traffic from CSimulatorXPlane 2014-06-28 14:31:18 +01:00
Klaus Basan
317ea93701 refs #279, added version info to FSUIPC class 2014-06-23 01:19:44 +02:00
Klaus Basan
f775ac88d3 Doxygen 2014-06-23 01:19:40 +02:00
Klaus Basan
c404d4cc5b refs #279, FSUIPC support 2014-06-23 01:19:35 +02:00
Klaus Basan
0a6f711e82 Doxygen 2014-06-23 01:19:32 +02:00
Mathew Sutcliffe
0ca7c76932 refs #276 fixed invalid radio frequencies in default X-Plane data 2014-06-20 15:39:44 +01:00
Mathew Sutcliffe
fb2af10bb3 refs #276 using async dbus calls to improve responsiveness of the xplane sim driver 2014-06-20 15:39:43 +01:00
Mathew Sutcliffe
072667b3b4 fixes #269 added parameter to CDBusServer constructor to choose a different service name,
allows two servers running on the same bus, needed when running xbus and sample_blackcore
2014-06-17 21:20:15 +01:00
Mathew Sutcliffe
c4a0207e4f refs #268 we can set the ICAO code of the CAircraft here 2014-06-17 21:19:00 +01:00
Mathew Sutcliffe
f430b65d39 refs #268 slots in XBus::CService to detect whether the aircraft is on the ground 2014-06-17 21:18:59 +01:00
Mathew Sutcliffe
19927ab9d4 refs #268 CSimulatorXPlane gets and sets radios and transponder via CXBusServiceProxy 2014-06-17 21:18:59 +01:00
Mathew Sutcliffe
b21adbe498 refs #268 added XBus::CService methods to get and set radios and transponder 2014-06-17 21:18:58 +01:00
Mathew Sutcliffe
4ebb03bd0d refs #268 populated CSimulatorXPlane with the implementation code to connect to XBus and get the aircraft situation and model via CXBusServiceProxy 2014-06-17 21:18:57 +01:00
Mathew Sutcliffe
271c973f6e refs #268 slots in XBus::CService to get the model strings 2014-06-17 21:18:56 +01:00
Mathew Sutcliffe
df67c249df refs #268 added DBus proxy object for XBus::CService 2014-06-17 21:18:56 +01:00
Mathew Sutcliffe
7d29049326 refs #268 added empty CSimulatorXPlane implementation of ISimulator, ready to be populated with code 2014-06-17 21:18:55 +01:00
Mathew Sutcliffe
a6cd44be8d refs #246 added ISimulator::aircraftModelChanged signal which can be sent via the contexts to CAirspaceMonitor, which needs the model when sending FSIPI(R) custom packets 2014-06-14 16:52:50 +01:00
Roland Winklmeier
01f6b9c156 Add method in ISimulator to get aircraft model
Route AircraftModel requests from Context Simulator to ISimulator

refs #235
2014-06-13 01:01:16 +02:00
Roland Winklmeier
fdb4403904 Setup SimConnect data structure and requests for user
aircraft title

refs #235
2014-06-13 00:56:58 +02:00
Roland Winklmeier
92dbefbf7a refs #229 Simplify searching for Simconnect object with std::find_if 2014-06-13 00:44:07 +02:00
Roland Winklmeier
e49650787d refs #229 Do not send updates to FSX for removed objects 2014-06-13 00:42:43 +02:00
Klaus Basan
02bb054f5a New features for Simulator, refs #257
* Allow to display text alerts for
** Status messages
** Private chat messages
* Updates from GUI cockpit to Simulator
* A bit refactoring, e.g. event names according our standards
2014-06-09 14:43:41 +02:00
Klaus Basan
035575870b refs #242, allows to change FSX cockpit from context
* Data definitions for FSX events
* BCD conversion for COM and transponder
* Update Cockpit method in context
* Renamed setOwnAircraft -> updateOwnAircraftFromSim
2014-06-09 14:43:35 +02:00
Klaus Basan
1bb4c3120b Formatting, comments, minor tweaks, typos, Doxygen 2014-06-09 14:43:31 +02:00
Roland Winklmeier
43f796bb0e Trigger gear-up correctly if higher than 1000 ft. 2014-06-09 14:42:59 +02:00
Roland Winklmeier
9feb4f39dc Do not insert simconnect objects, which are not belonging to us
This issue was most probably caused by a parallel SB installation.
For some strange reason, a simconnect object id was received
which was not added by swift. With this commit such situations
are handled correctly.
2014-06-09 14:42:58 +02:00
Roland Winklmeier
12dedcbc6c Fix bug, which caused insert of invalid simconnect objects 2014-06-09 14:42:55 +02:00
Roland Winklmeier
8341ef54d2 Remove aircrafts with time of latest update greater than 15 seks
refs #229
2014-06-09 14:42:52 +02:00
Roland Winklmeier
83776c5cc9 Add implementation to remove remote aircrafts
refs #229
2014-06-09 14:42:51 +02:00
Roland Winklmeier
9bc0226fd1 Move nested struct SimConnectObject into proper class
refs #229
2014-06-09 14:42:49 +02:00
Roland Winklmeier
de75c5c35a Add asynchronous connection in ISimulator/CSimulatorFSX
refs #231
2014-05-16 14:17:42 +02:00
Roland Winklmeier
5498b449ac Add "ConnectionFailed" to Simulator status enum
Rename connectionChanged to statusChanged

refs #231
2014-05-16 14:17:41 +02:00
Roland Winklmeier
f8ce55dea2 Sync update of aircraft positions to sim frame
refs #224
2014-05-16 13:29:42 +02:00
Roland Winklmeier
e42cbbe834 Use "GEAR HANDLE POSITION" instead of single gear positions
refs #224
2014-05-16 13:29:42 +02:00
Roland Winklmeier
7c890c51d8 Remove class CSimConnectException
refs #224
2014-05-16 13:29:41 +02:00
Klaus Basan
9e5666e0e2 Formatting / comments / typos 2014-04-29 01:54:04 +02:00
Roland Winklmeier
56557ae124 Fixed compiler error caused by missing include
This was part of a fixup in the original branch, but was missed
because the initial patch was committed to the wrong branch.
2014-04-27 23:38:54 +02:00
Roland Winklmeier
fbf9dbc8cf Use SIMCONNECT_DATA_INITPOSITION struct to reposition remote traffic
Advantage is this struct has a on ground flag.

refs #222
2014-04-27 18:41:10 +02:00
Roland Winklmeier
87ff9c9ae8 Add methods to load and unload specific simulator plugins
refs #215
fixes #208
2014-04-26 15:01:33 +02:00
Roland Winklmeier
7a2d957349 Moved SimConnectProc from slots to public methods
refs #187
2014-04-26 14:36:21 +02:00
Roland Winklmeier
e669ad8fb4 Add connectTo/disconnectFrom/canConnect to Simulator drivers
Removed checkConnection() as driver is passive only.

refs #187
2014-04-26 14:36:20 +02:00
Roland Winklmeier
cdbc635361 Move client xplane plugin into plugins/simulator/xplane
refs #211
2014-04-19 12:33:26 +02:00
Roland Winklmeier
603f03f092 Move fsx plugin into plugins/simulator/fsx
refs #211
2014-04-19 12:33:25 +02:00