-
Notifications
You must be signed in to change notification settings - Fork 316
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Put advertisement info and content in same dds message
- Loading branch information
Showing
10 changed files
with
196 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
/* | ||
* Copyright 2023 (c) 2023 Intelligent Robotics Group, NASA ARC | ||
*/ | ||
|
||
#include "Message.idl" | ||
|
||
module rapid { | ||
module ext { | ||
module astrobee { | ||
typedef string<16384> String16K; | ||
|
||
//@copy-c-declaration class GenericCommsDataTypeSupport; | ||
//@copy-c-declaration class GenericCommsDataDataWriter; | ||
//@copy-c-declaration class GenericCommsDataDataReader; | ||
//@copy-c-declaration struct GenericCommsDataSeq; | ||
|
||
//@copy-declaration /** | ||
//@copy-declaration * Data of a generic comms ROS message | ||
//@copy-declaration */ | ||
valuetype GenericCommsData : Message { | ||
//@copy-c-declaration #if RTI_DDS_VERSION_MAJOR < 4 || (RTI_DDS_VERSION_MAJOR == 4 && RTI_DDS_VERSION_MINOR < 5) || (RTI_DDS_VERSION_MAJOR == 4 && RTI_DDS_VERSION_MINOR == 5 && RTI_DDS_VERSION_RELEASE != 'f' ) | ||
//@copy-c-declaration typedef GenericCommsDataTypeSupport TypeSupport; | ||
//@copy-c-declaration typedef GenericCommsDataDataWriter DataWriter; | ||
//@copy-c-declaration typedef GenericCommsDataDataReader DataReader; | ||
//@copy-c-declaration typedef GenericCommsDataSeq Seq; | ||
//@copy-c-declaration #endif | ||
//@copy-c-declaration typedef GenericCommsData Type; | ||
|
||
//@copy-declaration /** Topic on which to republish */ | ||
public String128 outputTopic; | ||
|
||
//@copy-declaration /** Whether republisher should advertise topic as latching */ | ||
public boolean latching; | ||
|
||
//@copy-declaration /** ROS message data type name */ | ||
public String128 dataType; | ||
|
||
//@copy-declaration /** ROS message md5sum of type */ | ||
public String64 md5Sum; | ||
|
||
//@copy-declaration /** ROS message definition */ | ||
public String16K msgDefinition; | ||
|
||
//@copy-declaration /** Serialized content of the message */ | ||
public OctetSequence128K data; | ||
}; | ||
}; | ||
}; | ||
}; |