-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate content from std_msgs #11
Changes from 7 commits
ea59cb2
c173a71
14ce705
f502d5b
459b233
430a978
6bb2abb
e082acd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,5 @@ | ||||||
# This is an example message of using a primative datatype, bool. | ||||||
# If you want to test with this that's fine, but if you are deploying | ||||||
# it into a system you should create a semantically meaningful custom message. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @tfoote consider
Suggested change
same elsewhere. |
||||||
# If you want to embed it in another message use the primative not this message. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @tfoote consider:
Suggested change
same elsewhere. |
||||||
bool data |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This is an example message of using a primative datatype, byte. | ||
# If you want to test with this that's fine, but if you are deploying | ||
# it into a system you should create a semantically meaningful custom message. | ||
# If you want to embed it in another message use the primative not this message. | ||
byte data |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# This is an example of using complex datatypes. | ||
# It is not recommended to use directly. | ||
# To use a similar datastruct please define a custom message with appropriate semantic meaning. | ||
|
||
# Please look at the MultiArrayLayout message definition for | ||
# documentation on all multiarrays. | ||
|
||
MultiArrayLayout layout # specification of data layout | ||
byte[] data # array of data |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This is an example message of using a primative datatype, char. | ||
# If you want to test with this that's fine, but if you are deploying | ||
# it into a system you should create a semantically meaningful custom message. | ||
# If you want to embed it in another message use the primative not this message. | ||
char data |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# If you want to test with this that's fine, but if you are deploying | ||
# it into a system you should create a semantically meaningful custom message. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This is an example message of using a primative datatype, float32. | ||
# If you want to test with this that's fine, but if you are deploying | ||
# it into a system you should create a semantically meaningful custom message. | ||
# If you want to embed it in another message use the primative not this message. | ||
float32 data |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# This is an example of using complex datatypes. | ||
# It is not recommended to use directly. | ||
# To use a similar datastruct please define a custom message with appropriate semantic meaning. | ||
|
||
# Please look at the MultiArrayLayout message definition for | ||
# documentation on all multiarrays. | ||
|
||
MultiArrayLayout layout # specification of data layout | ||
float32[] data # array of data |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This is an example message of using a primative datatype, float64. | ||
# If you want to test with this that's fine, but if you are deploying | ||
# it into a system you should create a semantically meaningful custom message. | ||
# If you want to embed it in another message use the primative not this message. | ||
float64 data |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# This is an example of using complex datatypes. | ||
# It is not recommended to use directly. | ||
# To use a similar datastruct please define a custom message with appropriate semantic meaning. | ||
|
||
# Please look at the MultiArrayLayout message definition for | ||
# documentation on all multiarrays. | ||
|
||
MultiArrayLayout layout # specification of data layout | ||
float64[] data # array of data |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This is an example message of using a primative datatype, int16. | ||
# If you want to test with this that's fine, but if you are deploying | ||
# it into a system you should create a semantically meaningful custom message. | ||
# If you want to embed it in another message use the primative not this message. | ||
int16 data |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# This is an example of using complex datatypes. | ||
# It is not recommended to use directly. | ||
# To use a similar datastruct please define a custom message with appropriate semantic meaning. | ||
|
||
# Please look at the MultiArrayLayout message definition for | ||
# documentation on all multiarrays. | ||
|
||
MultiArrayLayout layout # specification of data layout | ||
int16[] data # array of data |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This is an example message of using a primative datatype, int32. | ||
# If you want to test with this that's fine, but if you are deploying | ||
# it into a system you should create a semantically meaningful custom message. | ||
# If you want to embed it in another message use the primative not this message. | ||
int32 data |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# This is an example of using complex datatypes. | ||
# It is not recommended to use directly. | ||
# To use a similar datastruct please define a custom message with appropriate semantic meaning. | ||
|
||
# Please look at the MultiArrayLayout message definition for | ||
# documentation on all multiarrays. | ||
|
||
MultiArrayLayout layout # specification of data layout | ||
int32[] data # array of data |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This is an example message of using a primative datatype, int64. | ||
# If you want to test with this that's fine, but if you are deploying | ||
# it into a system you should create a semantically meaningful custom message. | ||
# If you want to embed it in another message use the primative not this message. | ||
int64 data |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# This is an example of using complex datatypes. | ||
# It is not recommended to use directly. | ||
# To use a similar datastruct please define a custom message with appropriate semantic meaning. | ||
|
||
# Please look at the MultiArrayLayout message definition for | ||
# documentation on all multiarrays. | ||
|
||
MultiArrayLayout layout # specification of data layout | ||
int64[] data # array of data |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This is an example message of using a primative datatype, in8. | ||
# If you want to test with this that's fine, but if you are deploying | ||
# it into a system you should create a semantically meaningful custom message. | ||
# If you want to embed it in another message use the primative not this message. | ||
int8 data |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# This is an example of using complex datatypes. | ||
# It is not recommended to use directly. | ||
# To use a similar datastruct please define a custom message with appropriate semantic meaning. | ||
|
||
# Please look at the MultiArrayLayout message definition for | ||
# documentation on all multiarrays. | ||
|
||
MultiArrayLayout layout # specification of data layout | ||
int8[] data # array of data |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# This is an example of using complex datatypes. | ||
# It is not recommended to use directly. | ||
# To use a similar datastruct please define a custom message with appropriate semantic meaning. | ||
|
||
string label # label of given dimension | ||
uint32 size # size of given dimension (in type units) | ||
uint32 stride # stride of given dimension |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# This is an example of using complex datatypes. | ||
# It is not recommended to use directly. | ||
# To use a similar datastruct please define a custom message with appropriate semantic meaning. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @tfoote There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I specifically chose datastruct here to refer to the structure as opposed to the type as the guidance is to make a new type (indirectly by the new message). |
||
|
||
# The multiarray declares a generic multi-dimensional array of a | ||
# particular data type. Dimensions are ordered from outer most | ||
# to inner most. | ||
# | ||
# Accessors should ALWAYS be written in terms of dimension stride | ||
# and specified outer-most dimension first. | ||
# | ||
# multiarray(i,j,k) = data[data_offset + dim_stride[1]*i + dim_stride[2]*j + k] | ||
# | ||
# A standard, 3-channel 640x480 image with interleaved color channels | ||
# would be specified as: | ||
# | ||
# dim[0].label = "height" | ||
# dim[0].size = 480 | ||
# dim[0].stride = 3*640*480 = 921600 (note dim[0] stride is just size of image) | ||
# dim[1].label = "width" | ||
# dim[1].size = 640 | ||
# dim[1].stride = 3*640 = 1920 | ||
# dim[2].label = "channel" | ||
# dim[2].size = 3 | ||
# dim[2].stride = 3 | ||
# | ||
# multiarray(i,j,k) refers to the ith row, jth column, and kth channel. | ||
|
||
MultiArrayDimension[] dim # Array of dimension properties | ||
uint32 data_offset # padding bytes at front of data |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This is an example message of using a primative datatype, string. | ||
# If you want to test with this that's fine, but if you are deploying | ||
# it into a system you should create a semantically meaningful custom message. | ||
# If you want to embed it in another message use the primative not this message. | ||
string data |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This is an example message of using a primative datatype, uint16. | ||
# If you want to test with this that's fine, but if you are deploying | ||
# it into a system you should create a semantically meaningful custom message. | ||
# If you want to embed it in another message use the primative not this message. | ||
uint16 data |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# This is an example of using complex datatypes. | ||
# It is not recommended to use directly. | ||
# To use a similar datastruct please define a custom message with appropriate semantic meaning. | ||
|
||
# Please look at the MultiArrayLayout message definition for | ||
# documentation on all multiarrays. | ||
|
||
MultiArrayLayout layout # specification of data layout | ||
uint16[] data # array of data |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This is an example message of using a primative datatype, uint32. | ||
# If you want to test with this that's fine, but if you are deploying | ||
# it into a system you should create a semantically meaningful custom message. | ||
# If you want to embed it in another message use the primative not this message. | ||
uint32 data |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# This is an example of using complex datatypes. | ||
# It is not recommended to use directly. | ||
# To use a similar datastruct please define a custom message with appropriate semantic meaning. | ||
|
||
# Please look at the MultiArrayLayout message definition for | ||
# documentation on all multiarrays. | ||
|
||
MultiArrayLayout layout # specification of data layout | ||
uint32[] data # array of data |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This is an example message of using a primative datatype, unint64. | ||
# If you want to test with this that's fine, but if you are deploying | ||
# it into a system you should create a semantically meaningful custom message. | ||
# If you want to embed it in another message use the primative not this message. | ||
uint64 data |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# This is an example of using complex datatypes. | ||
# It is not recommended to use directly. | ||
# To use a similar datastruct please define a custom message with appropriate semantic meaning. | ||
|
||
# Please look at the MultiArrayLayout message definition for | ||
# documentation on all multiarrays. | ||
|
||
MultiArrayLayout layout # specification of data layout | ||
uint64[] data # array of data |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This is an example message of using a primative datatype, uint8. | ||
# If you want to test with this that's fine, but if you are deploying | ||
# it into a system you should create a semantically meaningful custom message. | ||
# If you want to embed it in another message use the primative not this message. | ||
uint8 data |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# This is an example of using complex datatypes. | ||
# It is not recommended to use directly. | ||
# To use a similar datastruct please define a custom message with appropriate semantic meaning. | ||
|
||
# Please look at the MultiArrayLayout message definition for | ||
# documentation on all multiarrays. | ||
|
||
MultiArrayLayout layout # specification of data layout | ||
uint8[] data # array of data |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This is an example message of using a primative datatype, wstring. | ||
# If you want to test with this that's fine, but if you are deploying | ||
# it into a system you should create a semantically meaningful custom message. | ||
# If you want to embed it in another message use the primative not this message. | ||
wstring data |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# This is an example of a service to set a boolean value. | ||
# This can be used for testing but a semantically meaningful | ||
# one should be created to be built upon. | ||
|
||
bool data # e.g. for hardware enabling / disabling | ||
--- | ||
bool success # indicate successful run of triggered service | ||
string message # informational, e.g. for error messages |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# An example of a trigger service. | ||
# This can be used for testing but a semantically meaningful | ||
# one should be created to be built upon. | ||
|
||
--- | ||
bool success # indicate successful run of triggered service | ||
string message # informational, e.g. for error messages. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tfoote consider