Phriky Units - Physical Unit Inconsistency Detection
Physical unit static analysis tool for ROS C++.
* Free software: MIT license .. *Lightweight static analysis Lightweight static analysis
Install (tested on Ubuntu 16.04 and OSX 10.12.6)
pip install phriky_units
Requires Cppcheck greater than 1.75:
apt-get install cppcheck (Ubuntu 16.04)
brew install cppcheck (OSX)
git clone git://github.com/danmar/cppcheck.git (Ubuntu 14.04)
You can run examples by checking out:
git clone https://github.com/unl-nimbus-lab/phriky-units.git
Then from that directory run:
- Detects physical unit inconsistencies, like adding quantities with different units, i.e.
- Lightweight static analysis
- Path insensitive
- No annotation burden
- Low false positive rate (< 15% for `high-confidence’ inconsistencies)
- Works with ROS
NIMBUS Lab at the University of Nebraska, Lincoln
This work was supported in part by NSF awards #1638099 and #1526652, and USDA-NIFA #2013-67021-20947.