Our Pixhawk 1 which was initially in our BR2 died 2 weeks ago. So I ordered a brand new Pixhawk 4 to replace it (PX4 FMU V5).
Everything seemed to work, I could control our ROV again.
But there is a problem, I would like to connect I2C sensors but they are not recognized. I tried with 2 different Bar 30 sensors which were working great with the previous pixhawk (and on an Arduino, I re-checked to be sure).
Q ground control keeps saying : âno pressure sensorâ.
Nothing in mavlink inspector and SCALED_PRESSURE either.
I tried to downgrade the Ardusub firmware. didnât work.
I tried to externaly power the sensor. didnât work
I tried to change GND_EXT_BUS. didnât work
My question is : am I the only one to have problem with I2C and PX4 ? Does someone also experienced that ?
I found different threads on the forums, like this one but it doesnât really help.
Well, I tried 4.1.0 and 4.2.0, with 2 different Bar 30 sensors, and the PX4 still doesnât find the sensors âŠ
And there is something else weird : if I upgrade the firmware by USB, then connect to the ROV with the tether, I can control the ROV. But if I disconnect everything and re-connect with the tether, I will only have the video. No more control to the vehicule.
Anyway. Do you, at Blue Robotics, still provide first generations of pixhawks ? It might be easier.
thanks !
Are you able to confirm/set the following parameters?
Parameter
Value
BARO_PROBE_EXT
768
BARO_EXT_BUS
1
Not certain whatâs happening there, unless thereâs a missing connection somewhere when you reconnect things.
We provide them in our full electronics enclosures, but because theyâre no longer manufactured (and havenât been for some time) thereâs a significant shortage of them, so weâre unfortunately not able to provide them as a separate item. Weâre working on our own alternative that should be available within the next few months, but thereâs not a fixed release date for that yet.
I set the parameter BARO_PROBE_EXT to 768 and it works now ! I found my BAR 30 sensor.
So it is possible to use the pixhawk 4 with ardusub 4.2.0 dev.
Now I also added a celsius fast response temprerature sensor on an I2C splitter but I donât receive any values. Nothing in temperature(3). I only have the T° value from the BAR 30 in temperature(2).
Do you have any clue ?
For the other problem, itâs OK, when I only have the video and lose the control/telemetry, I restart the computer and it works.
I can replicate that here. We tried setting BARO_EXT_BUS = 3, which got the Celsius to work but stopped the Bar30 from working. Wouldnât suggest trying it - itâs not simple to get back the other way.
Weâre looking into this, but not sure how long it will take to fix. It may just be a parameter issue, but may also require changes to ArduSub - we wonât know until we have a working solution.
Glad youâve at least got a workaround. A few notes:
If youâre restarting the topside computer perhaps thereâs some kind of firewall issue or something.
If youâre restarting the onboard computer, does the mavproxy service come up in the web interface?
If it does then it might be sufficient to reboot the autopilot (from the web interface).
If it doesnât then you can likely reboot just the onboard computer (from the web interface) rather than having to power cycle everything.
By the way, Iâve just re-read your initial post and seen that you got a Pixhawk 4 because your initial Pixhawk 1 (from us) failed. If you havenât had your BlueROV2 for very long then it might be worth contacting support@bluerobotics.com - they may be able to send you a replacement. Pixhawk quantities are very low, but if weâve sold you a product that didnât perform reasonably then thatâs on us to fix.
No problem, itâs not a big deal.
We will follow that. We also bought a Pixhawk 2.4.8, we will give it a try.
By restarting the topside computer it works. By restarting the onboard computer too. And yes the mavproxy service comes up in the ardusub companion web interface. So indeed I can have access to it and restart it this way.
Thanks but we bought our ROV in 2018, made a lot of improvements, and the pixhawk died because of a leak. Fortunately everything else is ok.