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

vscode debug minor improvements #13750

Merged
merged 1 commit into from
Dec 17, 2019
Merged

vscode debug minor improvements #13750

merged 1 commit into from
Dec 17, 2019

Conversation

dagar
Copy link
Member

@dagar dagar commented Dec 15, 2019

This is a small follow up on #13749.

There was potential confusion between px4_sitl_default built in replay mode or not. To get around this I introduced a stripped down px4_sitl_replay config. Then the vscode launch is split to be appropriate for either replay or simulation.

  • create new px4_sitl_replay config specifically for replay
  • split posix launch.json for simulation and replay
  • ekf2 replay don't launch gazebo
  • add px4_sitl_test cmake variant
  • px4_sitl_test bring into sync with px4_sitl_default
  • vscode replace hard coded build path with cmake setting

 - create new px4_sitl_replay config specifically for replay
 - ekf2 replay don't launch gazebo
 - add px4_sitl_test cmake variant
 - px4_sitl_test bring into sync with px4_sitl_default
 - vscode replace hard coded build path with cmake setting
@dagar dagar force-pushed the pr-vscode_ekf2_replay branch from 7776016 to c493ad0 Compare December 15, 2019 16:19
@dagar
Copy link
Member Author

dagar commented Dec 15, 2019

An alternative would be using cmake options to properly set these things at configure time.

@dagar dagar requested a review from kamilritz December 15, 2019 16:23
@kamilritz
Copy link
Contributor

@dagar I tested the replay option and it worked for me. But I am not really the person that can review these changes.

@dagar
Copy link
Member Author

dagar commented Dec 17, 2019

@dagar I tested the replay option and it worked for me. But I am not really the person that can review these changes.

That's good enough, most of the changes aren't that interesting. The existing px4_sitl_default replay behavior isn't changed, so we don't have to make any difficult decisions here.

@dagar dagar merged commit 3d56f37 into master Dec 17, 2019
@dagar dagar deleted the pr-vscode_ekf2_replay branch December 17, 2019 18:20
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