Skip to content

Commit

Permalink
Add use_sim_time=True as a node option for Elevator System
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunseok-yang committed Jan 6, 2021
1 parent 5eadbb7 commit 5cbd2d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions elevator_system_sim/src/ElevatorSystemSim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ ElevatorSystemSim::ElevatorSystemSim(bool intra_process_comms)
: LifecycleNode("elevator_system_sim",
rclcpp::NodeOptions()
.allow_undeclared_parameters(true)
.parameter_overrides(vector<rclcpp::Parameter>{rclcpp::Parameter("use_sim_time", true)})
.automatically_declare_parameters_from_overrides(true)
.use_intra_process_comms(intra_process_comms))
, m_pSimBridge(new SimBridge())
Expand Down

0 comments on commit 5cbd2d1

Please sign in to comment.