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.
- Host: GitHub
- URL: https://github.com/alexandrefch/ros-radar-view
- Owner: alexandrefch
- License: apache-2.0
- Created: 2023-02-16T13:32:10.000Z (over 3 years ago)
- Default Branch: noetic-devel
- Last Pushed: 2023-02-19T00:01:13.000Z (over 3 years ago)
- Last Synced: 2025-09-07T07:37:26.460Z (10 months ago)
- Topics: melodic, noetic, opencv, python, python2, python3, ros, ros-noetic, rviz, ui
- Language: Python
- Homepage:
- Size: 58.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ROS Radar-View


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

**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
```