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

Enable setting simulation speed in VSCode #12297

Merged
merged 3 commits into from
Jun 17, 2019
Merged

Enable setting simulation speed in VSCode #12297

merged 3 commits into from
Jun 17, 2019

Conversation

julianoes
Copy link
Contributor

This depends on PX4/jMAVSim#104.

For details, check commit messages.

@julianoes julianoes requested a review from dagar June 17, 2019 09:49
dagar
dagar previously approved these changes Jun 17, 2019
@dagar
Copy link
Member

dagar commented Jun 17, 2019

Awesome! I think the main problem with jmavsim right now is java compatibility.

In order to be consistent between Gazebo and jMAVSim we should be using
the env variable PX4_SIM_SPEED_FACTOR in the same way. This enables
vscode to set the speed using the env variable.
This changes the VSCode debugging to use lockstep. For lockstep, the
rate needs to be 250 Hz.
This env variable can be changed to adapt the simulation speed.
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