With a few of the imus that I've worked with, the gyro has had an update rate that was significantly faster than the accelerometer.
Some of the imus that I have used also had magnetometers and barrometers.
For these reasons I think it is best to publish individual messages for each sensor type rather than a combined message.
The downside is that if a particular sensor has all four sensor types, then there is unessisary duplication of the header data. However, it would provide more flexibility for the general case.
It would also allow users to use discreet sensors which all publish individual messages which could be read by some filtering node without the need to have an intermediate node to pack all of the data into one message at fixed intervals.
Just my two cents.
Regards,
Dereck Wonnacott
Hi everyone,(tldr; See sketch of proposed messages to replace sensor_msgs/Ium at the bottom. )After watching the discussions on REP 145 I think the underlying issue we're running into is that the Imu message is actually not clearly defined.
I spent quite a while with @wjwwood on the whiteboard and here's a summary of what we discussed.
Hi all,Re Tully's suggestion, separating the inertial and world frame data messages makes some sense. However, I think separating accelerometers and gyros is overkill. We are talking about an Inertial Measuring "Unit" here. All the definitions of IMU that I have found on the net say that a minimal IMU combines at least the accels and rate gyros in a single package. If we are to consider separate accelerometer packages and gyro packages, we should just as well consider 3 separate accels and 3 separate gyros each of which could have its own frame. It seems as if such rare cases could be left to custom drivers that might combine all the data into a common frame.
--
You received this message because you are subscribed to the Google Groups "ROS Drivers Special Interest Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ros-sig-drive...@googlegroups.com.
To post to this group, send email to ros-sig...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ros-sig-drivers/43CB1F92D4CF472CBC9440C1126FBFBB%40DDT3.
--
You received this message because you are subscribed to the Google Groups "ROS Drivers Special Interest Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ros-sig-drive...@googlegroups.com.
To post to this group, send email to ros-sig...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ros-sig-drivers/10212ec0-e52d-4107-9a90-4be4b769fb7f%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ros-sig-drivers/CAM7qi7WDdAqFPt1juoV_zNw5b1_LkF-9DM-0GoDm%3DPgd2kJJng%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "ROS Drivers Special Interest Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ros-sig-drive...@googlegroups.com.
To post to this group, send email to ros-sig...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ros-sig-drivers/f9f64772-f95a-4de8-ad16-d32de8b358c0%40googlegroups.com.
Hi Paul,As you mention the reference_frame_type can be redundant with the ground_reference_frame. However in the case of a floating reference frame, I can see several use cases where the parent coordinate frame is not attached to the same tf tree(probably to anything).If you want to ground a floating estimate, as you mention, a separate process can be started which will estimate the drift in the ground_reference_frame. This is exactly the same approach we use with localization to estimate the transform between odom and map. In this case the data is not redundant but is information which is important for the estimator to have available to accurately do it's job.
@JackI agree Ahrs is a little odd to reference the device. AttitudeAndHeading seems to be pretty good, it's long but specific. Depending on your definition of attitude it's redundant and we could truncate it to just Attitude using the definition which includes all three axes.
On Fri, Mar 6, 2015 at 1:09 PM, Tully Foote <tfo...@osrfoundation.org> wrote:Hi Paul,As you mention the reference_frame_type can be redundant with the ground_reference_frame. However in the case of a floating reference frame, I can see several use cases where the parent coordinate frame is not attached to the same tf tree(probably to anything).If you want to ground a floating estimate, as you mention, a separate process can be started which will estimate the drift in the ground_reference_frame. This is exactly the same approach we use with localization to estimate the transform between odom and map. In this case the data is not redundant but is information which is important for the estimator to have available to accurately do it's job.I am unclear about this concept of a floating reference frame. I understand the map -> odom example, where localization periodically publishes updates.Are you thinking of similar periodic adjustments for a Cartesian system aligned with local gravity? Robots travelling long distances need to adjust for the curvature of the Earth, eventually.
--@JackI agree Ahrs is a little odd to reference the device. AttitudeAndHeading seems to be pretty good, it's long but specific. Depending on your definition of attitude it's redundant and we could truncate it to just Attitude using the definition which includes all three axes.+1 for "Attitude".The definition will clearly be three-dimensional, which should eliminate any ambiguity.joq
--
You received this message because you are subscribed to the Google Groups "ROS Drivers Special Interest Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ros-sig-drive...@googlegroups.com.
To post to this group, send email to ros-sig...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ros-sig-drivers/CAB6SgyXSNQWuar_vX-MagN-zmmgO5SgR0o-TEpbZab%2ByicWqBg%40mail.gmail.com.
Thank you, while having a disconnected frame seems a little strange, the odometry/localization analogy makes it more clear.What's the connection between this proposal and my draft for REP 145? Would you want to roll these message changes into it? How much of the tooling would have to be in place before the REP could go into effect?
To view this discussion on the web visit https://groups.google.com/d/msgid/ros-sig-drivers/2a06cee5-7582-48a0-a7c7-e02e24d1b563%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ros-sig-drivers+unsubscribe@googlegroups.com.
To post to this group, send email to ros-sig-drivers@googlegroups.com.