-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
Pr new vision mav mode #12279
Pr new vision mav mode #12279
Conversation
Nice! |
src/modules/mavlink/mavlink_main.cpp
Outdated
configure_stream_local("LOCAL_POSITION_NED", 30.0f); | ||
configure_stream_local("NAMED_VALUE_FLOAT", 1.0f); | ||
configure_stream_local("NAV_CONTROLLER_OUTPUT", 1.5f); | ||
configure_stream_local("ODOMETRY", 3.0f); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3hz ends up being short for systems dependent of the covariances given by this msg.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok so what do you think is a reasonable value? And should this be in the extended mode or in the minimal ext vision mode?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I set this to 30Hz as in the onboard mode
increase max value for SYS_AUTOSTART parameter from 99999 to 9999999 fix MAVLINK_MODE_EXTVISIONMIN mode and add fallthrough comment Signed-off-by: DanielePettenuzzo <[email protected]>
b959833
to
1b6f11c
Compare
@dagar squashed and rebased |
Much appreciated! |
We've been having many issues on the serial link connecting the Pixhawk 4 to a companion computer. It seems that even if we raise the baudrate to 1.5Mb/s there is not enough bandwidth to use the onboard or extvision modes together with log streaming. Since the onboard mode basically contains any possible mavlink stream, we actually use a small percentage of these for external vision. This pr divides the ext vision mode into two modes, a basic one (extvisionmin) for avoidance and then a normal extvision mode that adds the imu stream that should only be necessary for other applications such as VIO. With this new mavlink mode we were able to reduce the baudrate to 921600 and now we hardly have any drops when running both the mavlink streams and the log streaming on the telem port to the companion.