EFForg / crocodilehunter

Taking one back for Steve Irwin     (๑•̀ㅂ•́)و
GNU General Public License v3.0
971 stars 136 forks source link

no gps fix detected... aborting #128

Open msfu101 opened 3 years ago

msfu101 commented 3 years ago

hey, ther ive got a question about crocodilehunter. if i do sudo ./crocodilehunter.py -d it says

so, why i can't get no gps fix? can anybody say what there is to do with this issue?

Mortific commented 3 years ago

Is the gps reciever set to NMEA output? If you run gpsmon, what does it report?

msfu101 commented 3 years ago

No it's not, the output of gpsmon is

tcp://localhost:2947 JSON slave driver> (82) {"class":"VERSION","release":"3.20","rev":"3.20","proto_major":3,"proto_minor":14} (32) {"class":"DEVICES","devices":[]} (122) {"class":"WATCH","enable":true,"json":false,"nmea":false,"raw":2,"scaled":false,"timing":false,"spl it24":false,"pps":true}

I don't know what i am doing wrong.

msfu101 commented 3 years ago

if i run sudo ./crocodilehunter.py -d -w i get this output

03:24:52 default - INFO starting crocodile hunter project: default

so what can i do to get the gps fix?

msfu101 commented 3 years ago

when i run /usr/lib/uhd/utils$ sudo ./query_gpsdo_sensors it says this

Creating the USRP device with: ... [INFO] [UHD] linux; GNU C++ version 9.2.1 20200304; Boost_107100; UHD_3.15.0.0-2build5 [INFO] [B200] Detected Device: B210 [INFO] [B200] Operating over USB 3. [INFO] [B200] Initialize CODEC control... [INFO] [B200] Initialize Radio control... [INFO] [B200] Performing register loopback test... [INFO] [B200] Register loopback test passed [INFO] [B200] Performing register loopback test... [INFO] [B200] Register loopback test passed [INFO] [B200] Setting master clock rate selection to 'automatic'. [INFO] [B200] Asking for clock rate 16.000000 MHz... [INFO] [B200] Actually got clock rate 16.000000 MHz. Using Device: Single USRP: Device: B-Series Device Mboard 0: B210 RX Channel: 0 RX DSP: 0 RX Dboard: A RX Subdev: FE-RX2 RX Channel: 1 RX DSP: 1 RX Dboard: A RX Subdev: FE-RX1 TX Channel: 0 TX DSP: 0 TX Dboard: A TX Subdev: FE-TX2 TX Channel: 1 TX DSP: 1 TX Dboard: A TX Subdev: FE-TX1

gps_locked sensor not found. This could mean that you have not installed the GPSDO correctly.

Visit one of these pages if the problem persists:

Mortific commented 3 years ago

It seems like the gpds service is not getting a position from the gps.

  1. Do you have a GPS receiver with usb? Is there a way to verify that the gps is getting a signal and gps fix? In my case when the led flashes on the GPS receiver, I have a gps fix. Fixed light means operating but no signal.

  2. Have you installed and started the gpsd sevice according to installation instructions?

  3. Is [Devices] in the config file pointed to the right USB port connected to the gps?

Regards /Mort

Edit: spelling

codewith7us commented 2 years ago

@msfu101 @Mortific is this problem solved ? i am getting same as @msfu101 when i run /usr/lib/uhd/utils$ sudo ./query_gpsdo_sensors

Regards

msfu101 commented 10 months ago

Problem solved. It was a wrong configured gpsd.