Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/agrija9/Rosbag-Analyser
Interactive Post-mortem/Live Analysis of ROS Bag Files
https://github.com/agrija9/Rosbag-Analyser
agile data-visualisation ros-kinetic software-development software-engineering
Last synced: about 2 months ago
JSON representation
Interactive Post-mortem/Live Analysis of ROS Bag Files
- Host: GitHub
- URL: https://github.com/agrija9/Rosbag-Analyser
- Owner: agrija9
- License: mit
- Created: 2019-10-10T12:41:12.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-01T21:18:26.000Z (over 1 year ago)
- Last Synced: 2024-08-04T00:13:37.713Z (5 months ago)
- Topics: agile, data-visualisation, ros-kinetic, software-development, software-engineering
- Language: JavaScript
- Homepage:
- Size: 20.4 MB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://badges.mit-license.org)
[![Build Status](https://travis-ci.org/agrija9/Software-Development-Project.svg?branch=master)](https://travis-ci.org/agrija9/Software-Development-Project)# Post-mortem/Live Analysis of a ROS Bag File
Rosbag Analyser is a tool that allows users to visualize the topics of a rosbag file as an interactive timeline.
This application has a post-mortem and live visualization mode. Users can interact with the timeline by selecting/filtering topics at ease and see their corresponding messages and time stamps
## Rosbag Live Visualizer mode
## Filtering of rostopics in the timeline
This shows the filtering of rostopics in the graph## Prerequisites
Software needed to run this repository:
- [Ubuntu 16.04](https://ubuntu.com/download/desktop)
- Python 2.7 / 3.6## Installation
**Note 1:** If you have a default Anaconda environment sourced when opening a terminal, you must deactivate it by doing ```conda deactivate``` in terminal.
**Note 2:** To use this application you **must** install ROS in your system.
### ROS
Follow the steps from 1 to 1.7 in this tutorial to install [ROS Kinetic](http://wiki.ros.org/kinetic/Installation/Ubuntu) in Ubuntu 16.04.
### Python virtual environment
Open terminal to install pip and virtual environment
```
python3 -m pip install --user --upgrade pip
sudo apt-get install python3-venv
```### Clone repository and install requirements
Clone this repository in your computer
```
git clone https://github.com/agrija9/Rosbag-Analyser.git
```Create a python environment in main folder
```
cd Rosbag-Analyser/
python3 -m venv env
```This will create a folder called ```env``` where all the packages required to run this software will be stored.
Now activate python environment
```
source env/bin/activate
```Install requirements in python environment
```
pip install -r requirements.txt
```## Run
Open a terminal and do
```
ros (in case ros is not sourced when opening the terminal)
roscore
```In another terminal do
```
cd Rosbag-Analyser/
source env/bin/activate
cd src/
python3 app.py
```After this, you should see a message in terminal saying ```Failed to load Python extension for LZ4 support. LZ4 compression will not be available.```. This means that the application is running properly.
A local host has been created at ```http://127.0.0.1:5000/```. Go to that page in your browser and start using the application.
## Test
For unit testing open a terminal and do
```
cd Rosbag-Analyser/
source env/bin/activate
cd src/
python3 test_app.py
```## Built With
* [Flask](https://www.palletsprojects.com/p/flask/) - Web framework
* [visjs](https://visjs.org/) - Interactive timeline in browser
* Pandas
* Pyrosbag
* Flask-SocketIO## Authors
- [Alan Preciado Grijalva](https://github.com/agrija9)
- [Ragith Ayyappan Kutty](https://github.com/rkutty1)
- [Devaiah Ulliyada Arun](https://github.com/divindevaiah)
- [Shravanthi Arvind Patil](https://github.com/ShravanthiPatil)## License
- **[MIT license](http://opensource.org/licenses/mit-license.php)**
## Contributions
- PEP 8