Coder Social home page Coder Social logo

heethesh / argoverse_ros Goto Github PK

View Code? Open in Web Editor NEW
22.0 2.0 4.0 4.97 MB

ROS API and utils for Argoverse dataset

License: BSD 3-Clause "New" or "Revised" License

CMake 31.21% Python 66.16% Shell 2.64%
ros argoverse dataset visualization rviz rosbag

argoverse_ros's Introduction

Python 2.7 Python 3.6 License: BSD

Argoverse ROS

ROS API and utils for the Argoverse dataset.

Argoverse on ROS

Table of Contents

Quick Guide

Currently, you can convert the Argoverse-Tracking sequences to ROS bag files. Clone the argoverse_ros ROS package into your workspace src directory.

Create ROS bags

Run the following command to convert a log sequence to a bag file. Example to convert the sample tracking sequence log.

roslaunch argoverse_ros create_rosbag.launch \
    dataset_dir:=/path/to/argoverse-tracking/sample
    log_id:=c6911883-1843-3727-8eaa-41dc8cda8993
    cameras:="'ring_front_center ring_front_left'"  # Note the single quotes

List of cameras available: ring_front_center, ring_front_left, ring_front_right, ring_rear_left, ring_rear_right, ring_side_left, ring_side_right, stereo_front_left, stereo_front_right.

The following topics will be created in the bag file (saved to argoverse_ros/bags/<LOG_ID>.bag).

/argoverse/lidar/pointcloud
/argoverse/<CAMERA_NAME>/image_rect
/argoverse/<CAMERA_NAME>/camera_info
/tf
/tf_static

Visualize in Rviz

Run the following command to visualize the data in Rviz.

roslaunch argoverse_ros rviz.launch

Argoverse on Rviz

Installation

The Argoverse API only supports Python3.6 and above. Install Python3.6 and the dependent libraries if you don't already have it.

sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.6

Install the Argoverse API as below, optionally you can clone the repository and specify the path to the argoverse directory in $PYTHONPATH.

sudo pip3.6 install --ignore-installed git+https://github.com/argoai/argoverse-api.git

Some of the scripts need the ROS Bag API with Python3, install the following packages.

sudo apt-get install python3-pip python3-yaml
sudo pip3 install rospkg catkin_pkg

Install the requirements for both Python2 and Python3.6.

sudo pip2 install -r requirements.txt
sudo pip3.6 install -r requirements.txt

Setup the argoverse_ros package.

mkdir -p ~/argo_ws/src
git clone https://github.com/heethesh/argoverse_ros ~/argo_ws/src
cd ~/argo_ws
catkin_make
source devel/setup.bash

NOTE: There are issues with running CvBridge with Python3. To keep things simple, all messages are converted to ROS topics in the bag file using Python3.6 (which the Argoverse API requires) except for images which are appended later into the bag file using Python2.7. The create_rosbag.sh script will do it all for you.

TODO

ROS Bag API

  • Simplify image conversion using CvBridge (maybe switch to Python3.6 completely).
  • Batch log conversion.
  • Verfiy quaternion convention from Argoverse in TF.
  • Option to resize images.
  • Handle CameraInfo messages for stereo images.
  • Support ground truth 3D bounding box messages and visualization markers.
  • Support tracker annotations.
  • Support for HD map annotations.
  • Support for motion forecasting logs.

Other Features

  • Publish logs directly from file.
  • Integrate SLAM/Visual Odometry packages.

Links

argoverse_ros's People

Contributors

heethesh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.