# GPS problems in CANBUS

**URL:** <https://discuss.cubepilot.org/t/gps-problems-in-canbus/5955>\
**Category:** Uncategorized\
**Created:** [13 March 2021 18:20 UTC](https://discuss.cubepilot.org/t/gps-problems-in-canbus/5955 "2021-03-13T18:20:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Agridroni](https://discuss.cubepilot.org/letter_avatar_proxy/v4/letter/a/50afbb/32.png) [@Agridroni](https://discuss.cubepilot.org/u/Agridroni)\
**Post date:** [13 March 2021 18:20 UTC](https://discuss.cubepilot.org/t/gps-problems-in-canbus/5955/1 "2021-03-13T18:20:29Z")

</div>

I have several problems with gps in canbus which i never had when using gps ports:

1. sometimes even if I have visible satellites I have one of the 2 GPS that does not lock the satellites
2. Here2 magnetometer has no values in Messages  
In these conditions I don’t trust to fly.  
Here+ V2 + Here2  
GPS\_AUTO\_SWITCH 1  
In this case I have no gps and no mag but sometime I have gps but not mag…

Any suggestion?

 ![Immagine 4](https://discuss.cubepilot.org/uploads/default/original/2X/7/75d52daf499bb1b93da1b5f3c0a6eac04e94b2c6.jpeg) ![Immagine 3](https://discuss.cubepilot.org/uploads/default/original/2X/6/6017431cb7ada3d8495b293d48f075d201ef3875.jpeg) ![Immagine 2](https://discuss.cubepilot.org/uploads/default/original/2X/9/9fb16cf02a059b71738cfb67ecce713dd37a4c12.jpeg)

---

<div class="post-metadata">

**Author:** ![Michael\_Oborne](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/michael_oborne/32/13_2.png) [@Michael\_Oborne](https://discuss.cubepilot.org/u/Michael_Oborne)\
**Post date:** [13 March 2021 22:43 UTC](https://discuss.cubepilot.org/t/gps-problems-in-canbus/5955/2 "2021-03-13T22:43:29Z")

</div>

you never mention ardupilot version??

also have you calibrated since adding the gps’s

---

<div class="post-metadata">

**Author:** ![Agridroni](https://discuss.cubepilot.org/letter_avatar_proxy/v4/letter/a/50afbb/32.png) [@Agridroni](https://discuss.cubepilot.org/u/Agridroni)\
**Post date:** [14 March 2021 09:09 UTC](https://discuss.cubepilot.org/t/gps-problems-in-canbus/5955/3 "2021-03-14T09:09:23Z")

</div>

Sorry, the new arducopter 4.0.7

---

<div class="post-metadata">

**Author:** ![Agridroni](https://discuss.cubepilot.org/letter_avatar_proxy/v4/letter/a/50afbb/32.png) [@Agridroni](https://discuss.cubepilot.org/u/Agridroni)\
**Post date:** [14 March 2021 10:26 UTC](https://discuss.cubepilot.org/t/gps-problems-in-canbus/5955/4 "2021-03-14T10:26:32Z")

</div>

Maybe I found the problem, when I use a close ID can (Address) (30 and 31) one magnetometer is not detected, if I use distant ID (41 and 50) everything works.

. ![Immagine 1](https://discuss.cubepilot.org/uploads/default/original/2X/f/f9fbf90a97716e8a5d5be31d0f29095c1b7ed598.jpeg) ![Immagine 2](https://discuss.cubepilot.org/uploads/default/original/2X/a/a103d03f8ac5fe29afebeb30fd45abc86b613ddf.jpeg)

 ![Immagine 3](https://discuss.cubepilot.org/uploads/default/original/2X/b/bfe2731863df0ea218c644dbb1960c182be70257.jpeg)

---

<div class="post-metadata">

**Author:** ![Michael\_Oborne](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/michael_oborne/32/13_2.png) [@Michael\_Oborne](https://discuss.cubepilot.org/u/Michael_Oborne)\
**Post date:** [14 March 2021 22:35 UTC](https://discuss.cubepilot.org/t/gps-problems-in-canbus/5955/5 "2021-03-14T22:35:05Z")

</div>

thats an interesting find. im not sure on what could cause this, but i will try replicate the problem  
@sidbh

---

<div class="post-metadata">

**Author:** ![MadRC](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/madrc/32/2088_2.png) [@MadRC](https://discuss.cubepilot.org/u/MadRC)\
**Post date:** [15 March 2021 23:48 UTC](https://discuss.cubepilot.org/t/gps-problems-in-canbus/5955/6 "2021-03-15T23:48:54Z")

</div>

Ohh that’s a strange one but could explain some things I have seen people post before.
