FASTDDSGEN(1)

πŸ“¦ version 2.1.0, in ubuntu jammy

πŸ’– FASTDDSGEN πŸ’–

okay bestie, gather round, because this is the manual page for fastddsgen β€” the IDL source code generator β€” and honestly? it's giving main character energy for your whole DDS workflow ✨


✨ NAME ✨

fastddsgen β€” the IDL source code generator. that's it, that's the vibe πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

fastddsgen [options] FILE.idl [FILE.idl ...]

🌸 DESCRIPTION 🌸

so like, fastddsgen is a command line tool that generates eProsima Fast DDS source code, using the data types you defined in an IDL (Interface Definition Language) file. and the generated source code? you can use it in any Fast DDS application to define the data type of a topic, which you'll then use to publish or subscribe. periodt. πŸ”₯

to declare the structured data, you must use the IDL format. IDL is a specification language, made by OMG (Object Management Group), and it describes an interface in a language independent manner β€” which literally lets software components that don't even share the same language communicate. iconic. πŸ’–

the eProsima Fast DDS-Gen tool reads the IDL files and parses a subset of the OMG IDL specification to generate source code for data serialization. this subset includes the data type descriptions included in Defining a data type via IDL. and the rest of the file content? ignored. not even looked at. bye πŸ‘‹


πŸŽ€ OPTIONS πŸŽ€

  • -help β€” shows the help information 🫢
  • -version β€” shows the current version of fastddsgen.
  • -d DIR β€” write generated files to DIR.
  • -I DIR β€” add DIR to the preprocessor include path.
  • -t DIR β€” use DIR as temporary directory.
  • -example PLATFORM β€” generate an example to compile the generated files for a specific platform.
  • -test β€” add a serialization test to the generated example code.
  • -language LANG β€” select programming language (default: C++).
  • -replace β€” overwrite existing output files.
  • -ppDisable β€” disable the preprocessor.
  • -ppPath CPP β€” use CPP as preprocessor executable.
  • -typeros2 β€” name generated types compliant to ROS 2 conventions.
  • -typeobject β€” generate TypeObject files for the IDL and modify the generated constructor to register the TypeObject representation into the type factory.
  • -cs β€” apply case-sensitive matching to IDL grammar.

πŸ” SEE ALSO πŸ”


πŸ‘‘ AUTHOR πŸ‘‘

FastDDS is developed by Proyectos y Sistemas de Mantenimiento SL (eProsima). this manual page was written for Debian by Timo Râhling. 🫢


and that's the whole page, bestie! version 2.1.0+dfsg, page FASTDDSGEN(1), and you're officially caught up. go generate some slay source code πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from