These are chat archives for PX4/Hardware
I have a new clone of the PX4 firmware uploaded unto a new Pixhawk (with the irlock module enabled) board. Thereafter, I connect my pixy irlock hardware as described in http://docs.irlock.com/#document-3 to my Pixhawk. Unfortunately, when I execute
I get the following error "irlock: failed to initialize device, stopping driver". Going through the irlock driver code, I can tell that it fails at line 154 of https://github.com/PX4/Firmware/blob/master/src/drivers/irlock/irlock.cpp. My Pixy is running pixy_firmware-2.0.17-general.hex firmware which I'm guessing is the latest firmware. While connected and powered from the Pixhawk, the LED light on the pixy board is very dim white and I guess it also blinks at a very high frequency.
The Pixy board is calibrated using the PixyMon software and powering the Pixy and Pixkhawk by using the USB on the Pixy, the sensor can identify the object it has been trained to detect.
On the same i2c port, when I connect a px4flow sensor, it works quite well with the following warnings
WARN [px4flow] scanning I2C buses for device..
PX4FLOW on I2C bus 1 at 0x42 (bus: 100 KHz, max: 400 KHz)
I would appreciate help from anyone that has used pixy with Pixhawk.