Generate ROS msg from asn1 or c file
Hi,
I'm writing a driver for a VANET transceiver (IEEE 802.11p WLAN) to display vehicles and infrastructures that send CAM/DENM messages. The device redirects all received VANET messages via Ethernet/UDP to my ROS computer.
The specifications for the message structures are in asn1 format. So I generated C-code with the ASN.1 compiler asn1c
to decode the received UDP packets into C structures. But now I want to publish these structures as ROS messages so I have to create .msg
files. I don't want to create these messages by hand because the VANET messages contain many nested containers and so on.
Is there a tool to generate ROS msg files from asn1 or c files?
I don't think there's a tool to generate ROS msg files from asn1 files, but if you can file an asn1 parser library it shouldn't be too hard to write one.