• Stars
    star
    352
  • Rank 120,622 (Top 3 %)
  • Language
    C++
  • License
    Other
  • Created over 9 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Traversability mapping for mobile rough terrain navigation

Traversability Estimation

Overview

Traversability mapping for mobile rough terrain navigation.

The Traversability Estimation package has been tested under [ROS] Noetic and Ubuntu 20.04. This is research code, expect that it changes often and any fitness for a particular purpose is disclaimed.

Authors: Martin Wermelinger, Peter Fankhauser, Ralf Kaestner
Contact: Martin Wermelinger, [email protected]
Affiliation: Robotic Systems Lab, ETH Zurich

Build Status

Installation

Dependencies

This software is built on the Robotic Operating System ([ROS]), which needs to be installed first. Additionaly, the Traversability Estimation depends on following software:

Building

In order to install, clone the latest version from this repository into your catkin workspace and compile the package using

cd catkin_ws/src
git clone https://github.com/leggedrobotics/traversability_estimation.git
cd ../
catkin build traversability_estimation

Unit Tests

No unit tests so far.

Basic Usage

In order to get the Traversability estimation to run with your robot, you will need to adapt a few parameters in the config-files. It is the easiest if you duplicate the file robot.yaml, robot_footprint.yaml, and filter_parameter.yaml in traversability_estimation/config and adapt all the parameters you need to change. Then, duplicate the launch-file traversability_estimation/launch/traversability_estimation.launch and change the entries to point at your files. You can then launch the traversability map node with

roslaunch traversability_estimation traversability_estimation.launch

Proceed in the same way for the traversability map visualization by adapting the launch-file traversability_estimation/launch/visualization.launch. You can then launch the traversability map visualization node with

 	roslaunch traversability_estimation visualization.launch

Use rviz to visualize the traversability map.

Nodes

traversability_estimation

This is the main Traversability Estimation node. It uses the elevation map and the traversability estimation filters to generate a traversability map.

Subscribed Topics

  • /image_elevation ([sensor_msgs/Image])

      It is possible to subscribe to an image. The image is converted into a grayscale image and the values are mapped into an elevation map.
    
  • ~/initial_elevation_map ([grid_map_msgs/GridMap])

    It is possible to subscribe to a grid map. The elevation layer of the input grid map is used to compute the traversability map.
    

Published Topics

  • traversability_map ([grid_map_msgs/GridMap])

    The current traversability map. The traversability map can be configured with the traversability filters.

Services

  • load_elevation_map ([grid_map_msgs/ProcessFile])

    Trigger the loading of an elevation map from a [rosbag] file. Trigger the loading of the map with

      rosservice call /traversability_estimation/load_elevation_map "file_path: '/home/user/your_elevation_bag.bag' topic_name: 'elevation_topic_name'"
    
  • update_traversability ([grid_map_msgs/GetGridMapInfo])

    Forces an update of the traversability map, using the current elevation map. The update can be triggered with

      rosservice call /traversability_estimation/update_traversability
    
  • get_traversability ([grid_map_msgs/GetGridMap])

    Request the current traversability map or a submap of it. For example, you can get the traversability submap at position (-1.0, 0.0) and size (2.5, 2.0) and safe it to a text file form the console with

      rosservice call -- /traversability_estimation/get_traversability -1.0 0.0 2.5 2.0 []
    
  • check_footprint_path ([traversability_msgs/CheckFootprintPath])

    This service is used to check the traversability of a single footprint or a path of several footprints. The current traversability map is used to evaluate the footprints.

  • update_parameters ([std_srvs/Empty])

    Use this service to update the parameters of the traversability estimation filters. It reloads the parameter file and sets the new parameters. Trigger the parameter update with

      rosservice call /traversability_estimation/update_parameters
    
  • traversability_footprint ([std_srvs/Empty])

    Computes the traversability of a circular footprint at each map position and stores the values in an additional map layer. This service is intended for visualizing the traversability and debugging. Trigger the traversability computation with

      rosservice call /traversability_estimation/traversability_footprint
    
  • save_traversability_map_to_bag ([grid_map_msgs/ProcessFile])

    Save all layers of the current traversability map to a [rosbag] file. Save the traversability map with

      rosservice call /traversability_estimation/save_traversability_map_to_bag "file_path: '/home/user/your_bag.bag' topic_name: 'traversability_map_topic_name'"
    

