Skip to content

A C++ static implmentation of ZHL16C with Gradient Factors

License

Notifications You must be signed in to change notification settings

guyfleeman/libbuhlmann

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Buhlmann Decompression Algorithm

WARNING: This software contains bugs and does not have a stable release.

Diving requires training, and technical diving requires technical diving training. Dive plans generated by this library are not gaurenteed to be correct. Diving incorrect plans can result in serious injury or death.

IF YOU ARE NOT COMFORTABLE WITH THE STATE OF THIS CODE OR YOUR DIVING ABILITIES, DO NOT USE IT!!!

Build Instructions

mkdir build
cd build
cmake ..
make all

Run Instruction

Modify data/dp1.txt or data/gs1.txt as desired.

Run ./buhlmann_testing

Run ./data_viz

Build Targets

DSO Core

make libbuhlmann

Planning Testing

make planning_testing

Data Vizualization

make data_viz

Additional Targets

You can make additional executable targets by coping the planning testing section, and changing the names.

Compartment Data

Background

Format

<time in seconds> <C0> ... <C15>

Compartment loading values range from 0.0 to 2.0, where 0.0 represents an underloaded compartment, 1.0 represents a saturated compartment, and 2.0 represents a maximally overloaded compartment. We should visualize this with a column of squares per time step, colored based on compartment load. This can be done in 2D gl without perspective.

An example file is located in the data folder.

About

A C++ static implmentation of ZHL16C with Gradient Factors

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published