<div dir="ltr"><div>Hi Lorenz,</div><div>thank you for the link.</div><div><br></div><div>I think that I have a lot to learn from the project MAVLink.</div><div><br></div><div>At first sight it seems that MAVLink is designed for flying robots, my MyzharBot is a ground crawler, but I think that this is not a problem... ground robots are flying robots that do not fly :-)</div><div><br></div><div>I'm going to contact you... don't worry ;)</div><div><br></div><div>Regards</div><div>Walter</div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-11-01 17:24 GMT+01:00 Meier  Lorenz <span dir="ltr"><<a href="mailto:lm@inf.ethz.ch" target="_blank">lm@inf.ethz.ch</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
<div>Hi Walter,</div>
<div><br>
</div>
<div>The MAVLink protocol has been written for the the application domain you are operating in and the mavros bridge does all the conversions to the ROS standards. You might want to have a look at it:</div>
<div><a href="https://github.com/mavlink/mavros" target="_blank">https://github.com/mavlink/mavros</a></div>
<div><br>
</div>
<div>The huge benefit from using the protocol would be that you gain a lot of support from existing tools, and you are compatible to a whole ecosystem of devices.</div>
<div><br>
</div>
<div><br>
</div>
<div>And the messages which already support all the data you are getting:</div>
<div><a href="http://mavlink.org/messages/common#HIGHRES_IMU" target="_blank">http://mavlink.org/messages/common#HIGHRES_IMU</a></div>
<div><br>
</div>
<div><a href="http://mavlink.org/messages/common#ATTITUDE_QUATERNION" target="_blank">http://mavlink.org/messages/common#ATTITUDE_QUATERNION</a></div>
<div><a href="http://mavlink.org/messages/common#ATTITUDE_QUATERNION_COV" target="_blank">http://mavlink.org/messages/common#ATTITUDE_QUATERNION_COV</a></div>
<div>(Note: This representation doesn’t suffer from Gimbal lock, there are conversion functions from rotation matrices provided in the MAVLink library in case the filter doesn’t operate on quaternions directly)</div>
<div><br>
</div>
<div>You can use QGroundControl to visualize the serial stream directly (Main menu, PRO -> Plots):</div>
<div><a href="http://qgroundcontrol.org/downloads" target="_blank">http://qgroundcontrol.org/downloads</a></div>
<div><br>
</div>
<div>Tips for integration are provided here:</div>
<div><a href="http://qgroundcontrol.org/dev/mavlink_onboard_integration_tutorial" target="_blank">http://qgroundcontrol.org/dev/mavlink_onboard_integration_tutorial</a></div>
<div><br>
</div>
<div>Let me know if you have further questions or run into issues.</div>
<div><br>
</div>
<div>-Lorenz</div>
<div><br>
</div>
<div><br>
</div>
<br>
<div>
<div>Am 01.11.2014 um 14:27 schrieb Walter Myzhar Lucetti <<a href="mailto:myzhar@robot-home.it" target="_blank">myzhar@robot-home.it</a>>:</div>
<br>
<blockquote type="cite"><div><div class="h5">
<div dir="ltr">
<div>
<div>Hi all,</div>
<div><br>
</div>
<div>I'm writing a node (C++) to interface with the ST iNemo-M1 Discovery board (STEVAL-MKI121V1):</div>
<div><a href="http://www.st.com/web/en/catalog/tools/FM116/SC1248/PF255175" target="_blank">http://www.st.com/web/en/catalog/tools/FM116/SC1248/PF255175</a></div>
<div><br>
</div>
<div>If you do not know it, it is a 9DOF IMU based on iNemo SOC, with a 9DOF IMU, plus Barometer and Temperature sensor, coordinated by a  STM32F103</div>
<div><br>
</div>
<div>I want to write a Serial Driver to communicate with the "original Firmware" that provides a good pose estimation (RPY and Quaternion) based on a Kalman Filter.</div>
<div><br>
</div>
<div>The source code is available on my Github repository:</div>
<div><a href="https://github.com/Myzhar/ST-iNemo_M1-IMU.git" target="_blank">https://github.com/Myzhar/ST-iNemo_M1-IMU.git</a></div>
<div><br>
</div>
<div>I would like that someone could contribute with my work, I started writing code for ROS only at the beginning of september and any suggestion would be really appreciated.</div>
<div><br>
</div>
<div>Regards</div>
<div>Walter</div>
</div>
<div>
<div><br>
</div>
-- <br>
<div>
<div dir="ltr"><b>Walter "Myzhar" Lucetti</b><br>
<br>
email <a href="mailto:myzhar@robot-home.it" target="_blank">myzhar@robot-home.it</a><br>
<div>web: <i><a href="http://www.robot-home.it/" target="_blank">www.robot-home.it</a> - <a href="http://www.opencv.it/" target="_blank">www.opencv.it</a></i><br>
</div>
<div>project:  <a href="http://myzharbot.robot-home.it/" target="_blank">http://myzharbot.robot-home.it</a></div>
</div>
</div>
</div>
</div></div></div>
_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@lists.ros.org" target="_blank">ros-users@lists.ros.org</a><br>
<a href="http://lists.ros.org/mailman/listinfo/ros-users" target="_blank">http://lists.ros.org/mailman/listinfo/ros-users</a><br>
</blockquote>
</div>
<br>
</div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><b>Walter "Myzhar" Lucetti</b><br><br>email <a href="mailto:myzhar@robot-home.it" target="_blank">myzhar@robot-home.it</a><br><div>web: <i><a href="http://www.robot-home.it/" target="_blank">www.robot-home.it</a> - <a href="http://www.opencv.it/" target="_blank">www.opencv.it</a></i><br></div><div>project:  <a href="http://myzharbot.robot-home.it/" target="_blank">http://myzharbot.robot-home.it</a></div></div></div>
</div>