PX4 / PX4-Flow

Firmware for PX4FLOW board
232 stars 340 forks source link

px4flow sonar no distance. Help! #113

Open pxfdale opened 5 years ago

pxfdale commented 5 years ago

I followed the steps( I have flashed px4flow.px4 & px4flow-klt-06Dec2014.px4... ) in the Internet to use px4flow. ( http://ardupilot.org/copter/docs/common-px4flow-overview.html )

px4flow works but sonar seeems to not work. flow_x and flow_y works well, but distance is always 0.

Guys, what's the steps you use sonar? Did I miss any steps? Is the output of sonar "distance" or others?

( Besides, I used QGroundControl, pixhawk2.4.8, px4fmu_v3-default.px4, px41.8.2 )

This is the pictures when flow camera is linked to PC.

1 2 3 4

I have worked for it for a long time but still do not know where the problem is. Hoping to get help from you! Thank you!

mike239x commented 4 years ago

Do you have a sonar attached to px4flow? If not then the behavior you observe is to be expected.

rk800506 commented 4 years ago

you must be using a distance sensor along with px4flow

Chick92 commented 4 years ago

I am having the exact same issue, have you made any progress?

Does the jumper for TTL on the sonar have to be soldered? It could possibly be a broken sonar unit, but i don't know if the PX4FLOW uses the analog, pwm, or serial (in TTL or RS232) mode? Some clarification on this will be helpful, as i can then being to debug.

Is the sonar still supported on the PX4FLOW? I'm not intending to use it with a flight controller, i'm using it for a robotics application and require the absolute position change. I could just integrate my own laser range finder and scale accordingly, but i really don't want to have to do more work than required.

Ben

Chick92 commented 4 years ago

For anyone else reading this -

Solder the jumper pad on the ultrasonic sensor to enable a ttl serial output, and solder the 5v jumper on the PX4FLOW, the ultrasonic will then work and give data.

It's genuinely ridiculous that i had to trawl obscure forums to do with rovers to find that out. It's not listed in any of the documentation i could find for the PX4FLOW sensor.

rk800506 commented 4 years ago

I am not using sonar. I have used a TFMini LIDAR as a range finder.

On Sat, Jun 20, 2020 at 5:41 AM Anon notifications@github.com wrote:

For anyone else reading this -

Solder the jumper pad on the ultrasonic sensor to enable a ttl serial output, and solder the 5v jumper on the PX4FLOW, the ultrasonic will then work and give data.

It's genuinely ridiculous that i had to trawl obscure forums to do with rovers to find that out. It's not listed in any of the documentation i could find for the PX4FLOW sensor.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/PX4/Flow/issues/113#issuecomment-646903736, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI46GLSIFS4SZWT2R3WC5VDRXP5ELANCNFSM4HZKQ3SA .