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

Position Estimator App Stops NSH #100

Closed
jgoppert opened this issue Dec 10, 2012 · 5 comments
Closed

Position Estimator App Stops NSH #100

jgoppert opened this issue Dec 10, 2012 · 5 comments

Comments

@jgoppert
Copy link
Member

I"m working on sensor level HIL right now. Pretty far along.

When I start the position estimator app it waits for gps which is fine. It gets the mavlink hil packet which is publishing the vehicle_global_position_s. Then it proceeds. However, the whole time NSH is blocked and you never get the terminal back even after it is running properly.

@LorenzMeier
Copy link
Member

The position estimator is in a random shape, it may well be that its not doing what it's supposed to be. The current HIL directly injects the estimated positions and the pos estimator is not in active use.

@jgoppert
Copy link
Member Author

For my research I'd really like to get full sensor level hil working. I have it pretty close here: https://github.com/jgoppert/Firmware/tree/sensor_hil

The position app is sending gps correctly. My current issue is the attitude estimation. I also have not currently finished implementing the simulated mag measurements.

I'll see if I can fix this bug with nsh being blocked on my branch.

Also looks like I need it to publish global location, it is only publishing local currently

@LorenzMeier
Copy link
Member

The answers is extremely simple, if you actually look at the code: It is not a deamon, so you need to start it like any non-deamon app with the ampersand. Its not a bug, but feel free to add the missing deamon routines to turn it into one.

@jgoppert
Copy link
Member Author

Ahh, thanks, will do.

@LorenzMeier
Copy link
Member

@LorenzMeier LorenzMeier reopened this Dec 10, 2012
PX4BuildBot pushed a commit that referenced this issue Jun 28, 2018
    - libuavcan in PX4/Firmware (233a37e): OpenCyphal-Garage/libcyphal@dfcdf22
    - libuavcan current upstream: OpenCyphal-Garage/libcyphal@c044630
    - Changes: OpenCyphal-Garage/libcyphal@dfcdf22...c044630

    c044630 2018-06-27 Pavel Kirienko - Merge pull request #138 from thirtytwobits/feature/issue100
4750a50 2018-06-14 Dixon, Scott - Issue #100 remove auto_ptr and c++03 support.
PX4BuildBot pushed a commit that referenced this issue Jun 29, 2018
    - libuavcan in PX4/Firmware (b3b9e31): OpenCyphal-Garage/libcyphal@dfcdf22
    - libuavcan current upstream: OpenCyphal-Garage/libcyphal@c044630
    - Changes: OpenCyphal-Garage/libcyphal@dfcdf22...c044630

    c044630 2018-06-27 Pavel Kirienko - Merge pull request #138 from thirtytwobits/feature/issue100
4750a50 2018-06-14 Dixon, Scott - Issue #100 remove auto_ptr and c++03 support.
PX4BuildBot pushed a commit that referenced this issue Jun 30, 2018
    - libuavcan in PX4/Firmware (c2987a9): OpenCyphal-Garage/libcyphal@dfcdf22
    - libuavcan current upstream: OpenCyphal-Garage/libcyphal@c044630
    - Changes: OpenCyphal-Garage/libcyphal@dfcdf22...c044630

    c044630 2018-06-27 Pavel Kirienko - Merge pull request #138 from thirtytwobits/feature/issue100
4750a50 2018-06-14 Dixon, Scott - Issue #100 remove auto_ptr and c++03 support.
PX4BuildBot pushed a commit that referenced this issue Jul 1, 2018
    - libuavcan in PX4/Firmware (6016074): OpenCyphal-Garage/libcyphal@dfcdf22
    - libuavcan current upstream: OpenCyphal-Garage/libcyphal@c044630
    - Changes: OpenCyphal-Garage/libcyphal@dfcdf22...c044630

    c044630 2018-06-27 Pavel Kirienko - Merge pull request #138 from thirtytwobits/feature/issue100
