Giter Site home page Giter Site logo

Comments (7)

Mortific avatar Mortific commented on June 18, 2024

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

from crocodilehunter.

msfu101 avatar msfu101 commented on June 18, 2024

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.

from crocodilehunter.

msfu101 avatar msfu101 commented on June 18, 2024

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

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

  • 03:24:52 default - INFO Starting WebUI

  • 03:24:52 default - INFO * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)

  • 03:24:52 default - INFO Checking for config file

  • 03:24:52 default - INFO Compiling srsUE

  • 03:24:53 default - INFO SrsUE built succesfully

  • 03:24:53 default - INFO Reticulating Splines

  • 03:24:53 default - DEBUG Connecting to gpsd socket at 127.0.0.1:2947

  • 03:24:53 default - DEBUG Waiting for welcome message

  • 03:24:53 default - DEBUG Enabling gps

  • 03:24:55 default - DEBUG Polling gps

  • 03:24:55 default - INFO No GPS fix detected. Waiting for fix.

  • 03:24:55 default - DEBUG Polling gps

  • 03:24:55 default - DEBUG Try %s waiting for fix.

  • 03:24:55 default - DEBUG Polling gps

  • 03:24:55 default - DEBUG Try %s waiting for fix.

  • 03:24:55 default - DEBUG Polling gps

  • 03:24:55 default - DEBUG Try %s waiting for fix.

  • 03:24:55 default - DEBUG Polling gps

  • 03:24:55 default - DEBUG Try %s waiting for fix.

  • 03:24:55 default - DEBUG Polling gps

  • 03:24:55 default - DEBUG Try %s waiting for fix.

  • 03:24:55 default - DEBUG Polling gps

  • 03:24:55 default - DEBUG Try %s waiting for fix.

  • 03:24:55 default - DEBUG Polling gps

  • 03:24:55 default - DEBUG Try %s waiting for fix.

  • 03:24:55 default - DEBUG Polling gps

  • 03:24:55 default - DEBUG Try %s waiting for fix.

  • 03:24:55 default - DEBUG Polling gps

  • 03:24:55 default - DEBUG Try %s waiting for fix.

  • 03:24:55 default - DEBUG Polling gps

  • 03:24:55 default - CRITICAL No GPS fix detected. Exiting.

  • 03:24:55 default - ERROR Unhandled exception:
    Traceback (most recent call last):
    File "./crocodilehunter.py", line 281, in
    crocodile_hunter.start()
    File "./crocodilehunter.py", line 137, in start
    exit(1)
    File "/usr/lib/python3.8/_sitebuiltins.py", line 26, in call
    raise SystemExit(code)
    SystemExit: 1

  • 03:24:55 default - ERROR Exiting...

  • 03:24:55 default - WARNING Stopping Watchdog

  • 03:24:55 default - SUCCESS See you space cowboy...

so what can i do to get the gps fix?

from crocodilehunter.

msfu101 avatar msfu101 commented on June 18, 2024

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:

from crocodilehunter.

Mortific avatar Mortific commented on June 18, 2024

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

from crocodilehunter.

codewith7us avatar codewith7us commented on June 18, 2024

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

Regards

from crocodilehunter.

msfu101 avatar msfu101 commented on June 18, 2024

Problem solved. It was a wrong configured gpsd.

from crocodilehunter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.