This repository has been archived by the owner on Sep 23, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from 107-systems/t07-all-config
Provide launch files for different robot configurations (2WD, 4WD, Tracked).
- Loading branch information
Showing
5 changed files
with
118 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
from launch import LaunchDescription | ||
from launch_ros.actions import Node | ||
|
||
def generate_launch_description(): | ||
return LaunchDescription([ | ||
Node( | ||
package='t07_robot', | ||
executable='t07_robot_node', | ||
name='t07_robot', | ||
namespace='t07', | ||
output='screen', | ||
emulate_tty=True, | ||
parameters=[ | ||
{'can_iface' : 'can0'}, | ||
{'can_node_id' : 100}, | ||
{'crc07_can_node_id' : [10, 20]}, | ||
{'motor_left_topic': '/motor/left/target'}, | ||
{'motor_left_topic_deadline_ms': 200}, | ||
{'motor_left_topic_liveliness_lease_duration': 1000}, | ||
{'motor_left_rpm_port_id': 1000}, | ||
{'motor_right_topic': '/motor/right/target'}, | ||
{'motor_right_topic_deadline_ms': 200}, | ||
{'motor_right_topic_liveliness_lease_duration': 1000}, | ||
{'motor_right_rpm_port_id': 1001}, | ||
{'wheel_left_diameter_mm': 154.0}, | ||
{'wheel_right_diameter_mm': 154.0}, | ||
{'estop_topic': '/estop/actual'}, | ||
{'estop_topic_deadline_ms': 100}, | ||
{'estop_topic_liveliness_lease_duration': 1000}, | ||
{'estop_port_id': 100}, | ||
] | ||
) | ||
]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
from launch import LaunchDescription | ||
from launch_ros.actions import Node | ||
|
||
def generate_launch_description(): | ||
return LaunchDescription([ | ||
Node( | ||
package='t07_robot', | ||
executable='t07_robot_node', | ||
name='t07_robot', | ||
namespace='t07', | ||
output='screen', | ||
emulate_tty=True, | ||
parameters=[ | ||
{'can_iface' : 'can0'}, | ||
{'can_node_id' : 100}, | ||
{'crc07_can_node_id' : [10]}, | ||
{'motor_left_topic': '/motor/left/target'}, | ||
{'motor_left_topic_deadline_ms': 200}, | ||
{'motor_left_topic_liveliness_lease_duration': 1000}, | ||
{'motor_left_rpm_port_id': 1000}, | ||
{'motor_right_topic': '/motor/right/target'}, | ||
{'motor_right_topic_deadline_ms': 200}, | ||
{'motor_right_topic_liveliness_lease_duration': 1000}, | ||
{'motor_right_rpm_port_id': 1001}, | ||
{'wheel_left_diameter_mm': 70.0}, | ||
{'wheel_right_diameter_mm': 70.0}, | ||
{'estop_topic': '/estop/actual'}, | ||
{'estop_topic_deadline_ms': 100}, | ||
{'estop_topic_liveliness_lease_duration': 1000}, | ||
{'estop_port_id': 100}, | ||
] | ||
) | ||
]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters