Software-in-the-loop
Documentation for the OpenRocket Software-in-the-loop extension
Overview
The OpenRocket extension is meant to provide the simulation environment for your flight software. While OpenRocket provides several useful events and values, this extension makes use of the following simple outputs:
acceleration
(near-future)
velocity
world coordinates
rotational coordinates
These values are provided over a serial port (virtual ports included). Commands can be sent back to the simulation to carry out events (chute deployment, airbrake deployment, fin movement). As a result, your flight software controls the actuation of the rocket in the OpenRocket simulation, leading to software-in-the-loop testing.
Usage
Coming soon!
Development
Working with socat
socat
Install
Start virtual ports
Elevate user privilege to operate ports
Compilation and Usage
Change directory to
orksim
Compile program
Copy the
.jar
file to OpenRocket plug-in
Last updated
Was this helpful?