flutter_rviz 0.0.2 flutter_rviz: ^0.0.2 copied to clipboard
Flutter Package for ROS Viz Data
flutter_rviz #
Mini RViz in Flutter for showing basic ROS data.
Converts Occupancy Grid obtained by ROS 2 websockets to custom OccupancyGrid object and converts OccupancyGrid to a Uint8Bytes image object.
Tested with ROS 2 Humble as of today.
Installation #
Add it to your flutter package by
flutter pub add flutter_rviz
Usage #
First create an OccupancyGrid Object and populate values in all the fields.
The convert that OccupancyGrid object to Uint8Bytes PNG via occupancyGridToImageBytes
.
Then create a Flutter Image object and use as required: Image.memory(bytesObjCreatedAbove)
Contributing #
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.