ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

ros_idl and UMAA files

asked 2022-03-04 15:11:58 -0500

I am trying to make a project UMAA compliant for work and I am getting stuck with idl file generation. The idl provided files have defines at the top and do not build because of that. The top of the file is copied below. If anyone has worked with ROS2 and UMAA I would also have questions about that.

Error:

No terminal defined for '#' at line 18 col 1
#ifndef _LDM_MDE_PRIMARY_MISSION_CONTROL
^

File:

/**
 *
 * DISTRIBUTION STATEMENT A. Approved for public release. Distribution is unlimited.
 *
 */

#ifndef _LDM_MDE_PRIMARY_MISSION_CONTROL_VEHICLE_MANAGEMENT_VEHICLECONTROL_VELOCITYCONTROL_VELOCITYCOMMANDACKREPORTTYPE
#define _LDM_MDE_PRIMARY_MISSION_CONTROL_VEHICLE_MANAGEMENT_VEHICLECONTROL_VELOCITYCONTROL_VELOCITYCOMMANDACKREPORTTYPE

#include "UMAA/Common/MaritimeEnumeration/EnumerationSets.idl"
#include "UMAA/Common/Measurement/Measurements.idl"
#include "UMAA/Common/Measurement/OrientationVelocity3D.idl"
#include "UMAA/Common/Measurement/Velocity3D_PlatformXYZ.idl"
module UMAA
{
edit retag flag offensive close merge delete

Comments

As an update we used FastDDS to generate the files, but are getting linking errors trying to use them in ROS2.

klewisBE gravatar image klewisBE  ( 2022-03-09 15:43:09 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-04-08 13:40:55 -0500

The end solution for this was using cycloneDDS to generate the files from the idl provided by the standard and using the generated files as a library. In the ros2 nodes there were cyclone publishers and subscribers added that could communicate using the standard on the DDS bus.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2022-03-04 15:11:58 -0500

Seen: 216 times

Last updated: Apr 08 '22