4750a50 2018-06-14 Dixon, Scott - Issue #100 remove auto_ptr and c++03 support.
PX4BuildBot pushed a commit that referenced this issue Jul 2, 2018
    - libuavcan in PX4/Firmware (690c120): OpenCyphal-Garage/libcyphal@dfcdf22
    - libuavcan current upstream: OpenCyphal-Garage/libcyphal@c044630
    - Changes: OpenCyphal-Garage/libcyphal@dfcdf22...c044630

    c044630 2018-06-27 Pavel Kirienko - Merge pull request #138 from thirtytwobits/feature/issue100
4750a50 2018-06-14 Dixon, Scott - Issue #100 remove auto_ptr and c++03 support.
PX4BuildBot pushed a commit that referenced this issue Jul 3, 2018
    - libuavcan in PX4/Firmware (476a3c5): OpenCyphal-Garage/libcyphal@dfcdf22
    - libuavcan current upstream: OpenCyphal-Garage/libcyphal@c044630
    - Changes: OpenCyphal-Garage/libcyphal@dfcdf22...c044630

    c044630 2018-06-27 Pavel Kirienko - Merge pull request #138 from thirtytwobits/feature/issue100
4750a50 2018-06-14 Dixon, Scott - Issue #100 remove auto_ptr and c++03 support.
PX4BuildBot pushed a commit that referenced this issue Jul 4, 2018
    - libuavcan in PX4/Firmware (502ff3d): OpenCyphal-Garage/libcyphal@dfcdf22
    - libuavcan current upstream: OpenCyphal-Garage/libcyphal@c044630
    - Changes: OpenCyphal-Garage/libcyphal@dfcdf22...c044630

    c044630 2018-06-27 Pavel Kirienko - Merge pull request #138 from thirtytwobits/feature/issue100
4750a50 2018-06-14 Dixon, Scott - Issue #100 remove auto_ptr and c++03 support.
PX4BuildBot pushed a commit that referenced this issue Jul 5, 2018
    - libuavcan in PX4/Firmware (b29df56): OpenCyphal-Garage/libcyphal@dfcdf22
    - libuavcan current upstream: OpenCyphal-Garage/libcyphal@c044630
    - Changes: OpenCyphal-Garage/libcyphal@dfcdf22...c044630

    c044630 2018-06-27 Pavel Kirienko - Merge pull request #138 from thirtytwobits/feature/issue100
4750a50 2018-06-14 Dixon, Scott - Issue #100 remove auto_ptr and c++03 support.
PX4BuildBot pushed a commit that referenced this issue Jul 6, 2018
    - libuavcan in PX4/Firmware (8e38311): OpenCyphal-Garage/libcyphal@dfcdf22
    - libuavcan current upstream: OpenCyphal-Garage/libcyphal@c044630
    - Changes: OpenCyphal-Garage/libcyphal@dfcdf22...c044630

    c044630 2018-06-27 Pavel Kirienko - Merge pull request #138 from thirtytwobits/feature/issue100
4750a50 2018-06-14 Dixon, Scott - Issue #100 remove auto_ptr and c++03 support.
PX4BuildBot pushed a commit that referenced this issue Jul 7, 2018
    - libuavcan in PX4/Firmware (f721b8a): OpenCyphal-Garage/libcyphal@dfcdf22
    - libuavcan current upstream: OpenCyphal-Garage/libcyphal@c044630
    - Changes: OpenCyphal-Garage/libcyphal@dfcdf22...c044630

    c044630 2018-06-27 Pavel Kirienko - Merge pull request #138 from thirtytwobits/feature/issue100
4750a50 2018-06-14 Dixon, Scott - Issue #100 remove auto_ptr and c++03 support.
PX4BuildBot pushed a commit that referenced this issue Jul 8, 2018
    - libuavcan in PX4/Firmware (8c5c2f6): OpenCyphal-Garage/libcyphal@dfcdf22
    - libuavcan current upstream: OpenCyphal-Garage/libcyphal@c044630
    - Changes: OpenCyphal-Garage/libcyphal@dfcdf22...c044630

    c044630 2018-06-27 Pavel Kirienko - Merge pull request #138 from thirtytwobits/feature/issue100
