Hi all, I have been having a really hard time getting my Ardusub-based system to work properly and could use some help.
Context
I have a Simple ROV-3 frame with three Blue Robotics T200 thrusters, each with the Blue Robotics Basic ESC. This is a basic layout of the system:
Raspberry Pi (Raspberry Pi OS) <----[pymavlink scripts/MAVLINK]----> Pixhawk 6c (Ardusub) ----[I/O PWM]----> Basic ESC (x3) ----> T200 thruster (x3)
I also am using a Blue Robotics Depth sensor, the Bar03, and am using the onboard compass and IMU in the Pixhawk.
The Problem
The simplest description of the problem is that the PWM output of the Pixhawk is not what I expect it to be. Specifically, the PWM values for channel 3, the pitch thruster in the Simple ROV-3 frame, jump to 1900 without me sending any control commands. This happens after arming, and the time it takes for this to start happening is random. I have made sure that the parameters setting the trim PWM values for all three motor channels are set to 1500, which is neutral, but this still happens. If I subsequently send a command to change these values, either through manual_control or set_servo_pwm, channel 3 does not respond.
Also, this is happening on a brand new Pixhawk. I previously was using another Pixhawk 6c, but I accidentally shorted it when I was moving some things around my setup. With the old Pixhawk, I couldn’t even get channel 3 to output anything, although I did not get much time to troubleshoot this before it shorted.
After a lot of troubleshooting, I am starting to wonder if this is an issue with the firmware itself, as I have gone through many of the Pixhawk configuration parameters, including the FS_* ones to see if a failsafe is being triggered, and there has been an issue with channel 3 for both Pixhawks I tested out. I am definitely open to other explanations and troubleshooting suggestions.
Has anyone else here had a similar issue before? Any help is greatly appreciated! Thanks in advance.
Other relevant notes:
- I am always operating in manual mode
- The disarm command is able to set the thrusters back to neutral
- I have been able to test the servos in the QGroundControl motor testing page with normal behavior.
- I set the Pixhawk to a frame with 4 thrusters instead and this time saw both Ch3 and Ch4 misbehaving after arming.
- I briefly thought I had fixed this issue be restarting my entire system, including the laptop running QGC. But the problem came right back and I realized that this was just an instance where it took a little longer for ch3 to get to 1900 than it had in previous attempts.
- I cannot control the thrusters with my Logitech controller through QGC. I can arm and disarm if I use Mission Planner, but have not been able to control the thrusters.
- rc_channel_override commands have not worked.