ROBOTIS-GIT / ros2arduino

This library helps the Arduino board communicate with the ROS2 using XRCE-DDS.
Apache License 2.0
219 stars 43 forks source link

nav_msgs::Odometry can't use #18

Closed quaei676 closed 5 years ago

quaei676 commented 5 years ago

I can use Pose or PoseWithCovariance to transfer the data. But I dont't know why I can't use the nav_msgs::Odometry. ros2arduino version:0.0.9 OpenCR version: 1.4.5 Many thanks.

OpusK commented 5 years ago

I also saw this issue. We have found that data is not being transmitted after the writer is created. In this regard, we will debug and answer your questions.

OpusK commented 5 years ago

Hi, @quaei676

As Micro-XRCE-DDS has been updated, this issue seems to be resolved. This update is currently applied to ros2arduino 0.1.1.

However, the following issues still exist and it is difficult to receive normal data. If the issue below is resolved, the Odometry message seems to be available normally.

quaei676 commented 5 years ago

Hi, @OpusK

Thanks for answering my questions. I will look forward to next version. Many thanks.

OpusK commented 5 years ago

@quaei676

This issue is fixed in version 0.1.2. Please try after the update.

quaei676 commented 5 years ago

@OpusK

My robot needs imu data. Therefore, I directly use sensors.imu.rpy[]. However, I find that I have to subscribe imu data, then sensors.imu.rpy[] have normal data. It should be no problem in ros2arduino version:0.0.9. Many thanks.