Skip to content

Commit

Permalink
Use single quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
adivardi committed Oct 17, 2024
1 parent 7d3d86a commit cd6ad09
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nav2_loopback_sim/nav2_loopback_sim/loopback_simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ def __init__(self):
self.publish_map_odom_tf = self.get_parameter(
'publish_map_odom_tf').get_parameter_value().bool_value

self.declare_parameter("publish_clock", True)
self.publish_clock = self.get_parameter("publish_clock").get_parameter_value().bool_value
self.declare_parameter('publish_clock', True)
self.publish_clock = self.get_parameter('publish_clock').get_parameter_value().bool_value

self.t_map_to_odom = TransformStamped()
self.t_map_to_odom.header.frame_id = self.map_frame_id
Expand Down Expand Up @@ -118,7 +118,7 @@ def __init__(self):

if self.publish_clock:
self.clock_timer = self.create_timer(0.1, self.clockTimerCallback)
self.clock_pub = self.create_publisher(Clock, "/clock", 10)
self.clock_pub = self.create_publisher(Clock, '/clock', 10)

self.setupTimer = self.create_timer(0.1, self.setupTimerCallback)

Expand Down

0 comments on commit cd6ad09

Please sign in to comment.