Skip to content

Commit 17a530d

Browse files
committed
chore: reformat simple circuit and vaccum cleaner launchers
1 parent 4fb205b commit 17a530d

10 files changed

Lines changed: 30 additions & 30 deletions

Launchers/simple_circuit.launch.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ def generate_launch_description():
2525

2626
# Set the path to the SDF model files.
2727
gazebo_models_path = os.path.join(pkg_share, "models")
28-
os.environ["GAZEBO_MODEL_PATH"] = (
29-
f"{os.environ.get('GAZEBO_MODEL_PATH', '')}:{':'.join(gazebo_models_path)}"
30-
)
28+
os.environ[
29+
"GAZEBO_MODEL_PATH"
30+
] = f"{os.environ.get('GAZEBO_MODEL_PATH', '')}:{':'.join(gazebo_models_path)}"
3131

3232
########### YOU DO NOT NEED TO CHANGE ANYTHING BELOW THIS LINE ##############
3333
# Launch configuration variables specific to simulation

Launchers/simple_circuit_ackermann.launch.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ def generate_launch_description():
2525

2626
# Set the path to the SDF model files.
2727
gazebo_models_path = os.path.join(pkg_share, "models")
28-
os.environ["GAZEBO_MODEL_PATH"] = (
29-
f"{os.environ.get('GAZEBO_MODEL_PATH', '')}:{':'.join(gazebo_models_path)}"
30-
)
28+
os.environ[
29+
"GAZEBO_MODEL_PATH"
30+
] = f"{os.environ.get('GAZEBO_MODEL_PATH', '')}:{':'.join(gazebo_models_path)}"
3131

3232
########### YOU DO NOT NEED TO CHANGE ANYTHING BELOW THIS LINE ##############
3333
# Launch configuration variables specific to simulation

Launchers/simple_circuit_ackermann_followingcam.launch.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ def generate_launch_description():
3333

3434
# Set the path to the SDF model files.
3535
gazebo_models_path = os.path.join(pkg_share, "models")
36-
os.environ["GAZEBO_MODEL_PATH"] = (
37-
f"{os.environ.get('GAZEBO_MODEL_PATH', '')}:{':'.join(gazebo_models_path)}"
38-
)
36+
os.environ[
37+
"GAZEBO_MODEL_PATH"
38+
] = f"{os.environ.get('GAZEBO_MODEL_PATH', '')}:{':'.join(gazebo_models_path)}"
3939

4040
########### YOU DO NOT NEED TO CHANGE ANYTHING BELOW THIS LINE ##############
4141
# Launch configuration variables specific to simulation

Launchers/simple_circuit_followingcam.launch.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ def generate_launch_description():
3333

3434
# Set the path to the SDF model files.
3535
gazebo_models_path = os.path.join(pkg_share, "models")
36-
os.environ["GAZEBO_MODEL_PATH"] = (
37-
f"{os.environ.get('GAZEBO_MODEL_PATH', '')}:{':'.join(gazebo_models_path)}"
38-
)
36+
os.environ[
37+
"GAZEBO_MODEL_PATH"
38+
] = f"{os.environ.get('GAZEBO_MODEL_PATH', '')}:{':'.join(gazebo_models_path)}"
3939

4040
########### YOU DO NOT NEED TO CHANGE ANYTHING BELOW THIS LINE ##############
4141
# Launch configuration variables specific to simulation

Launchers/simple_circuit_obstacles.launch.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ def generate_launch_description():
2525

2626
# Set the path to the SDF model files.
2727
gazebo_models_path = os.path.join(pkg_share, "models")
28-
os.environ["GAZEBO_MODEL_PATH"] = (
29-
f"{os.environ.get('GAZEBO_MODEL_PATH', '')}:{':'.join(gazebo_models_path)}"
30-
)
28+
os.environ[
29+
"GAZEBO_MODEL_PATH"
30+
] = f"{os.environ.get('GAZEBO_MODEL_PATH', '')}:{':'.join(gazebo_models_path)}"
3131