4750a50 2018-06-14 Dixon, Scott - Issue #100 remove auto_ptr and c++03 support.
PX4BuildBot pushed a commit that referenced this issue Jul 9, 2018
    - libuavcan in PX4/Firmware (ec0500f): OpenCyphal-Garage/libcyphal@dfcdf22
    - libuavcan current upstream: OpenCyphal-Garage/libcyphal@c044630
    - Changes: OpenCyphal-Garage/libcyphal@dfcdf22...c044630

    c044630 2018-06-27 Pavel Kirienko - Merge pull request #138 from thirtytwobits/feature/issue100
4750a50 2018-06-14 Dixon, Scott - Issue #100 remove auto_ptr and c++03 support.
PX4BuildBot pushed a commit that referenced this issue Jul 10, 2018
    - libuavcan in PX4/Firmware (bd5f003): OpenCyphal-Garage/libcyphal@dfcdf22
    - libuavcan current upstream: OpenCyphal-Garage/libcyphal@c044630
    - Changes: OpenCyphal-Garage/libcyphal@dfcdf22...c044630

    c044630 2018-06-27 Pavel Kirienko - Merge pull request #138 from thirtytwobits/feature/issue100
4750a50 2018-06-14 Dixon, Scott - Issue #100 remove auto_ptr and c++03 support.
PX4BuildBot pushed a commit that referenced this issue Jul 11, 2018
    - libuavcan in PX4/Firmware (1e07577): OpenCyphal-Garage/libcyphal@dfcdf22
    - libuavcan current upstream: OpenCyphal-Garage/libcyphal@c044630
    - Changes: OpenCyphal-Garage/libcyphal@dfcdf22...c044630

    c044630 2018-06-27 Pavel Kirienko - Merge pull request #138 from thirtytwobits/feature/issue100
4750a50 2018-06-14 Dixon, Scott - Issue #100 remove auto_ptr and c++03 support.
PX4BuildBot pushed a commit that referenced this issue Jul 12, 2018
    - libuavcan in PX4/Firmware (e89bd70): OpenCyphal-Garage/libcyphal@dfcdf22
    - libuavcan current upstream: OpenCyphal-Garage/libcyphal@c044630
    - Changes: OpenCyphal-Garage/libcyphal@dfcdf22...c044630

    c044630 2018-06-27 Pavel Kirienko - Merge pull request #138 from thirtytwobits/feature/issue100
4750a50 2018-06-14 Dixon, Scott - Issue #100 remove auto_ptr and c++03 support.
PX4BuildBot pushed a commit that referenced this issue Jul 13, 2018
    - libuavcan in PX4/Firmware (5eda0a8): OpenCyphal-Garage/libcyphal@dfcdf22
    - libuavcan current upstream: OpenCyphal-Garage/libcyphal@c044630
    - Changes: OpenCyphal-Garage/libcyphal@dfcdf22...c044630

    c044630 2018-06-27 Pavel Kirienko - Merge pull request #138 from thirtytwobits/feature/issue100
4750a50 2018-06-14 Dixon, Scott - Issue #100 remove auto_ptr and c++03 support.
PX4BuildBot pushed a commit that referenced this issue Jul 14, 2018
    - libuavcan in PX4/Firmware (7e55b43): OpenCyphal-Garage/libcyphal@dfcdf22
    - libuavcan current upstream: OpenCyphal-Garage/libcyphal@c044630
    - Changes: OpenCyphal-Garage/libcyphal@dfcdf22...c044630

    c044630 2018-06-27 Pavel Kirienko - Merge pull request #138 from thirtytwobits/feature/issue100
