Community
cancel
Showing results for 
Search instead for 
Did you mean: 
idata
Community Manager
1,527 Views

Optical Flow not working

Hi,

I connected the LIDAR Lite 3 to the AERO.

I then ran the following commands from the Yocto terminal:

systemctl enable aero-optical-flow.service

systemctl status aero-optical-flow

and received the picture attached.

When looking in QGC on the widget QGroundControl>Widgets>MAVLink Inspector> ,

There is no: OPTICAL_FLOW_RAD>quality

What's wrong?

Thank you, Yoni.

0 Kudos
8 Replies
idata
Community Manager
86 Views

Hi Yoni,

 

 

Thank you for your interest in the Intel Aero drone.

 

Could you tell me what is the output of this command?

 

get_aero_version.py

 

 

Also, please make sure you are following this guide:

 

https://docs.px4.io/en/flight_controller/intel_aero.html

 

 

Regards,

 

Alexandra
idata
Community Manager
86 Views

Hi Alexandra,

I followed both websites:

https://docs.px4.io/en/flight_controller/intel_aero.html https://docs.px4.io/en/flight_controller/intel_aero.html

https://github.com/intel-aero/aero-optical-flow GitHub - intel-aero/aero-optical-flow

please see version in picture attached.

please also see "Optical flow Active" picture attached

Still, not working

Thank you

idata
Community Manager
86 Views

Hi Yoni,

 

Please make sure your sensor is properly connected by running ll40ls test i2c in the mavlink console and that the proper settings were setup in QGround Control.

EKF2_AID_MASK = 3 (use GPS + use optical flow)

EKF2_HGT_MODE = 2 (range sensor)

https://github.com/intel-aero/aero-optical-flow https://github.com/intel-aero/aero-optical-flow

 

 

Regards,

 

Alexandra
idata
Community Manager
86 Views

Hi Alexandra,

Where should I run this : ll40ls test i2c?

Where is the mavlink console? In the QGC?

Thank you.

idata
Community Manager
86 Views

Hi Yoni,

 

 

The mavlink console is located in QGroundControl (see picture attached).

 

Also, this link might be helpful:

 

https://docs.px4.io/en/sensor/rangefinders.html

 

 

Regards,

 

Alexandra
idata
Community Manager
86 Views

Hi Alexandra,

I followed all the instructions on both websites:

https://pixhawk.org/peripherals/rangefinder# lidar-lite Rangefinder - Pixhawk Flight Controller Hardware Project

https://docs.px4.io/en/sensor/rangefinders.html https://docs.px4.io/en/sensor/rangefinders.html

In the Inspector and Analyze tools of QGC (see pics) the readings seam ok (may be a bit noisy though).

In the Console tool, there is a problem when typing the 'test' and 'start' commands (see pic). May be it's because the lidar is connected to the Telemetry connector (and not the Compass connector).

Any ideas?

Thank you, Yoni.

idata
Community Manager
86 Views

Hi Yoni,

 

 

We have seen progress on your issue on GitHub and it seems to be due to the floor's texture, which is not so good. They recommended the use of PX4flow.

 

You can find instructions here:

 

http://www.instructables.com/id/Intel-Aero-Drone-Altitude-and-Position-Hold-Using-/ http://www.instructables.com/id/Intel-Aero-Drone-Altitude-and-Position-Hold-Using-/

 

 

Regards,

 

Alexandra
idata
Community Manager
86 Views

Ok, I'll try it and update about the results.

Thank you

Reply