Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Commit

Permalink
Provide launch files for different robot configurations (2WD, 4WD, Tr…
Browse files Browse the repository at this point in the history
…acked).
  • Loading branch information
aentinger committed Mar 17, 2024
1 parent fef61cf commit 56f5fa5
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,18 @@ colcon build --packages-select t07_robot
```bash
cd $COLCON_WS
. install/setup.bash
ros2 launch t07_robot robot.py
```
* [T07W(heels)](https://github.com/107-systems/T07) (2WD tricycle configuration)
```bash
ros2 launch t07_robot t07.py
```
* [T07W(heels)](https://github.com/107-systems/T07) (4WD configuration)
```bash
ros2 launch t07_robot t07_4wd.py
```
* [T07T(racks)](https://github.com/107-systems/T07_threaded) (Tracked configuration)
```bash
ros2 launch t07_robot t07_tracked.py
```

#### Interface Documentation
Expand Down
File renamed without changes.
33 changes: 33 additions & 0 deletions launch/t07_4wd.py
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': 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},
]
)
])
33 changes: 33 additions & 0 deletions launch/t07_tracked.py
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},
]
)
])

0 comments on commit 56f5fa5

Please sign in to comment.