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

Clockspeed: the setting now works with SimMode Car #2

Merged
merged 7 commits into from
May 31, 2020
Merged

Conversation

GimpelZhang
Copy link
Owner

@GimpelZhang GimpelZhang commented May 31, 2020

Status

DEVELOPMENT

Description

Motivation:

(On linux, with ROS) If the density of the timestamps of the image response can raise when the clockspeed setting is tuned down, limited equipped machines can produce dense enough image streams for vslam using. Related discussion: microsoft#2369

However, this could only work with the Multirotor SimMode. SimMode Car would not response as expected, like what I described in this link: microsoft#2163

Change:

Rewrite the SimModeCar.cpp & SimModeCar.h, so physic engine used in Multirotor simmode is involved now.

To use this feature, the following settings need to be set:

"PhysicsEngineName": "FastPhysicsEngine",
"ClockType": "SteppableClock",

Another change:

A car ros node and a keyboard control ros node added.

Related PRs

List related PRs against other branches:

Todos

Sim Environments besides Block have not been tested.

API usage of the ASimModeCar::pause / ASimModeCar::continueForTime have not been tested.

@GimpelZhang GimpelZhang merged commit a7f4546 into master May 31, 2020
@GimpelZhang GimpelZhang deleted the clockspeed branch May 31, 2020 08:46
@GimpelZhang GimpelZhang added the enhancement New feature or request label May 31, 2020
GimpelZhang pushed a commit that referenced this pull request Dec 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant