@cbay This may be a stretch but I do think it has something to do with the difference between voxl-fpv-px4 and voxl-px4. Can someone explain the differences between them
Latest posts made by cbay
-
RE: MAG SDA 3P3V shorted to groundposted in VOXL 2 Mini
-
RE: MAG SDA 3P3V shorted to groundposted in VOXL 2 Mini
@cbay Reflashing seems to have fixed it, so it isnt a hardware problem and is instead a firmware issue. I am loading custom drivers into voxl-px4, any clue how that can affect it
-
MAG SDA 3P3V shorted to groundposted in VOXL 2 Mini
Been working with the VOXL2 Mini for awhile, communicating with I2C devices using QUP0 on J19. Today ran into an issue of communication and I2C probing failing, finally figured it out to be my SDA line being shorted by the VOXL. I tried different cables, different I2C devices and a seperate VOXL2 Mini, all of them had the SDA line shorted on one mini, and pulled high as is proper on the other.
I see no visible damage on the voxl2 mini and nothing has happened that could've caused this. Any information would be greatly appreciated, specially as if this mini cant use that I2C bus anymore it is useless for our purposes.
Cheers
Carson -
RE: Can't start PX4 PCA9685 Driverposted in VOXL SDK
@Alex-Kushleyev Found the reason why it was skipping. In /px4-firmware/src/lib/parameters/CMakeLists.txt there is a line that skips all modules that match 'pwm_out'. I was able to disable that for PCA9685. Once I disabled the module.yaml file being skipped it worked. No need for the .c file (which makes sense, that is just the old way to do the .yaml)
-
RE: Can't start PX4 PCA9685 Driverposted in VOXL SDK
@Alex-Kushleyev My issue is the params arent loaded from the YAML file of the driver, so I can't set and save them. I get errors whenever I try to run param set.
Any help on making sure this drivers module.yaml file gets loaded properly
-
RE: Can't start PX4 PCA9685 Driverposted in VOXL SDK
@cbay https://github.com/modalai/px4-firmware/blob/main/src/drivers/pca9685_pwm_out/module.yaml here is where I think the params are
-
RE: Can't start PX4 PCA9685 Driverposted in VOXL SDK
@cbay Checked out a older tag on voxl-px4 and was able to build and install.
When I run the driver I get an error revolving around its Freq, I understand you dont work with the driver so I doubt yall will have info about it.
What I am looking for is how to get the necessary Px4 parameters to show up, as they dont seem to be included properly
-
RE: Can't start PX4 PCA9685 Driverposted in VOXL SDK
@cbay Most of the way through the build process, was able to sort it out including the necessary edits to the PCA driver. Issue I am running into is both the dev and master branches of voxl-px4 require a newer version of libfc-sensor (1.0.9 and 1.0.10 respectively) then what is included in 1.6.2 of the SDK.
I am not sure how to upgrade this library
-
RE: Can't start PX4 PCA9685 Driverposted in VOXL SDK
@Eric-Katzfey Sounds good, any tips or steps on how to add to the build and to upload to the board?
-
Can't start PX4 PCA9685 Driverposted in VOXL SDK
Hey hope yall are well,
I am trying to interface a PCA9685 onto J19 of the VOXL2 (and ultimately the VOXL 2 Mini). I have connected the chip to QUP0 (Magnetometer I2C) and am trying to start the px4 driver for the PCA9685 found here: https://github.com/modalai/px4-firmware/tree/main/src/drivers/pca9685_pwm_out
I have started PX4 outside of daemon mode and am running the command: px4-qshell pca9685_pwm_out start -a 0x40 -b $ (have tried multiple busses). Everytime I get the error in qshell: Command pca9685_pwm_out not found. I can't seem to find the documentation on how to load this driver onto the VOXL2. Any support would be helpful. I am running on the newest SDK.