fix: publish mkmini lidar transform for 3d slam
This commit is contained in:
@@ -49,6 +49,17 @@ def generate_launch_description():
|
|||||||
|
|
||||||
load_nodes = GroupAction(
|
load_nodes = GroupAction(
|
||||||
actions=[
|
actions=[
|
||||||
|
# ICP odometry and RTAB-Map need the physical LiDAR frame in the
|
||||||
|
# robot TF tree. Keep this in the perception module because it
|
||||||
|
# owns the real LiDAR input.
|
||||||
|
Node(
|
||||||
|
package='tf2_ros',
|
||||||
|
executable='static_transform_publisher',
|
||||||
|
name='base_link_to_os_lidar',
|
||||||
|
output='screen',
|
||||||
|
arguments=['0.1', '0.0', '0.6', '0.0', '0.0', '0.0', 'base_link', 'os_lidar'],
|
||||||
|
condition=IfCondition(PythonExpression(["'", robot, "' == 'mkmini'"])),
|
||||||
|
),
|
||||||
Node(
|
Node(
|
||||||
package='perception3d_pkg',
|
package='perception3d_pkg',
|
||||||
executable='pcd_crop',
|
executable='pcd_crop',
|
||||||
@@ -56,7 +67,7 @@ def generate_launch_description():
|
|||||||
output='screen',
|
output='screen',
|
||||||
parameters=[configured_params],
|
parameters=[configured_params],
|
||||||
remappings=remappings
|
remappings=remappings
|
||||||
)
|
),
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user