This repo contains code for converting Livox pointcloud2 messages to Livox customized data package format. It is only one way, meaning that the code to conver from customized msg to pointcloud2 is not implemented.
I used the documentation of the livox ROS driver and the driver code to save each message type for getting the correct values for each field.
roslaunch livox_msg_conversions convert_to_custom_fastlio.launch
Note: This conversion has not been thoroughly tested yet.
roslaunch livox_msg_conversions convert_to_custom_liosam.launch