Skip to content

Commit

Permalink
blacked
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Delicat <jakub.delicat@husarion.com>
  • Loading branch information
delihus committed Oct 19, 2023
1 parent 5f1ead3 commit 7c95bd6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
2 changes: 1 addition & 1 deletion rosbot_xl_controller/launch/controller.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def generate_launch_description():
description=(
"Whether to use mecanum drive controller"
"(otherwise diff drive controller is used)",
)
),
)

lidar_model = LaunchConfiguration("lidar_model")
Expand Down
19 changes: 15 additions & 4 deletions rosbot_xl_controller/test/test_xacro.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,31 @@ def test_rosbot_description_parsing():

all_combinations = list(
itertools.product(
mecanum_values, use_sim_values, use_gpu_values, simulation_engine_values,
lidar_model, camera_model
mecanum_values,
use_sim_values,
use_gpu_values,
simulation_engine_values,
lidar_model,
camera_model,
)
)

for combination in all_combinations:
mecanum, use_sim, use_gpu, simulation_engine, lidar_model, camera_model = combination
(
mecanum,
use_sim,
use_gpu,
simulation_engine,
lidar_model,
camera_model,
) = combination
mappings = {
"mecanum": mecanum,
"use_sim": use_sim,
"use_gpu": use_gpu,
"simulation_engine": simulation_engine,
"lidar_model": lidar_model,
"camera_model": camera_model
"camera_model": camera_model,
}
rosbot_xl_description = get_package_share_directory("rosbot_xl_description")
xacro_path = os.path.join(rosbot_xl_description, "urdf/rosbot_xl.urdf.xacro")
Expand Down

0 comments on commit 7c95bd6

Please sign in to comment.