The Robot Application Programming Interface Delegate Project
|
The core RAPID messages specifications and APIs are written in IDL, an interface definition language, and follow the CORBA IDL format.
To generate language-specific source code for RAPID, follow the instructions on this page. Currently Java and C++ are supported.
rtiddsgen -d ../generated-src -replace -language java filename.idl
rtiddsgen -d ../generated_src -replace -namespace -language C++ filename.idl
for %X in (*.idl) do rtiddsgen -d ../generated_src -replace -namespace -language C++ %X
#!/bin/tcsh # Generate code from IDL files setenv NDDSHOME /opt/rti/ndds.4.5d setenv XALANHOME /Users/dmittman/Development/xalan-j_2_7_1 setenv NDDSJREHOME /Library/Java/Home pushd src-idl foreach file (`ls *.idl`) $NDDSHOME/scripts/rtiddsgen -d ../generated-src -language Java -package gov.nasa.rapid.idl.dds -replace $file end popd # End