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

MS5611 error handling improvements #756

Closed
LorenzMeier opened this issue Mar 18, 2014 · 0 comments · Fixed by #757
Closed

MS5611 error handling improvements #756

LorenzMeier opened this issue Mar 18, 2014 · 0 comments · Fixed by #757

Comments

@LorenzMeier
Copy link
Member

The MS5611 error handling needs to be improved, as the the following code segment doesn't evaluate correctly due to the mask (identified by Evan Slatyer):

    uint8_t status = val[0] & 0xC0;

    if (status == 2) {
        log("err: stale data");
                perf_count(_comms_errors);
                perf_end(_sample_perf);
        return ret;
    } else if (status == 3) {
        log("err: fault");
                perf_count(_comms_errors);
                perf_end(_sample_perf);
        return ret;                
    }
PX4BuildBot added a commit that referenced this issue Apr 9, 2020
NuttX:
 - https://github.com/PX4-NuttX/nuttx/tree/master
 - PX4/NuttX@dfe11b5

Changes from PX4/NuttX (PX4/NuttX@ec417d7) in current PX4/master (38e635e)
PX4/NuttX@ec417d7...dfe11b5

dfe11b5 (HEAD, origin/master) CI: sync with testing repo
398175b tools/zipme.sh: Add the possibility to PGP sign the final tarballs. (#756)
425e6c2 arch: xtensa: esp32: nxstyle fixes (#753)
bfc153c Fix typos in comments and documentation (#750)
9c7841a boards/sim/sim/sim/configs/ostest:  Enable cancellation tests.
13f0442 tools/zipme.sh: Improve the tool to make it usuable from a development repo and for future Apache releases.
f2e6e13 include/nuttx/wdog.h:  Add some additional comments.
402fb16 arch: arm: cxd56xx: nxstyle fixes
9029e4d Fix nxstyle issues
e264484 Remove type casting to wdentry_t (arch/)

Apps:
 - https://github.com/PX4/NuttX-apps/tree/master
 - PX4/NuttX-apps@c6b678f

Changes from PX4/NuttX-apps (PX4/NuttX-apps@91b6ad6) in current PX4/master (38e635e)
PX4/NuttX-apps@91b6ad6...c6b678f

c6b678fa (HEAD -> master, origin/master) netutils/dhcpc: fix nxstyle warning
70bb13ce netutils/dhcpc: configurable timeout and retry count.
d7df165c examples/udp: When a host PC is used, take its implementation of hton/ntoh functions.
dd95e357 examples/dsptest: fix nxstyle issues
7cb5bc3b (origin/px4_firmware_nuttx-8.3) wapi: fix nxstyle warning
6ab29d4f wapi: skip associate if ssid is invalid
df1d0e73 wireless/wapi: add save_config/reconnect support
6bafe90d wireless/wapi: independent scan and scan_results
7c8c3053 CI: remove the additional pull docker container step
52abe148 netutils/base64: correct the buffer type
PX4BuildBot added a commit that referenced this issue Apr 9, 2020
NuttX:
 - https://github.com/PX4-NuttX/nuttx/tree/master
 - PX4/NuttX@9c14b9c

Changes from PX4/NuttX (PX4/NuttX@ec417d7) in current PX4/master (0a2c48c)
PX4/NuttX@ec417d7...9c14b9c

9c14b9c (HEAD, origin/master) CI: Add macOS builds
ce3a237 Add missing entries into LICENSE and NOTICE files
dfe11b5 CI: sync with testing repo
398175b tools/zipme.sh: Add the possibility to PGP sign the final tarballs. (#756)
425e6c2 arch: xtensa: esp32: nxstyle fixes (#753)
bfc153c Fix typos in comments and documentation (#750)
9c7841a boards/sim/sim/sim/configs/ostest:  Enable cancellation tests.
13f0442 tools/zipme.sh: Improve the tool to make it usuable from a development repo and for future Apache releases.
f2e6e13 include/nuttx/wdog.h:  Add some additional comments.
402fb16 arch: arm: cxd56xx: nxstyle fixes

Apps:
 - https://github.com/PX4/NuttX-apps/tree/master
 - PX4/NuttX-apps@6e96e54

Changes from PX4/NuttX-apps (PX4/NuttX-apps@91b6ad6) in current PX4/master (0a2c48c)
PX4/NuttX-apps@91b6ad6...6e96e54

6e96e54b (HEAD -> master, origin/master) CI: sync with testing repo
c6b678fa netutils/dhcpc: fix nxstyle warning
70bb13ce netutils/dhcpc: configurable timeout and retry count.
d7df165c examples/udp: When a host PC is used, take its implementation of hton/ntoh functions.
dd95e357 examples/dsptest: fix nxstyle issues
7cb5bc3b (origin/px4_firmware_nuttx-8.3) wapi: fix nxstyle warning
6ab29d4f wapi: skip associate if ssid is invalid
df1d0e73 wireless/wapi: add save_config/reconnect support
6bafe90d wireless/wapi: independent scan and scan_results
7c8c3053 CI: remove the additional pull docker container step
PX4BuildBot added a commit that referenced this issue Apr 9, 2020
NuttX:
 - https://github.com/PX4-NuttX/nuttx/tree/master
 - PX4/NuttX@afe08b6

Changes from PX4/NuttX (PX4/NuttX@ec417d7) in current PX4/master (0a2c48c)
PX4/NuttX@ec417d7...afe08b6

afe08b6 (HEAD, origin/master) boards/arm/stm32/nucleo-f429zi: Port Nuttx to Nucleo-F429zi (#752)
9c14b9c CI: Add macOS builds
ce3a237 Add missing entries into LICENSE and NOTICE files
dfe11b5 CI: sync with testing repo
398175b tools/zipme.sh: Add the possibility to PGP sign the final tarballs. (#756)
425e6c2 arch: xtensa: esp32: nxstyle fixes (#753)
bfc153c Fix typos in comments and documentation (#750)
9c7841a boards/sim/sim/sim/configs/ostest:  Enable cancellation tests.
13f0442 tools/zipme.sh: Improve the tool to make it usuable from a development repo and for future Apache releases.
f2e6e13 include/nuttx/wdog.h:  Add some additional comments.

Apps:
 - https://github.com/PX4/NuttX-apps/tree/master
 - PX4/NuttX-apps@6e96e54

Changes from PX4/NuttX-apps (PX4/NuttX-apps@91b6ad6) in current PX4/master (0a2c48c)
PX4/NuttX-apps@91b6ad6...6e96e54

6e96e54b (HEAD -> master, origin/master) CI: sync with testing repo
c6b678fa netutils/dhcpc: fix nxstyle warning
70bb13ce netutils/dhcpc: configurable timeout and retry count.
d7df165c examples/udp: When a host PC is used, take its implementation of hton/ntoh functions.
dd95e357 examples/dsptest: fix nxstyle issues
7cb5bc3b (origin/px4_firmware_nuttx-8.3) wapi: fix nxstyle warning
6ab29d4f wapi: skip associate if ssid is invalid
df1d0e73 wireless/wapi: add save_config/reconnect support
6bafe90d wireless/wapi: independent scan and scan_results
7c8c3053 CI: remove the additional pull docker container step
PX4BuildBot added a commit that referenced this issue Apr 9, 2020
NuttX:
 - https://github.com/PX4-NuttX/nuttx/tree/master
 - PX4/NuttX@cbf31bc

Changes from PX4/NuttX (PX4/NuttX@ec417d7) in current PX4/master (38093e4)
PX4/NuttX@ec417d7...cbf31bc

cbf31bc (HEAD, origin/master) global change: fix tools/checkpatch.sh warnnings
231ad20 global change: repace sched_xfree() to kxmm_free()
cec53bb include/nuttx/mm/mm.h: fix MM_IS_ALLOCATED(n) define error
1d23963 mm/mm_heap: add mm_delaylist to mm_heap_s struct
78eb9f7 mm/mm_heap/mm_sem.c: add getpid() return check in mm_trysemaphore()
afe08b6 boards/arm/stm32/nucleo-f429zi: Port Nuttx to Nucleo-F429zi (#752)
9c14b9c CI: Add macOS builds
ce3a237 Add missing entries into LICENSE and NOTICE files
dfe11b5 CI: sync with testing repo
398175b tools/zipme.sh: Add the possibility to PGP sign the final tarballs. (#756)

Apps:
 - https://github.com/PX4/NuttX-apps/tree/master
 - PX4/NuttX-apps@f5ea28e

Changes from PX4/NuttX-apps (PX4/NuttX-apps@91b6ad6) in current PX4/master (38093e4)
PX4/NuttX-apps@91b6ad6...f5ea28e

f5ea28e9 (HEAD -> master, origin/master) netlib: Remove AF_FAMILY and PF_FAMILY definition
3b1b5648 CI: Add macOS builds
6e02a2b2 Include some missing entries from the LICENSE file
6e96e54b CI: sync with testing repo
c6b678fa netutils/dhcpc: fix nxstyle warning
70bb13ce netutils/dhcpc: configurable timeout and retry count.
d7df165c examples/udp: When a host PC is used, take its implementation of hton/ntoh functions.
dd95e357 examples/dsptest: fix nxstyle issues
7cb5bc3b (origin/px4_firmware_nuttx-8.3) wapi: fix nxstyle warning
6ab29d4f wapi: skip associate if ssid is invalid
sfuhrer added a commit that referenced this issue Dec 20, 2020
…ick (#756)

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
PX4BuildBot added a commit that referenced this issue May 18, 2021
    - sitl_gazebo in PX4/Firmware (c3884b5): PX4/PX4-SITL_gazebo-classic@402897d
    - sitl_gazebo current upstream: PX4/PX4-SITL_gazebo-classic@f10ccb7
    - Changes: PX4/PX4-SITL_gazebo-classic@402897d...f10ccb7

    f10ccb7 2021-05-17 grahamjamesaddis - Fix non unique name warning in tailsitter.sdf.jinja (#756)
05b8625 2021-05-13 Andrew Voznytsa - Fix gstreamer timestamps; Use push mode all the way; Avoid duplicated frame encoding; Cleanup a bit there and here
9ec04cc 2021-05-16 Graham James Addis - Tidy rotor colours Grey/Blue.
493c5dc 2021-05-16 Graham James Addis - Minimal conversion to jinja format.
dagar pushed a commit that referenced this issue May 18, 2021
    - sitl_gazebo in PX4/Firmware (c3884b5): PX4/PX4-SITL_gazebo-classic@402897d
    - sitl_gazebo current upstream: PX4/PX4-SITL_gazebo-classic@f10ccb7
    - Changes: PX4/PX4-SITL_gazebo-classic@402897d...f10ccb7

    f10ccb7 2021-05-17 grahamjamesaddis - Fix non unique name warning in tailsitter.sdf.jinja (#756)
05b8625 2021-05-13 Andrew Voznytsa - Fix gstreamer timestamps; Use push mode all the way; Avoid duplicated frame encoding; Cleanup a bit there and here
9ec04cc 2021-05-16 Graham James Addis - Tidy rotor colours Grey/Blue.
493c5dc 2021-05-16 Graham James Addis - Minimal conversion to jinja format.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant