Skip to main content

Static analysis framework for ROS

Project description

DOI

HAROS

HAROS is a framework for quality assurance of ROS-based code, mostly based on static analysis.

Static analysis consists on extracting information from the source code without executing it (and, sometimes, even without compiling it). The kind of properties that can be verified include simple conformity checks, such as checking whether a variable is initialised, to more complex properties, such as functional behaviour of the program. This allows early detection of problems in the software development life cycle, which would otherwise go unnoticed into later stages or even into production.

Needless to say, sometimes in robotics it is very hard (or very expensive) to properly test software, not to talk about possible risks. Hence the appeal of static analysis.

There is a demo page of the HAROS visualizer available on GitHub, a short video presentation of the current state of HAROS on YouTube and a (slightly outdated) demo video on YouTube as well.

Current Status

HAROS is still being developed, as of August 2021. Help improve HAROS by participating in a short user survey.

Installing

To install HAROS, make sure that you have Python 2.7 or greater. Simply run the command:

pip install haros

For alternative methods, and to install external dependencies required for some features, see INSTALL.

How to Use

See USAGE for basic commands and usage instructions.

Bugs, Questions and Support

Check whether your question has an answer in the FAQ.

Please use the issue tracker for issues or feature requests directly related to HAROS.

For issues related to plugins, please use the respective plugin repository.

If you run into errors, or feel that something is not working, run HAROS in debug mode, so the log files do not miss any information, e.g.,

haros --debug analyse ...

Then, you can share the log file, found by default within ~/.haros/log.txt.

Citing

See CITING.

Contributing

See CONTRIBUTING.

Acknowledgment

Until March 2021, this work was financed by the ERDF – European Regional Development Fund through the Operational Programme for Competitiveness and Internationalisation - COMPETE 2020 Programme and by National Funds through the Portuguese funding agency, FCT - Fundação para a Ciência e a Tecnologia within project PTDC/CCI-INF/29583/2017 (POCI-01-0145-FEDER-029583).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

haros-3.10.14.tar.gz (323.8 kB view details)

Uploaded Source

Built Distribution

haros-3.10.14-py2-none-any.whl (362.8 kB view details)

Uploaded Python 2

File details

Details for the file haros-3.10.14.tar.gz.

File metadata

  • Download URL: haros-3.10.14.tar.gz
  • Upload date:
  • Size: 323.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.15rc1

File hashes

Hashes for haros-3.10.14.tar.gz
Algorithm Hash digest
SHA256 34fbee7ee843ce9d91cb7476fcfac6cba13091a66e0a9ca171ce778147f0eb13
MD5 5f8c23031fa419e837268de33673e334
BLAKE2b-256 e95cb84600004ea4f16c6ab2a600c3fbc646041e31ea6c23f2965f10069ac0be

See more details on using hashes here.

File details

Details for the file haros-3.10.14-py2-none-any.whl.

File metadata

  • Download URL: haros-3.10.14-py2-none-any.whl
  • Upload date:
  • Size: 362.8 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.15rc1

File hashes

Hashes for haros-3.10.14-py2-none-any.whl
Algorithm Hash digest
SHA256 48b135e675e88303fdfc89d4d57c18e2481b82b4da7c141220bc6f5c189218f0
MD5 4b44dbdbcb4fc1c2c0795bd23b7d1f83
BLAKE2b-256 4e8dec2f62788aa69a8e884735587bfe77aa8fcac0be7e720223e2bb4e9f7509

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page