[Rock-dev] [rock] #135: orogen generates an invalid XXXDynSK.cpp

rock noreply at opendfki.de
Fri Mar 30 19:52:15 CEST 2012


#135: orogen generates an invalid XXXDynSK.cpp
----------------------------+-----------------------------------
 Reporter:  Alexander.Duda  |      Owner:  rock-dev-mailing-list
     Type:  defect          |     Status:  new
 Priority:  major           |  Milestone:
Component:  base            |   Keywords:
----------------------------+-----------------------------------
 If the struct PipelineSonarContacts is used as type for a port, orogen
 generates an invalid DynSK.cpp because it forgets to defines some types
 (static CORBA::TypeCode_ptr)

 struct PipelineSonarContact
 {
     base::Time time;
     float distance;             // distance to the contact
     std::vector<double> polynomial;
     std::vector<double> extrema;
 };

 struct PipelineSonarContacts
 {
     base::Time time;
     std::vector<PipelineSonarContact> contacts;
 };

 Workaround:
 If the structs are placed insight a name space everything works fine.

 Back Trace:
 see attached file

-- 
Ticket URL: <https://rock.opendfki.de/ticket/135>
rock <https://rock.opendfki.de>
rock: the robot construction kit


More information about the Rock-dev mailing list