Parameters

  • submap_service (string, default: "/elevation_mapping/get_grid_map")

    The name of the service to get the elevation submap.

  • use_raw_map (bool, default: false)

    A boolean to update the traversability map either with the raw or fused elevation map.

  • robot_frame_id (string, default: "base")

    The id of the robot tf frame.

  • map_frame_id (string, default: "map")

    The id of the tf frame of the traversability map. This id must be the same as the input elevation submap.

  • update_rate (double, default: 4.0)

    The update rate (in [Hz]) at which the traversability map is updated.

  • map_center_x, map_center_y (double, default: 1.5, 0.0)

    The position of the traversability map (center) in the traversability map frame.

  • map_length_x, map_length_y (double, default: 5.0)

    The size (in [m]) of the traversability map.

  • traversability_map_filters: (filter_chain)

    Defines the different filters that are used to generate the traversability map.

  • traversability_default (double, default: 0.5)

    Defines the default value for traversability of unknown regions in the traversability map.

  • grid_map_to_initialize_traversability_map/enable (bool, default: false)

    Defines if the input topic ~/initial_elevation_map can be accepted to initialize the traversability map.

  • grid_map_to_initialize_traversability_map/grid_map_topic_name (string, default: initial_elevation_map)

    Defines the input topic name for the grid map message to be used to initialize the traversability map.

Traversability Estimation Filters

The traversability estimation filters can be applied to an elevation map. Each filter adds an additional layer to the elevation map and computes a value for every cell of the map.

  • Surface Normals Filter: Computes the surface normal of each cell of an elevation map. Each component of the surface normal is saved separatly.

  • Slope Filter: Computes the slope traversability value based on an elevation map.

  • Roughness Filter: Computes the roughness traversability value based on an elevation map.

  • Step Filter: Compute the step traversability value based on an elevation map.

Bugs & Feature Requests

Please report bugs and request features using the Issue Tracker.

More Repositories

1

darknet_ros

YOLO ROS: Real-Time Object Detection for ROS
C++
2,158
star
2

ros_best_practices

Best practices, conventions, and tricks for ROS
C++
1,477
star
3

legged_gym

Isaac Gym Environments for Legged Robots
Python
1,188
star
4

ocs2

Optimal Control for Switched Systems
C++
802
star
5

elevation_mapping_cupy

Elevation Mapping on GPU.
Python
508
star
6

open3d_slam

Pointcloud-based graph SLAM written in C++ using open3D library.
C++
503
star
7

rsl_rl

Fast and simple implementation of RL algorithms, designed to run fully on GPU.
Python
487
star
8

se2_navigation

Pure Pursuit Control and SE(2) Planning
C++
439
star
9

free_gait

An Architecture for the Versatile Control of Legged Robots
C++
397
star
10

raisimLib

RAISIM, A PHYSICS ENGINE FOR ROBOTICS AND AI RESEARCH
325
star
11

xpp

Visualization of Motions for Legged Robots in ros-rviz
C++
293
star
12

graph_msf

A graph-based multi-sensor fusion framework. It can be used to fuse various relative or absolute measurments with IMU readings in real-time.
C++
259
star
13

icp_localization

This package provides localization in a pre-built map using ICP and odometry (or the IMU measurements).
C++
258
star
14

viplanner

ViPlanner: Visual Semantic Imperative Learning for Local Navigation
Python
236
star
15

delora

Self-supervised Deep LiDAR Odometry for Robotic Applications
Python
232
star
16

iPlanner

iPlanner: Imperative Path Planning. An end-to-end learning planning framework using a novel unsupervised imperative learning approach
Python
200
star
17

SimBenchmark

Physics engine benchmark for robotics applications: RaiSim vs Bullet vs ODE vs MuJoCo vs DartSim
C++
193
star
18

learning_quadrupedal_locomotion_over_challenging_terrain_supplementary

Supplementary materials for "Learning Locomotion over Challenging Terrain"
C++
173
star
19

raisimGym

Python
141
star
20

art_planner

Local Navigation Planner for Legged Robots
C++
132
star
21

perceptive_mpc

Code for "Perceptive Model Predictive Control for Continuous Mobile Manipulation"
C++
129
star
22

wild_visual_navigation

Wild Visual Navigation: A system for fast traversability learning via pre-trained models and online self-supervision
Python
126
star
23

tensorflow-cpp

Pre-built TensorFlow for C/C++ and CMake.
Shell
114
star
24

terrain-generator

Python
108
star
25

vitruvio

Vitruvio is a framework for rapid leg design analysis and optimization for legged robots. The purpose of the simulation framework is to guide the early stages of legged robot design. The end effectors track an input trajectory and the necessary joint speed, torque, power and energy for the tracking is computed.
MATLAB
88
star
26

