Align Nav2 with physics time and preserve complete simulation scenes
This commit is contained in:
@@ -72,3 +72,12 @@ def test_clearance_potential_spans_the_local_intent_horizon(configured):
|
||||
cost = lambda d: 252*math.exp(-layer['cost_scaling_factor']*d)
|
||||
assert cost(1.) > cost(2.) > cost(3.) > 1.
|
||||
assert grid['footprint_padding'] == .05 and grid['track_unknown_space']
|
||||
|
||||
|
||||
def test_simulation_clock_reaches_every_native_node_and_costmap(configured):
|
||||
configure, inputs, robot = configured
|
||||
config = configure(inputs, robot, use_sim_time=True)
|
||||
for name in ('planner_server', 'controller_server', 'behavior_server'):
|
||||
assert config[name]['ros__parameters']['use_sim_time'] is True
|
||||
for name in ('global_costmap', 'local_costmap'):
|
||||
assert config[name][name]['ros__parameters']['use_sim_time'] is True
|
||||
|
||||
Reference in New Issue
Block a user