This could be done with e.g. [fuse](https://github.com/locusrobotics/fuse) or [robot_localization](https://github.com/cra-ros-pkg/robot_localization)
This could be done with e.g. fuse or robot_localization