-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AP_DDS: Support IMU+gyro+accel data for rate control or offboard fusion #23478
Comments
Hello Ryan. I would like to work on this issue as I have an interest in sensor fusion and control. Can you share in more detail what needs to be implemented? |
Here's the proposed workflow for this issue. |
Solutions: |
This approach sounds good! Can you elaborate on which libraries and functions you plan to call in AP to make this work? Additionally, can you compare it to the corresponding MAVlink ways of doing the same thing today, assuming they exist? Your proposed workflow step c of fusing the data and sending an estimate back can be later. Let's get the interface designed and prototyped out. |
@Ryanf55 For offboard rate control I don't think any additional libraries need to be added in AP to perform this, as the rate commands will be generated offboard. We however may need to increase the frequency of mavlink msg to allow smooth control. For attitude estimation, I'm not sure if outside attitude estimates are accepted by AP. I'm also not sure of a mavlink msg that sends attitude estimates back to AP (there are those that receive attitude data from AP though). |
Hello, @Ryanf55 Guessing this issue is still open I would like to work on this. I have noticed that ArduPilot right now is publishing a topic /ap/imu/experimental , which I guess is raw IMU data. We can similarly subscribe to a similar topic which would return processed data using the raw IMU data already being published. Am I missing something? |
See if #26187 meets your needs. It just merged. |
@Ryanf55 is this issue still active?? |
The IMU data is published, but it's in a non-standard frame. We have reports that some people are using that, but just keep in mind the frame convention will change to be REP-103/REP-105 compliant by ArduPilot 4.6. |
See this branch for the patch. It needs better testing. FYI @srmainwaring https://github.com/srmainwaring/ardupilot/tree/prs/pr-dds-imu-rep103 |
ok thx |
From AP_AHRS, the data is filtered and good for rate control. This is the data after notch+low pass, phase lag and all. This goes on
imu_filtered
topic.For offboard fusion, we can do it "badly". We would need delta angle, delta velocity, all the data products from INS that are not filtered. We have to know the lag to do delayed time fusion with lag on the GPS. This would be on
imu_raw
.Current EKF does delayed time fusion (in delayed time) with forward propagation to the current time. Doesn't work as well in dynamic flight. Researchers want to do this.
Adding things like vision odometry back into ArduPilot (visual mavlink odometry) - this is preferred for performance so ArduPilot's EKF can fuse the data.
The text was updated successfully, but these errors were encountered: