Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/knorth55/influxdb_store
[This project is merged to https://github.com/jsk-ros-pkg/jsk_3rdparty] InfluxDB logger for ROS
https://github.com/knorth55/influxdb_store
influxdb logging ros
Last synced: 2 months ago
JSON representation
[This project is merged to https://github.com/jsk-ros-pkg/jsk_3rdparty] InfluxDB logger for ROS
- Host: GitHub
- URL: https://github.com/knorth55/influxdb_store
- Owner: knorth55
- License: bsd-2-clause
- Created: 2020-07-13T15:46:54.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-08-09T14:15:50.000Z (over 2 years ago)
- Last Synced: 2023-03-04T05:04:18.861Z (almost 2 years ago)
- Topics: influxdb, logging, ros
- Language: Python
- Homepage:
- Size: 543 KB
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.rst
- License: LICENSE
Awesome Lists containing this project
README
# This project is merged to [jsk-ros-pkg/jsk_3rdparty](https://github.com/jsk-ros-pkg/jsk_3rdparty).
# influxdb_store
[![main](https://github.com/knorth55/influxdb_store/actions/workflows/main.yml/badge.svg)](https://github.com/knorth55/influxdb_store/actions/workflows/main.yml)
[![linter](https://github.com/knorth55/influxdb_store/actions/workflows/linter.yaml/badge.svg)](https://github.com/knorth55/influxdb_store/actions/workflows/linter.yaml)ROS package for influxdb store
![influxdb_grafana](./media/influxdb_grafana.png)
## Sample
```bash
roslaunch influxdb_store influxdb_logger.launch
```## Logger
### `joint_states_logger.py`
Logger for `sensor_msgs/JointStates`
#### Subscribing topic
- `~input` (`sensor_msgs/JointStates`)
Joint states topic name
#### Parameters
- `~host` (default: `localhost`)
Influxdb host address
- `~port` (default: `8086`)
Influxdb port number
- `~database` (default: `test`)
Influxdb database name
### `map_transform_logger.py`
Logger for transfrom relative to `map_frame`
#### Parameters
- `~host` (default: `localhost`)
Influxdb host address
- `~port` (default: `8086`)
Influxdb port number
- `~database` (default: `test`)
Influxdb database name
- `~map_frame_id` (default: `map`)
Map frame id
- `~update_rate` (default: `0.5`)
Update rate
### `battery_states_logger.py`
Logger for `pr2_msgs/BatteryServer2`
#### Subscribing topic
- `~input` (`pr2_msgs/BatteryServer2`)
Battery topic name
#### Parameters
- `~host` (default: `localhost`)
Influxdb host address
- `~port` (default: `8086`)
Influxdb port number
- `~database` (default: `test`)
Influxdb database name
### `network_states_logger.py`
Logger for network information published by [`jsk_network_tools/network_status.py`](https://github.com/jsk-ros-pkg/jsk_common/tree/master/jsk_network_tools)
#### Subscribing topic
- `~input/receive` (`std_msgs/Float32`)
receiving bps topic name
- `~input/transmit` (`std_msgs/Float32`)
Transmitting bps topic name
#### Parameters
- `~host` (default: `localhost`)
Influxdb host address
- `~port` (default: `8086`)
Influxdb port number
- `~database` (default: `test`)
Influxdb database name
## For JSK PR2 users
### PR1012
```bash
rossetip
rossetmaster pr1012
roslaunch influxdb_store pr2_influxdb_logger.launch robot_name:=pr1012
```### PR1040
```bash
rossetip
rossetmaster pr1040
roslaunch influxdb_store pr2_influxdb_logger.launch robot_name:=pr1040
```### Fetch15
```bash
rossetip
rossetmaster fetch15
roslaunch influxdb_store fetch_influxdb_logger.launch robot_name:=fetch15
```### Fetch1075
```bash
rossetip
rossetmaster fetch1075
roslaunch influxdb_store fetch_influxdb_logger.launch robot_name:=fetch1075
```### Systemctl services
Please see [jsk_database](https://github.com/knorth55/jsk_database).