Skip to content

Conversation

YongraeKim
Copy link

When differential rover rotates,
lateral friction forces acting on wheels are exaggerate too high to diverge EKF2 on PX4.
This can be reduced by setting and to small values(i.e 0.01, 0.05).
Some params for wheel friction simulations are also changed.

Please refer to the issue below
SITL R1 Rover Mission Mode spin around itself #21353

@YongraeKim YongraeKim changed the title Wheel friction model improved for stability of EKF2 while PX4 SITL is running. R1 rover wheel friction model improved for stability of EKF2 while PX4 SITL is running. Feb 29, 2024
@dev10110
Copy link

@kalebbennaveed can you try this? Looks like it might be the fix we needed

<hil_mode>false</hil_mode>
<hil_state_level>false</hil_state_level>
<enable_lockstep>true</enable_lockstep>
<enable_lockstep>false</enable_lockstep>
Copy link
Member

Choose a reason for hiding this comment

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

Is there a reason to disable lockstep?

Copy link
Author

@YongraeKim YongraeKim May 31, 2024

Choose a reason for hiding this comment

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

Ah.. that may be my mistake. As I remember, that wouldn't do effect on the sim stability. But i'll check on it.

Oh, I remembered again and checked it,
and i found that error message occurs on simulator_mavlink
which say 'ERROR [simulator_mavlink] poll timeout 0, 22' if enable_lockstep set to true.

DonLakeFlyer and others added 2 commits May 31, 2024 14:18
* Add support for video capture and range zoom

* Use MAV_RESULT_DENIED for bad params
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.

4 participants