Giter Club home page Giter Club logo

caret_report's Introduction

Test with Autoware

Report creation scripts for CARET

Sample

Requirements

  • Ubuntu
    • Ubuntu 20.04
    • Ubuntu 22.04
      • ROS2 Humble
      • CARET ( Use main/latest )
  • The following software is also needed
# Flask 2.1.0 (need to specify version) is required to create html report pages
pip3 install Flask==2.1.0

# Firefox, selenium and geckodriver are required to generate graph image files
# sudo apt install -y firefox    # Ubuntu 20.04 only
pip3 install selenium
wget https://github.com/mozilla/geckodriver/releases/download/v0.31.0/geckodriver-v0.31.0-linux64.tar.gz
tar xzvf geckodriver-v0.31.0-linux64.tar.gz
sudo mv geckodriver /usr/local/bin/

FAQ and Troubleshooting

Process is stuck or PC freezes/crashes

  • It uses lots of memory
    • 64GB or more is recommended
    • In case crash happens due to memory shortage, increase swap space

Graph files (png files) are not created or Report creation script is stuck

  • Please make sure Firefox is installed properly

  • In Ubuntu 22.04, please consider to install Firefox from tar rather than Firefox installed by snap

    wget --content-disposition "https://download.mozilla.org/?product=firefox-latest-ssl&os=linux64&lang=en-US"
    tar jxf `ls firefox*`
    sudo mv firefox /opt
    sudo ln -s /opt/firefox/firefox /usr/local/bin/firefox
    sudo apt install -y libdbus-glib-1-2
    • Also, try the following commands before running the report creation script
    mkdir $HOME/tmp
    export TMPDIR=$HOME/tmp
    chmod 777 $TMPDIR
  • Or, please consider to use Chromium rather than Firefox to create graph image files using either of the following commands. If using pip command to install, you may need to specify the version which is the same as your chrome browser (e.g. Google Chrome)

    sudo apt install chromium-chromedriver
    pip3 install chromedriver-binary

How to run regression test

# cd to this repo cloned
sh ./report/compare/makereport_and_compare.sh

caret_report's People

Contributors

dependabot[bot] avatar pre-commit-ci[bot] avatar system-tools-actions-public[bot] avatar takam5f2 avatar takeshi-iwanari avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.