Skip to content
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

Gazebo: vision: Enable vision fusion in the vision variant of the simulation #23843

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AlexisTM
Copy link
Contributor

Solved Problem

The vision simulation for Gazebo doesn't use vision but only GPS.

This prevents testing vision related bugs in simulation (bugs when only having a local position)

Solution

  • Add the default parameters

Changelog Entry

For release notes:

Feature: Enable vision fusion and disabling gps for the `px4_sitl gz_x500_vision` simulation  

Context

To reproduce a bug in simulation that happens only when using vision/mocap/flow (without global position), the default parameters of the gz_x500_vision model would only use GPS. #23839

param set-default EKF2_EV_DELAY 5
param set-default EKF2_EV_CTRL 15
param set-default EKF2_HGT_REF 3
param set-default EKF2_GPS_CTRL 0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From a testing perspective I wouldn't mind keeping both on by default, but I guess it depends what you're going for.

Suggested change
param set-default EKF2_GPS_CTRL 0
param set-default EKF2_GPS_CTRL 1

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel this model is for testing a vision variant (aka vision only) as we rarely have GPS with vision, but I am fine leaving the GPS.

@AlexisTM AlexisTM changed the title Enable vision fusion in the vision variant of the simulation Navigator: land: Enable vision fusion in the vision variant of the simulation Oct 24, 2024
@AlexisTM AlexisTM changed the title Navigator: land: Enable vision fusion in the vision variant of the simulation Gazebo: vision: Enable vision fusion in the vision variant of the simulation Oct 24, 2024
…ulation

Enable vision fusion of vision data in the EKF2 for simulation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants