Skip to content

Commit 9685971

Browse files
authored
Feature: CAN Bridge Parameters (#210)
1 parent bb047e0 commit 9685971

File tree

1 file changed

+14
-0
lines changed
  • clearpath_generator_robot/clearpath_generator_robot/launch

1 file changed

+14
-0
lines changed

clearpath_generator_robot/clearpath_generator_robot/launch/generator.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,14 @@ def __init__(self, setup_path: str = '/etc/clearpath/') -> None:
314314
('namespace', self.namespace),
315315
('interface', can_bridge.interface),
316316
('from_can_bus_topic', can_bridge.topic_rx),
317+
('enable_can_fd', str(can_bridge.enaled_can_fd).lower()),
318+
('interval_sec', str(can_bridge.interval)),
319+
('use_bus_time', str(can_bridge.use_bus_time).lower()),
320+
('filters', str(can_bridge.filters)),
321+
('auto_configure', str(can_bridge.auto_configure).lower()),
322+
('auto_activate', str(can_bridge.auto_activate).lower()),
323+
('timeout', str(can_bridge.timeout)),
324+
('transition_attempts', str(can_bridge.transition_attempts)),
317325
]
318326
))
319327

@@ -325,6 +333,12 @@ def __init__(self, setup_path: str = '/etc/clearpath/') -> None:
325333
('namespace', self.namespace),
326334
('interface', can_bridge.interface),
327335
('to_can_bus_topic', can_bridge.topic_tx),
336+
('enable_can_fd', str(can_bridge.enaled_can_fd).lower()),
337+
('interval_sec', str(can_bridge.interval)),
338+
('auto_configure', str(can_bridge.auto_configure).lower()),
339+
('auto_activate', str(can_bridge.auto_activate).lower()),
340+
('timeout', str(can_bridge.timeout)),
341+
('transition_attempts', str(can_bridge.transition_attempts)),
328342
]
329343
))
330344

0 commit comments

Comments
 (0)