A global sailing navigation simulator, using real-world geographic information and weather/ocean data (as seen here: https://8bitbyte.ca/sailnavsim/).
- POSIX threads (pthread) library, with headers
- SQLite3 library, with headers
- libproteus library, with headers (referenced as git submodule)
- Can be cloned/initialized with
git submodule update --init
- Can be cloned/initialized with
- Make
- C compiler (gcc or clang, etc.)
- Rust toolchain (rustc and cargo, etc.)
- GNU/Linux (various distros), x86-64
make sailnavsim
Create the named pipe to be able to send the simulator commands:
mkfifo cmds
Basic run:
./sailnavsim
With optional TCP server listening on localhost:$PORT (for weather data, live boat info, etc.):
./sailnavsim --netport $PORT
Performance test run:
./sailnavsim --perf
echo "TestBoat,add,44.0,-63.0,0,0" > cmds
echo "TestBoat,course,90" > cmds
echo "TestBoat,start" > cmds
echo "TestBoat,stop" > cmds
echo "TestBoat,remove" > cmds
make tests
./sailnavsim_tests