L3E

Learning-based localizability estimation for robust LiDAR localization.
87
star
27

elmo_ethercat_sdk

C++
80
star
28

MPC-Net

Accompanying code for the publication "MPC-Net: A First Principles Guided Policy Search"
Python
79
star
29

tree_detection

This package implements a simple tree detector from point cloud data. It makes no assumptions about the ground plane and can handle arbitrary terrains.
C++
69
star
30

rayen

Imposition of Hard Convex Constraints on Neural Networks
Python
68
star
31

raisimOgre

https://rsl.ethz.ch/partnership/spinoff/raisim.html
67
star
32

smug_planner

C++
59
star
33

noesis

A Reinforcement Learning Software Toolbox for Robotics
C++
53
star
34

RSLGym

Reinforcement learning framework from RSL for policy training with RaiSim.
Python
48
star
35

hardware_time_sync

Guidelines on how to hardware synchronize the time of multiple sensors, e.g., IMU, cameras, etc.
46
star
36

anomaly_navigation

Anomaly Navigation - ANNA
Python
41
star
37

cerberus_darpa_subt_datasets

Datasets collected by Team CERBERUS during the DARPA Subterranean Challenge
39
star
38

RaiSimUnity

A visualizer for RaiSim based on Unity
31
star
39

raw_image_pipeline

Image processing pipeline for cameras that provide raw data
C++
31
star
40

soem_interface

This software package serves as a C++ interface for one or more EtherCAT devices running on the same bus. The lower level EtherCAT communication is handled by the SOEM library.
C
28
star
41

tcan

A library to communicate to devices connected through CAN, EtherCat, USB or TCP/IP.
C++
28
star
42

swerve_steering

C++
26
star
43

workflows

Collection of workflows, best-practices and guidelines for software development.
Python
26
star
44

radiance_field_ros

Implementation of Radiance Fields for Robotic Teleoperation
Python
25
star
45

terra

A grid world environment for high-level earthworks planning in JAX for RL.
Python
22
star
46

urdf2robcogen

A tool that translates a robot URDF description into the kindsl format that can be processed by RobCoGen.
C++
21
star
47

maxon_epos_ethercat_sdk

Implementation of an ethercat device driver for the maxon epos 4
C++
18
star
48

self_supervised_segmentation

Python
17
star
49

ocs2_robotic_assets

Various robotic assets for OCS2 Toolbox
CMake
17
star
50

cerberus_anymal_locomotion

C++
16
star
51

cuda_ue4_linux

C++
15
star
52

ethercat_sdk_master

A wrapper around SOEM to allow multiple masters and devices on EtherCAT
C++
14
star
53

ethercat_device_configurator

Manages setup yaml files for the RSL ethercat infrastructure
C++
14
star
54

lunar_planner

Python
14
star
55

pytictac

Simple Timing Utils
Python
13
star
56

catkin_create_rqt

An RQT plugin generator script, supporting several arguments to generate a rqt plugin for ROS, similar to catkin_create_pkg
Python
12
star
57

rl-blindloco

Project page for Science Robotics paper "Learning Quadrupedal Locomotion over Challenging Terrain"
HTML
11
star
58

learning_docker

Shell
9
star
59

any_ping_indicator

An Ubuntu indicator applet to show the ping status.
Python
8
star
60

plr-exercise

Python
7
star
61

terra-baselines

Train, visualize, and evaluate RL policies for the Terra environment.
Python
7
star
62

rsl_heap

CMake
7
star
63

anymal_brax

Python
7
star
64

perfectlyconstrained

Official implementations from the paper "Should We Relax a Bit? A Study on Degeneracy Mitigation in Point Cloud Registration"
7
star
65

unity_ros_teleoperation

C#
6
star
66

gtsam_catkin

Catkinized version of gtsam.
CMake
4
star
67

digbench

Benchmarks and map generation for the Terra environment.
Python
4
star
68

mobile_manipulation

Under construction
3
star
69

realsense_eth_robotics_summer_school_2019

Launch files and utility nodes for running the Realsense on SMB
CMake
2
star
70

xpp-release

Release repository of the xpp repo, necessary for ros hosting.
1
star
71

rsl_panoptic_mapping

C++
1
star
72

rsl_panoptic

Python
1
star
73

pretrained_depth_embedders

Python
1
star
74

darknet_ros-release

1
star
75

webapp-container

Scripts and tools to containerize a PHP-FPM, Nginx, Redis web-application โš™๏ธ
Dockerfile
1
star