OlivierC-FR / ESP32-INAV-Radar

GNU General Public License v2.0
59 stars 22 forks source link

GPS Only mode? #5

Open wx4cb opened 2 years ago

wx4cb commented 2 years ago

IS there a way to allow the use of inav radar for a GPS Only mode?

IE.... I chase a lot of LOS planes or planes that don't have inav or any other form of flight controller software.

It would be nice to be able put a LORA module with GPS&Battery on there so that I can see them on my inav planes OSD.

OlivierC-FR commented 2 years ago

That could be done but to be honest that's quite some effort for some very rare cases... as it's done right now, the ESP requesting the GPS coordinates from INAV, it's very simple, don't have to directly pilot the GPS. It leaves all the hard work to INAV

pastorhudson commented 5 months ago

I want this too and I think I’m going to give it a try. If I replace the MSP functions with functions / library that speaks direct to the ublox module and return the results in the expected format would that be enough? Or am I missing something else?

I’ve done enough arduino coding to know I’m probably missing some gotcha 😅. But that’s never stopped me from trying.

KatanaDon9 commented 5 months ago

Check out the SparkFun GNSS Ublox library... can decode ublox, easy to use, set up a struct from the data you want for MSP.... did this recently.

On Fri, Mar 22, 2024, 18:21 Ron Hudson @.***> wrote:

I want this too and I think I’m going to give it a try. If I replace the MSP functions with functions / library that speaks direct to the ublox module and return the results in the expected format would that be enough? Or am I missing something else?

I’ve done enough arduino coding to know I’m probably missing some gotcha 😅. But that’s never stopped me from trying.

— Reply to this email directly, view it on GitHub https://github.com/OlivierC-FR/ESP32-INAV-Radar/issues/5#issuecomment-2016016283, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVGVKPK6OYICB3OZV5GQIPLYZSVGTAVCNFSM5IPTBH5KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBRGYYDCNRSHAZQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

pastorhudson commented 5 months ago

That's basically what I was thinking, though I think we only need to update the curr.gps struct. We could add a flag or mode that is "GPS Standalone". We'd need to consider how that interacts with the other modes.

It's good to hear it works! I'd really like to integrate this if @OlivierC-FR is open to it.