-
Notifications
You must be signed in to change notification settings - Fork 130
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
Create New Custom Message #201
Comments
Provide a comprehensive list of commands and code of your application in order to reproduce this issue. |
For more info check: https://asciinema.org/a/ERulP9hCXpkzPgpS0eKXPcozz The session is quite long but you can find: |
Dear @pablogs9
I follow according to your video. However, when agent run and application start run, the nsh become aborting. I suspect I need to update int into microROS agent also. |
Hello @MARLARCHAN I'm closing this issue since it seems that you have solved the problem of creation and cross-compilation of a micro-ROS new type. Regarding the other part: open a new issue targeting this new problem, and please take into account:
|
Dear @pablogs9 @ralph-lange @FranFin
I'm trying to add custom message into microros right now. I follow according to the link.
https://micro-ros.github.io/docs/tutorials/core/create_new_type/
In that link, I update the following variables as in eg.
my_custom_message__msg__MyCustomMessage msg;
msg.byte_test = 3;
msg.uint32_test = 42;
msg.point32_test.x = 1.23;
msg.point32_test.y = 2.31;
msg.point32_test.z = 3.12;
I follwed according to the instructure procedure.
(my_custom_message__msg__MyCustomMessage ) structure is declared in (my_custom_message__struct.h ) as the following:
// Struct defined in msg/MyCustomMessage in the package my_custom_message.
typedef struct my_custom_message__msg__MyCustomMessage
{
bool bool_test;
uint8_t byte_test;
uint8_t char_test;
float float32_test;
double double_test;
int8_t int8_test;
uint8_t uint8_test;
int16_t int16_test;
uint16_t uint16_test;
int32_t int32_test;
uint32_t uint32_test;
int64_t int64_test;
uint64_t uint64_test;
geometry_msgs__msg__Point32 point32_test;
} my_custom_message__msg__MyCustomMessage;
However, I'm facing the issue as shown in following:
I've no idea to trace this issue.Please check and guide for me what is the issue related.
Best Regards,
Marlar
The text was updated successfully, but these errors were encountered: