-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Louise Poubel <[email protected]>
- Loading branch information
Showing
7 changed files
with
26 additions
and
19 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
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 |
---|---|---|
|
@@ -27,6 +27,13 @@ | |
|
||
def generate_test_description(): | ||
|
||
# Test fixture | ||
gazebo_test_fixture = Node( | ||
package='dolly_tests', | ||
executable='follow_ignition_TEST', | ||
output='screen' | ||
) | ||
|
||
# Spawn dolly | ||
pkg_dolly_ignition = get_package_share_directory('dolly_ignition') | ||
spawn = Node(package='ros_ign_gazebo', executable='create', | ||
|
@@ -37,6 +44,15 @@ def generate_test_description(): | |
'model.sdf')], | ||
output='screen') | ||
|
||
# Bridge | ||
bridge = Node( | ||
package='ros_ign_bridge', | ||
executable='parameter_bridge', | ||
arguments=['/dolly/cmd_vel@geometry_msgs/msg/[email protected]', | ||
'/dolly/laser_scan@sensor_msgs/msg/[email protected]'], | ||
output='screen' | ||
) | ||
|
||
# Follow node | ||
follow = Node( | ||
package='dolly_follow', | ||
|
@@ -48,22 +64,6 @@ def generate_test_description(): | |
] | ||
) | ||
|
||
# Bridge | ||
bridge = Node( | ||
package='ros_ign_bridge', | ||
executable='parameter_bridge', | ||
arguments=['/dolly/cmd_vel@geometry_msgs/msg/[email protected]', | ||
'/dolly/laser_scan@sensor_msgs/msg/[email protected]', | ||
'/dolly/odometry@nav_msgs/msg/[email protected]'], | ||
output='screen' | ||
) | ||
|
||
# Test | ||
gazebo_test_fixture = Node( | ||
package='dolly_tests', | ||
executable='follow_ignition_TEST', | ||
output='screen' | ||
) | ||
|
||
return launch.LaunchDescription([ | ||
gazebo_test_fixture, | ||
|
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