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.11.tar.gz (326.1 kB view details)

Uploaded Source

Built Distribution

haros-3.10.11-py3-none-any.whl (362.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: haros-3.10.11.tar.gz
  • Upload date:
  • Size: 326.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.10

File hashes

Hashes for haros-3.10.11.tar.gz
Algorithm Hash digest
SHA256 64eff31bfb16cc1f4de6b3761f5c5606bba971ef291870e73c28394459446751
MD5 dab4d4de8545762fdb15e5ae021d54ba
BLAKE2b-256 1a465981b2313f11af874c034d366f34bc714153fa8fa6ac7e0e685dc92c3e81

See more details on using hashes here.

File details

Details for the file haros-3.10.11-py3-none-any.whl.

File metadata

  • Download URL: haros-3.10.11-py3-none-any.whl
  • Upload date:
  • Size: 362.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.10

File hashes

Hashes for haros-3.10.11-py3-none-any.whl
Algorithm Hash digest
SHA256 a93bc77eb73ab515619b2614917c93f156b83018e8bb01e1ad71b35933499871
MD5 934260d682841391e39adf0d51ab6f51
BLAKE2b-256 b07c5c6fa4ee3a0f2e3f486f9a2f49def7fbb405a712ed5889e0f595d6378ac6

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