Skip to content
This repository was archived by the owner on Mar 17, 2021. It is now read-only.
This repository was archived by the owner on Mar 17, 2021. It is now read-only.

Collision prevention not working on PX4 V5nano board #1148

Description

@AleksejSen

SW version: 1.11
I followed the guide : https://docs.px4.io/master/en/computer_vision/collision_prevention.html
and tried with Tfmini(changed in the drivers to face forward and recompiled) and CM8jl65 facing forward(changed in the driver), I see the distance reading in QGC Mavlink inspector under under DISTANCE_SENSOR but the drone continues to fly forward ignoring CP_DIST (in POSITIONING mode controlled by the joystick)
Current parameters settings:
CP_DELAY: 0.400
CP_DIST: 2.0 M (tried 3m also)
CP_GO_NO_DATA: tested bout 1 and 0
CP_GUIDE_ANG 30.deg
SENS_CM8JL65_R0: ROTATION_FORWARD_FACING

Activity

  1. dagar commented on Jan 28, 2021

    @dagar
    Member

    Can you share the flight log? https://logs.px4.io/

  2. added and removed on Jan 28, 2021
  3. dagar commented on Jan 28, 2021

    @dagar
    Member
  4. jkflying commented on Jan 28, 2021

    @jkflying
    Contributor

    As @dagar says, need a log to help you, and you need to turn on the computer vision topics in SDLOG_PROFILE . Also, just a tip, for a directly connected distance sensor you can set CP_DELAY to 0

  5. AleksejSen commented on Jan 28, 2021

    @AleksejSen
    Author
  6. AleksejSen commented on Jan 28, 2021

    @AleksejSen
    Author

    will turn it on next time i'll fly then

  7. hamishwillee commented on Feb 3, 2021

    @hamishwillee
    Collaborator

    FYI, I'm slowly trying to kill this repo. Issues should best go to https://github.com/PX4/PX4-user_guide/issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions