97b9c9a6820a5c0e837687ec80ef2bad50bb17fc
- The result of a call to realloc was erroneously thrown away, creating a potential memory leak. - Values were being copied to an array on the stack, then memcpy'ed into an array on the heap. Since the heap array is freshly allocated, it should be completely safe to memcpy the data directly into it. - The inner loop was copying the same value several times, rather than copying several values in series.
XPlaneConnect
The X-Plane Communications Toolbox (XPC) is an open source research tool used to interact with the commercial flight simulator software X-Plane. XPC allows users to control aircraft and receive state information from aircraft simulated in X-Plane using functions written in C or MATLAB in real time over the network. This research tool has been used to visualize flight paths, test control algorithms, simulate an active airspace, or generate out-the-window visuals for in-house flight simulation software.
Description
The X-Plane Communications Toolbox is a research tool used to interact with the X-Plane flight simulator
Fork: https://github.com/cs-powell/XPlaneConnectCSP
Languages
Java
28.1%
C
26.9%
Pascal
22.9%
C++
11.3%
Python
7.8%
Other
3%