An open API service indexing awesome lists of open source software.

https://github.com/alexandrefch/ros-radar-view

ROS package that generate radar view like image topic. Useful to visualize top view objects.
https://github.com/alexandrefch/ros-radar-view

melodic noetic opencv python python2 python3 ros ros-noetic rviz ui

Last synced: 9 months ago
JSON representation

ROS package that generate radar view like image topic. Useful to visualize top view objects.

Awesome Lists containing this project

README

          

# ROS Radar-View

![Ros](https://img.shields.io/badge/Ros-Noetic-green?style=for-the-badge&logo=ROS)
![Python](https://img.shields.io/badge/Python-3.8-green?style=for-the-badge&logo=Python&logoColor=FFFFFF)

This ROS package allow you to generate a radar like map using relative coordinate to the center, like as below.

radar-view example

**Fig.1** RViz screenshot of the radar-view with multiples points

## :rocket: Quick start

### 1. Installation from source

First you need to download all required source, like the [ros-image-transport-py](https://github.com/alexandrefch/ros-image-transport-py) package, that manage automaticly image stream.
Moreover you might need some python package like [OpenCV](https://github.com/opencv/opencv), you can install them by simply execute `pip install opencv-python` or better compile from source for GPU.

**Clone and Compile**

Clone thoose two packages inside the `src` directory of your catkin workspace.

```shell
git clone https://github.com/alexandrefch/radar-view.git
git clone https://github.com/alexandrefch/ros-image-transport-py.git
```

Now you can compile them using your catkin tool (`catkin_make`, `catkin_build` ...).

### 2. Custom launch file

Here you can find an example launch file where each parameters are described.

```xml
















```

### :incoming_envelope: Messages

**RadarObj.msg**

The position `x` and `y` are relative to the center of the map, that mean that the center of the map is `(0;0)`, `label` and `color` param are optional you don't need to fill them to make a point appear on the map.

```py
float32 x # x position [m]
float32 y # y position [m]
string label # obj label (optional)
std_msgs/ColorRGBA color # obj color (optional)
```

**RadarObjArray.msg**

```py
radar_view/RadarObj[] objects
```