3232
########### YOU DO NOT NEED TO CHANGE ANYTHING BELOW THIS LINE ##############
3333
# Launch configuration variables specific to simulation

Launchers/simple_circuit_obstacles_followingcam.launch.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ def generate_launch_description():
3333

3434
# Set the path to the SDF model files.
3535
gazebo_models_path = os.path.join(pkg_share, "models")
36-
os.environ["GAZEBO_MODEL_PATH"] = (
37-
f"{os.environ.get('GAZEBO_MODEL_PATH', '')}:{':'.join(gazebo_models_path)}"
38-
)
36+
os.environ[
37+
"GAZEBO_MODEL_PATH"
38+
] = f"{os.environ.get('GAZEBO_MODEL_PATH', '')}:{':'.join(gazebo_models_path)}"
3939

4040
########### YOU DO NOT NEED TO CHANGE ANYTHING BELOW THIS LINE ##############
4141
# Launch configuration variables specific to simulation

Launchers/vacuum_cleaner.launch.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ def generate_launch_description():
2424

2525
# Set the path to the SDF model files
2626
gazebo_models_path = os.path.join(pkg_share_dir, "models")
27-
os.environ["GAZEBO_MODEL_PATH"] = (
28-
f"{os.environ.get('GAZEBO_MODEL_PATH', '')}:{':'.join(gazebo_models_path)}"
29-
)
27+
os.environ[
28+
"GAZEBO_MODEL_PATH"
29+
] = f"{os.environ.get('GAZEBO_MODEL_PATH', '')}:{':'.join(gazebo_models_path)}"
3030

3131
########### YOU DO NOT NEED TO CHANGE ANYTHING BELOW THIS LINE ##############
3232
# Launch configuration variables specific to simulation

Launchers/vacuum_cleaner_headless.launch.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ def generate_launch_description():
2525

2626
# Set the path to the SDF model files.
2727
gazebo_models_path = os.path.join(pkg_share, "models")
28-
os.environ["GAZEBO_MODEL_PATH"] = (
29-
f"{os.environ.get('GAZEBO_MODEL_PATH', '')}:{':'.join(gazebo_models_path)}"
30-
)
28+
os.environ[
29+
"GAZEBO_MODEL_PATH"
30+
] = f"{os.environ.get('GAZEBO_MODEL_PATH', '')}:{':'.join(gazebo_models_path)}"
3131

3232
########### YOU DO NOT NEED TO CHANGE ANYTHING BELOW THIS LINE ##############
3333
# Launch configuration variables specific to simulation

Launchers/vacuum_cleaner_loc.launch.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ def generate_launch_description():
2525

2626
# Set the path to the SDF model files.
2727
gazebo_models_path = os.path.join(pkg_share, "models")
28-
os.environ["GAZEBO_MODEL_PATH"] = (
29-
f"{os.environ.get('GAZEBO_MODEL_PATH', '')}:{':'.join(gazebo_models_path)}"
30-
)
28+
os.environ[
29+
"GAZEBO_MODEL_PATH"
30+
] = f"{os.environ.get('GAZEBO_MODEL_PATH', '')}:{':'.join(gazebo_models_path)}"
3131

3232
########### YOU DO NOT NEED TO CHANGE ANYTHING BELOW THIS LINE ##############
3333
# Launch configuration variables specific to simulation

Launchers/vacuum_cleaner_loc_headless.launch.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ def generate_launch_description():
2929

3030
# Set the path to the SDF model files.
3131
gazebo_models_path = os.path.join(pkg_share, "models")
32-
os.environ["GAZEBO_MODEL_PATH"] = (
33-
f"{os.environ.get('GAZEBO_MODEL_PATH', '')}:{':'.join(gazebo_models_path)}"
34-
)
32+
os.environ[
33+
"GAZEBO_MODEL_PATH"
34+
] = f"{os.environ.get('GAZEBO_MODEL_PATH', '')}:{':'.join(gazebo_models_path)}"
3535

3636
########### YOU DO NOT NEED TO CHANGE ANYTHING BELOW THIS LINE ##############
3737
# Launch configuration variables specific to simulation

0 commit comments

Comments
 (0)