4750a50 2018-06-14 Dixon, Scott - Issue #100 remove auto_ptr and c++03 support.
PX4BuildBot pushed a commit that referenced this issue Jul 15, 2018
    - libuavcan in PX4/Firmware (3bfa2b6): OpenCyphal-Garage/libcyphal@dfcdf22
    - libuavcan current upstream: OpenCyphal-Garage/libcyphal@c044630
    - Changes: OpenCyphal-Garage/libcyphal@dfcdf22...c044630

    c044630 2018-06-27 Pavel Kirienko - Merge pull request #138 from thirtytwobits/feature/issue100
4750a50 2018-06-14 Dixon, Scott - Issue #100 remove auto_ptr and c++03 support.
PX4BuildBot pushed a commit that referenced this issue Jul 16, 2018
    - libuavcan in PX4/Firmware (343f5364a1d5df4e2d55807c464156b1708e33e5): OpenCyphal-Garage/libcyphal@dfcdf22
    - libuavcan current upstream: OpenCyphal-Garage/libcyphal@c044630
    - Changes: OpenCyphal-Garage/libcyphal@dfcdf22...c044630

    c044630 2018-06-27 Pavel Kirienko - Merge pull request #138 from thirtytwobits/feature/issue100
4750a50 2018-06-14 Dixon, Scott - Issue #100 remove auto_ptr and c++03 support.
PX4BuildBot pushed a commit that referenced this issue Jul 17, 2018
    - libuavcan in PX4/Firmware (e8ac060): OpenCyphal-Garage/libcyphal@dfcdf22
    - libuavcan current upstream: OpenCyphal-Garage/libcyphal@c044630
    - Changes: OpenCyphal-Garage/libcyphal@dfcdf22...c044630

    c044630 2018-06-27 Pavel Kirienko - Merge pull request #138 from thirtytwobits/feature/issue100
4750a50 2018-06-14 Dixon, Scott - Issue #100 remove auto_ptr and c++03 support.
PX4BuildBot pushed a commit that referenced this issue Jul 18, 2018
    - libuavcan in PX4/Firmware (3eb7a18): OpenCyphal-Garage/libcyphal@dfcdf22
    - libuavcan current upstream: OpenCyphal-Garage/libcyphal@c044630
    - Changes: OpenCyphal-Garage/libcyphal@dfcdf22...c044630

    c044630 2018-06-27 Pavel Kirienko - Merge pull request #138 from thirtytwobits/feature/issue100
