A code generator for the required message/service data classes for krosbridge.
krosbridge relies on kotlin data classes for the serialization of custom message/service types. These serialization classes can be either written or generated using this software.
In summary, the code generator reads the user-defined .msg
/.srv
files with the different type definitions to generate the required kotlin data classes.
This package is a standalone command line java application and a Gradle Plugin which exposes the gradle task generateROSSources
.
- The standalone command line application requires the input and output paths for code generation.
- The gradle plugin searches for ROS types in the
src/main/ros/myrosproject/srv
directory to generate the sources into the build directory under/build/generated/source/ros/com/company/project/messages/
.
See krosbridge for usage.
Feel free to open a new issue/pull-request about any possible improvement.
This project is licensed under the BSD - see the License file for details.