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

Uploaded Source

Built Distribution

haros-3.10.9-py2-none-any.whl (362.6 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: haros-3.10.9.tar.gz
  • Upload date:
  • Size: 323.6 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.9.tar.gz
Algorithm Hash digest
SHA256 fcb741508b4d69fb3c9e89b352d39478b28b5ab3b7bc8f04ffc7c8d33b00e2f9
MD5 1c65c060ed0adb55350f9dafefffb0c1
BLAKE2b-256 156d577b7fb8018cc970e49508e59bf60425628a55fb8598ed9a1160cc6172a9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: haros-3.10.9-py2-none-any.whl
  • Upload date:
  • Size: 362.6 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.9-py2-none-any.whl
Algorithm Hash digest
SHA256 364bf673d50d296e32487fcfb998aa3c7c15a72e90b81db155b5f8b7fa5537e8
MD5 4b70d30d4b591d0e6527a99cd8155cf9
BLAKE2b-256 568f26c3a7b888e2ce1b08313eab9491db2c791dfb66b7f9cdad10d8b203aa5d

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