Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pocket_trk nmea rtcm and log parameters inverted #32

Open
nicastel opened this issue Nov 18, 2024 · 0 comments
Open

pocket_trk nmea rtcm and log parameters inverted #32

nicastel opened this issue Nov 18, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@nicastel
Copy link

nicastel commented Nov 18, 2024

The -nmea parameter correspond to the rtcm flow
The -rtcm parameter corresponds to the log flow
The -log parameter corresponds to the nmea flow

The paths parameter ordering is not coherent between https://github.com/tomojitakasu/PocketSDR/blob/master/app/pocket_trk/pocket_trk.c :

    else if (!strcmp(argv[i], "-log") && i + 1 < argc) {
        paths[0] = argv[++i];
    }
    else if (!strcmp(argv[i], "-nmea") && i + 1 < argc) {
        paths[1] = argv[++i];
    }
    else if (!strcmp(argv[i], "-rtcm") && i + 1 < argc) {
        paths[2] = argv[++i];
    }
    else if (!strcmp(argv[i], "-raw") && i + 1 < argc) {
        paths[3] = argv[++i];
    }

and https://github.com/tomojitakasu/PocketSDR/blob/master/src/sdr_rcv.c

// paths (I) output stream paths ("": no output)
// paths[0]: NMEA PVT solutions stream
// paths[1]: RTCM3 OBS and NAV data stream
// paths[2]: log stream
// paths[3]: IF data log stream

@tomojitakasu tomojitakasu added the bug Something isn't working label Nov 25, 2024
@tomojitakasu tomojitakasu self-assigned this Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants