# Using Magnetometer as orientation reference in Map-Based Navigation in ROS Noetic

**URL:** <https://get-help.theconstruct.ai/t/using-magnetometer-as-orientation-reference-in-map-based-navigation-in-ros-noetic/27231>\
**Category:** Open Discussions\
**Tags:** noetic\
**Created:** [November 7, 2023, 1:47pm UTC](https://get-help.theconstruct.ai/t/using-magnetometer-as-orientation-reference-in-map-based-navigation-in-ros-noetic/27231 "2023-11-07T13:47:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![engenharia](https://get-help.theconstruct.ai/letter_avatar_proxy/v4/letter/e/57b2e6/32.png) [@engenharia](https://get-help.theconstruct.ai/u/engenharia)\
**Post date:** [November 7, 2023, 1:47pm UTC](https://get-help.theconstruct.ai/t/using-magnetometer-as-orientation-reference-in-map-based-navigation-in-ros-noetic/27231/1 "2023-11-07T13:47:35Z")

</div>

As I mentioned in the title, do you think it would be possible? My robot navigates through a map, but to get started, I need to define its position, specifically its x and y coordinates. While the coordinates can be somewhat dynamic, having the correct orientation is critical for accurate navigation. To address this issue, I’m considering using the magnetometer to determine orientation. This way, even if the robot starts its plan with an incorrect orientation, it can recognize the error and get in the right path. Do you think there is a way to achieve this?

---

<div class="post-metadata">

**Author:** ![system](https://get-help.theconstruct.ai/uploads/default/original/2X/9/9d3ce8305cc0d0d9b6e07d15767a6f245c526f1b.jpeg) [@system](https://get-help.theconstruct.ai/u/system)\
**Post date:** [November 14, 2023, 1:47pm UTC](https://get-help.theconstruct.ai/t/using-magnetometer-as-orientation-reference-in-map-based-navigation-in-ros-noetic/27231/2 "2023-11-14T13:47:37Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