4750a50 2018-06-14 Dixon, Scott - Issue #100 remove auto_ptr and c++03 support.
PX4BuildBot added a commit that referenced this issue Apr 28, 2022
    - devices in PX4/Firmware (fc7e979): PX4/PX4-GPSDrivers@6534b05
    - devices current upstream: PX4/PX4-GPSDrivers@5896892
    - Changes: PX4/PX4-GPSDrivers@6534b05...5896892

    5896892 2022-04-26 Seppe Geuens - sbf: add heading support (#100)
PX4BuildBot added a commit that referenced this issue Apr 28, 2022
    - devices in PX4/Firmware (a15432f): PX4/PX4-GPSDrivers@6534b05
    - devices current upstream: PX4/PX4-GPSDrivers@5896892
    - Changes: PX4/PX4-GPSDrivers@6534b05...5896892

    5896892 2022-04-26 Seppe Geuens - sbf: add heading support (#100)
PX4BuildBot added a commit that referenced this issue Apr 29, 2022
    - devices in PX4/Firmware (d94ec84): PX4/PX4-GPSDrivers@6534b05
    - devices current upstream: PX4/PX4-GPSDrivers@5896892
    - Changes: PX4/PX4-GPSDrivers@6534b05...5896892

    5896892 2022-04-26 Seppe Geuens - sbf: add heading support (#100)
PX4BuildBot added a commit that referenced this issue Apr 29, 2022
    - devices in PX4/Firmware (080ba44): PX4/PX4-GPSDrivers@6534b05
    - devices current upstream: PX4/PX4-GPSDrivers@5896892
    - Changes: PX4/PX4-GPSDrivers@6534b05...5896892

    5896892 2022-04-26 Seppe Geuens - sbf: add heading support (#100)
PX4BuildBot added a commit that referenced this issue Apr 30, 2022
    - devices in PX4/Firmware (6fc8577): PX4/PX4-GPSDrivers@6534b05
    - devices current upstream: PX4/PX4-GPSDrivers@5896892
    - Changes: PX4/PX4-GPSDrivers@6534b05...5896892

    5896892 2022-04-26 Seppe Geuens - sbf: add heading support (#100)
PX4BuildBot added a commit that referenced this issue May 1, 2022
    - devices in PX4/Firmware (7784cd1): PX4/PX4-GPSDrivers@6534b05
    - devices current upstream: PX4/PX4-GPSDrivers@5896892
    - Changes: PX4/PX4-GPSDrivers@6534b05...5896892

    5896892 2022-04-26 Seppe Geuens - sbf: add heading support (#100)
PX4BuildBot added a commit that referenced this issue May 2, 2022
    - devices in PX4/Firmware (7784cd1): PX4/PX4-GPSDrivers@6534b05
    - devices current upstream: PX4/PX4-GPSDrivers@5896892
    - Changes: PX4/PX4-GPSDrivers@6534b05...5896892

    5896892 2022-04-26 Seppe Geuens - sbf: add heading support (#100)
PX4BuildBot added a commit that referenced this issue May 2, 2022
    - devices in PX4/Firmware (8da02e2): PX4/PX4-GPSDrivers@6534b05
    - devices current upstream: PX4/PX4-GPSDrivers@5896892
    - Changes: PX4/PX4-GPSDrivers@6534b05...5896892

    5896892 2022-04-26 Seppe Geuens - sbf: add heading support (#100)
PX4BuildBot added a commit that referenced this issue May 3, 2022
    - devices in PX4/Firmware (7e6aa28): PX4/PX4-GPSDrivers@6534b05
    - devices current upstream: PX4/PX4-GPSDrivers@5896892
    - Changes: PX4/PX4-GPSDrivers@6534b05...5896892

    5896892 2022-04-26 Seppe Geuens - sbf: add heading support (#100)
PX4BuildBot added a commit that referenced this issue May 3, 2022
    - devices in PX4/Firmware (7e6aa28): PX4/PX4-GPSDrivers@6534b05
    - devices current upstream: PX4/PX4-GPSDrivers@5896892
    - Changes: PX4/PX4-GPSDrivers@6534b05...5896892

    5896892 2022-04-26 Seppe Geuens - sbf: add heading support (#100)
PX4BuildBot added a commit that referenced this issue May 4, 2022
    - devices in PX4/Firmware (1387723): PX4/PX4-GPSDrivers@6534b05
    - devices current upstream: PX4/PX4-GPSDrivers@5896892
    - Changes: PX4/PX4-GPSDrivers@6534b05...5896892

    5896892 2022-04-26 Seppe Geuens - sbf: add heading support (#100)
PX4BuildBot added a commit that referenced this issue May 5, 2022
    - devices in PX4/Firmware (bf8d759): PX4/PX4-GPSDrivers@6534b05
    - devices current upstream: PX4/PX4-GPSDrivers@5896892
    - Changes: PX4/PX4-GPSDrivers@6534b05...5896892

    5896892 2022-04-26 Seppe Geuens - sbf: add heading support (#100)
PX4BuildBot added a commit that referenced this issue May 5, 2022
    - devices in PX4/Firmware (c890e8b): PX4/PX4-GPSDrivers@6534b05
    - devices current upstream: PX4/PX4-GPSDrivers@5896892
    - Changes: PX4/PX4-GPSDrivers@6534b05...5896892

    5896892 2022-04-26 Seppe Geuens - sbf: add heading support (#100)
PX4BuildBot added a commit that referenced this issue May 6, 2022
    - devices in PX4/Firmware (2a66be4): PX4/PX4-GPSDrivers@6534b05
    - devices current upstream: PX4/PX4-GPSDrivers@5896892
    - Changes: PX4/PX4-GPSDrivers@6534b05...5896892

    5896892 2022-04-26 Seppe Geuens - sbf: add heading support (#100)
PX4BuildBot added a commit that referenced this issue May 7, 2022
    - devices in PX4/Firmware (ce4e9f6): PX4/PX4-GPSDrivers@6534b05
    - devices current upstream: PX4/PX4-GPSDrivers@5896892
    - Changes: PX4/PX4-GPSDrivers@6534b05...5896892

    5896892 2022-04-26 Seppe Geuens - sbf: add heading support (#100)
PX4BuildBot added a commit that referenced this issue May 8, 2022
    - devices in PX4/Firmware (ce4e9f6): PX4/PX4-GPSDrivers@6534b05
    - devices current upstream: PX4/PX4-GPSDrivers@5896892
    - Changes: PX4/PX4-GPSDrivers@6534b05...5896892

    5896892 2022-04-26 Seppe Geuens - sbf: add heading support (#100)
PX4BuildBot added a commit that referenced this issue May 8, 2022
    - devices in PX4/Firmware (ce4e9f6): PX4/PX4-GPSDrivers@6534b05
    - devices current upstream: PX4/PX4-GPSDrivers@5896892
    - Changes: PX4/PX4-GPSDrivers@6534b05...5896892

    5896892 2022-04-26 Seppe Geuens - sbf: add heading support (#100)
PX4BuildBot added a commit that referenced this issue May 9, 2022
    - devices in PX4/Firmware (ce4e9f6): PX4/PX4-GPSDrivers@6534b05
    - devices current upstream: PX4/PX4-GPSDrivers@5896892
    - Changes: PX4/PX4-GPSDrivers@6534b05...5896892

    5896892 2022-04-26 Seppe Geuens - sbf: add heading support (#100)
PX4BuildBot added a commit that referenced this issue May 10, 2022
    - devices in PX4/Firmware (15296ab): PX4/PX4-GPSDrivers@6534b05
    - devices current upstream: PX4/PX4-GPSDrivers@5896892
    - Changes: PX4/PX4-GPSDrivers@6534b05...5896892

    5896892 2022-04-26 Seppe Geuens - sbf: add heading support (#100)
PX4BuildBot added a commit that referenced this issue May 10, 2022
    - devices in PX4/Firmware (3ac8fdb): PX4/PX4-GPSDrivers@6534b05
    - devices current upstream: PX4/PX4-GPSDrivers@5896892
    - Changes: PX4/PX4-GPSDrivers@6534b05...5896892

    5896892 2022-04-26 Seppe Geuens - sbf: add heading support (#100)
dagar added a commit that referenced this issue May 10, 2022
    - GPSDrivers in PX4/Firmware (3ac8fdb): PX4/PX4-GPSDrivers@6534b05
    - GPSDrivers current upstream: PX4/PX4-GPSDrivers@5896892
    - Changes: PX4/PX4-GPSDrivers@6534b05...5896892

    5896892 2022-04-26 Seppe Geuens - sbf: add heading support (#100)

Co-authored-by: PX4 BuildBot <[email protected]>
dagar pushed a commit that referenced this issue Oct 16, 2024
Problem:
auto_ptr is deprecated.

Solution:
use unique_ptr which is only available in c++11 and newer.
Also fix how unit tests are run as part of the build to keep them from being
deleted when they fail.

Testing:
Unit tests on linux run.
dagar pushed a commit that referenced this issue Oct 16, 2024
Issue #100 remove auto_ptr and c++03 support.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants