Download FastRTPSGEN User`s Manual
Transcript
Contents 1. Introduction............................................................................................................................................1 2. Building your publisher/subscriber code.................................................................................................2 3. Defining your data types.........................................................................................................................4 3.1. Basic types.............................................................................................................................................4 3.2. Arrays.....................................................................................................................................................4 3.3. Sequences..............................................................................................................................................5 3.4. Structures..............................................................................................................................................5 3.5. Unions....................................................................................................................................................6 3.6. Enumerations.........................................................................................................................................7 3.7. Keyed Types...........................................................................................................................................8 4. HelloWorld example................................................................................................................................9 4.1. Writing the IDL file.................................................................................................................................9 4.2. Generating specific code........................................................................................................................9 4.3. Finishing the generated code.................................................................................................................9 4.3.1. Publisher behavior........................................................................................................................10 4.3.2. Subscriber behavior......................................................................................................................10 4.4. Building and executing.........................................................................................................................10 Figure List Table List