Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
Signed-off-by: Jatin Patil <[email protected]>
  • Loading branch information
JatinPatil2003 committed Aug 16, 2024
1 parent 0006349 commit b9fa086
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions nav2_loopback_sim/nav2_loopback_sim/loopback_simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,12 @@ def __init__(self):
self.scan_frame_id = self.get_parameter('scan_frame_id').get_parameter_value().string_value

self.declare_parameter('publish_map_odom_tf', False)
self.publish_map_odom_tf = self.get_parameter('publish_map_odom_tf').get_parameter_value().bool_value
self.publish_map_odom_tf = self.get_parameter(
'publish_map_odom_tf').get_parameter_value().bool_value

self.declare_parameter('scan_publish_rate', 10.0)
self.scan_publish_rate = self.get_parameter('scan_publish_rate').get_parameter_value().double_value
self.scan_publish_rate = self.get_parameter(
'scan_publish_rate').get_parameter_value().double_value

self.t_map_to_odom = TransformStamped()
self.t_map_to_odom.header.frame_id = self.map_frame_id
Expand Down

0 comments on commit b9fa086

Please sign in to comment.