-
Notifications
You must be signed in to change notification settings - Fork 60
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
feat(realtime_factor): pass use_sim_time to Autoware #1207
feat(realtime_factor): pass use_sim_time to Autoware #1207
Conversation
Signed-off-by: Paweł Lech <[email protected]>
Checklist for reviewers ☑️All references to "You" in the following text refer to the code reviewer.
|
…r-real-time-factor-control
…-doc' into fix/use-sim-time-for-real-time-factor-control
This reverts commit da85edf.
@dmoszynski @pawellech1 |
@HansRobo Done |
I've pointed out a few minor inconsistencies. |
@HansRobo |
I'll merge after checking all CIs are green. |
Description
Abstract
use_sim_time
parameter is passed to the concealer's launch arguments based on the parameter passed to the scenario test runner launch command. It is False by default.Background
Jira: RJD-822, RJD-1273
Document with stages 1,2,3: doc
Details
Usage of use_sim_time in Autoware and SS2 simulations:
use_sim_time
param toAutoware
made it impossible to use the parameter outside of the simulation other solution was necessary - it is included in this PRuse_sim_time
to True as defaultMultiple situations were tested:
use_sim_time:=True
passed using command lineuse_sim_time=true
./clock
is the simulation time (starting from 0)./clock
can be controlled by RViz plugin.use_sim_time:=False
passed using command line (default value)use_sim_time=false
./clock
is the walltime./clock
cannot be controlled by RViz plugin.use_sim_time:=True
passed using command lineuse_sim_time=true
./clock
is the simulation time (starting from 0)./clock
can be controlled by RViz plugin it only affects the Autoware.global_real_time_factor
launch parameter if theStepExecution
is turned on inScenarioSimulatorConnector
before AWSIM launch.use_sim_time:=False
passed using command line (default value)use_sim_time=false
but Autoware is launched withuse_sim_time=true
./clock
is raw time.Destructive Changes
use_sim_time
parameter is passed to theAutoware
launchr.