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

Collision prevention not working on PX4 V5nano board #1148

Open
AleksejSen opened this issue Jan 28, 2021 · 6 comments
Open

Collision prevention not working on PX4 V5nano board #1148

AleksejSen opened this issue Jan 28, 2021 · 6 comments
Labels

Comments

@AleksejSen
Copy link

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

@dagar
Copy link
Member

dagar commented Jan 28, 2021

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

@dagar dagar added bug and removed invalid labels Jan 28, 2021
@dagar
Copy link
Member

dagar commented Jan 28, 2021

@jkflying

@jkflying
Copy link
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

@AleksejSen
Copy link
Author

flight_log.tar.gz

@AleksejSen
Copy link
Author

will turn it on next time i'll fly then

@hamishwillee
Copy link
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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants