mirror of
https://github.com/bjoernellens1/cps_loki_bringup.git
synced 2024-11-26 01:00:54 +00:00
update
This commit is contained in:
parent
8e54dc0a6e
commit
f9edce1961
@ -29,7 +29,7 @@ def generate_launch_description():
|
|||||||
" ",
|
" ",
|
||||||
PathJoinSubstitution(
|
PathJoinSubstitution(
|
||||||
[
|
[
|
||||||
FindPackageShare("bot_mini_description"),
|
FindPackageShare("cps_loki_description"),
|
||||||
"urdf",
|
"urdf",
|
||||||
"odrive_diffbot.urdf.xacro"
|
"odrive_diffbot.urdf.xacro"
|
||||||
]
|
]
|
||||||
@ -40,7 +40,7 @@ def generate_launch_description():
|
|||||||
|
|
||||||
robot_controllers = PathJoinSubstitution(
|
robot_controllers = PathJoinSubstitution(
|
||||||
[
|
[
|
||||||
FindPackageShare("bot_mini_bringup"),
|
FindPackageShare("cps_loki_bringup"),
|
||||||
"config",
|
"config",
|
||||||
"diffbot_controllers.yaml",
|
"diffbot_controllers.yaml",
|
||||||
]
|
]
|
||||||
|
@ -29,7 +29,7 @@ def generate_launch_description():
|
|||||||
" ",
|
" ",
|
||||||
PathJoinSubstitution(
|
PathJoinSubstitution(
|
||||||
[
|
[
|
||||||
FindPackageShare("bot_mini_description"),
|
FindPackageShare("cps_loki_description"),
|
||||||
"urdf",
|
"urdf",
|
||||||
"odrive_diffbot.urdf.xacro"
|
"odrive_diffbot.urdf.xacro"
|
||||||
]
|
]
|
||||||
@ -40,7 +40,7 @@ def generate_launch_description():
|
|||||||
|
|
||||||
robot_controllers = PathJoinSubstitution(
|
robot_controllers = PathJoinSubstitution(
|
||||||
[
|
[
|
||||||
FindPackageShare("bot_mini_bringup"),
|
FindPackageShare("cps_loki_bringup"),
|
||||||
"config",
|
"config",
|
||||||
"diffbot_controllers.yaml",
|
"diffbot_controllers.yaml",
|
||||||
]
|
]
|
||||||
|
@ -28,7 +28,7 @@ from nav2_common.launch import RewrittenYaml
|
|||||||
|
|
||||||
def generate_launch_description():
|
def generate_launch_description():
|
||||||
# Get the launch directory
|
# Get the launch directory
|
||||||
bringup_dir = get_package_share_directory('bot_mini_bringup')
|
bringup_dir = get_package_share_directory('cps_loki_bringup')
|
||||||
|
|
||||||
namespace = LaunchConfiguration('namespace')
|
namespace = LaunchConfiguration('namespace')
|
||||||
use_sim_time = LaunchConfiguration('use_sim_time')
|
use_sim_time = LaunchConfiguration('use_sim_time')
|
||||||
|
@ -29,7 +29,7 @@ def generate_launch_description():
|
|||||||
" ",
|
" ",
|
||||||
PathJoinSubstitution(
|
PathJoinSubstitution(
|
||||||
[
|
[
|
||||||
FindPackageShare("bot_mini_description"),
|
FindPackageShare("cps_loki_description"),
|
||||||
"urdf",
|
"urdf",
|
||||||
"odrive_diffbot.urdf.xacro"
|
"odrive_diffbot.urdf.xacro"
|
||||||
]
|
]
|
||||||
@ -40,7 +40,7 @@ def generate_launch_description():
|
|||||||
|
|
||||||
robot_controllers = PathJoinSubstitution(
|
robot_controllers = PathJoinSubstitution(
|
||||||
[
|
[
|
||||||
FindPackageShare("bot_mini_bringup"),
|
FindPackageShare("cps_loki_bringup"),
|
||||||
"config",
|
"config",
|
||||||
"diffbot_controllers.yaml",
|
"diffbot_controllers.yaml",
|
||||||
]
|
]
|
||||||
|
@ -29,7 +29,7 @@ def generate_launch_description():
|
|||||||
" ",
|
" ",
|
||||||
PathJoinSubstitution(
|
PathJoinSubstitution(
|
||||||
[
|
[
|
||||||
FindPackageShare("bot_mini_description"),
|
FindPackageShare("cps_loki_description"),
|
||||||
"urdf",
|
"urdf",
|
||||||
"odrive_diffbot.urdf.xacro"
|
"odrive_diffbot.urdf.xacro"
|
||||||
]
|
]
|
||||||
@ -40,7 +40,7 @@ def generate_launch_description():
|
|||||||
|
|
||||||
robot_controllers = PathJoinSubstitution(
|
robot_controllers = PathJoinSubstitution(
|
||||||
[
|
[
|
||||||
FindPackageShare("bot_mini_bringup"),
|
FindPackageShare("cps_loki_bringup"),
|
||||||
"config",
|
"config",
|
||||||
"diffbot_controllers.yaml",
|
"diffbot_controllers.yaml",
|
||||||
]
|
]
|
||||||
|
@ -32,7 +32,7 @@ def generate_launch_description():
|
|||||||
" ",
|
" ",
|
||||||
PathJoinSubstitution(
|
PathJoinSubstitution(
|
||||||
[
|
[
|
||||||
FindPackageShare("bot_mini_description"),
|
FindPackageShare("cps_loki_description"),
|
||||||
"urdf",
|
"urdf",
|
||||||
"odrive_diffbot.urdf.xacro"
|
"odrive_diffbot.urdf.xacro"
|
||||||
]
|
]
|
||||||
@ -43,7 +43,7 @@ def generate_launch_description():
|
|||||||
|
|
||||||
robot_controllers = PathJoinSubstitution(
|
robot_controllers = PathJoinSubstitution(
|
||||||
[
|
[
|
||||||
FindPackageShare("bot_mini_bringup"),
|
FindPackageShare("cps_loki_bringup"),
|
||||||
"config",
|
"config",
|
||||||
"diffbot_controllers.yaml",
|
"diffbot_controllers.yaml",
|
||||||
]
|
]
|
||||||
@ -102,7 +102,7 @@ def generate_launch_description():
|
|||||||
parameters=[lidar_dir],
|
parameters=[lidar_dir],
|
||||||
)
|
)
|
||||||
|
|
||||||
twist_mux_params = os.path.join(get_package_share_directory('bot_mini_bringup'),'config','twist_mux.yaml')
|
twist_mux_params = os.path.join(get_package_share_directory('cps_loki_bringup'),'config','twist_mux.yaml')
|
||||||
twist_mux = Node(
|
twist_mux = Node(
|
||||||
package="twist_mux",
|
package="twist_mux",
|
||||||
executable="twist_mux",
|
executable="twist_mux",
|
||||||
@ -110,7 +110,7 @@ def generate_launch_description():
|
|||||||
remappings=[('/cmd_vel_out','/diffbot_base_controller/cmd_vel_unstamped')]
|
remappings=[('/cmd_vel_out','/diffbot_base_controller/cmd_vel_unstamped')]
|
||||||
)
|
)
|
||||||
|
|
||||||
joy_params = os.path.join(get_package_share_directory('bot_mini_bringup'),'config','joystick.yaml')
|
joy_params = os.path.join(get_package_share_directory('cps_loki_bringup'),'config','joystick.yaml')
|
||||||
joy_node = Node(
|
joy_node = Node(
|
||||||
package='joy',
|
package='joy',
|
||||||
executable='joy_node',
|
executable='joy_node',
|
||||||
|
@ -29,7 +29,7 @@ def generate_launch_description():
|
|||||||
" ",
|
" ",
|
||||||
PathJoinSubstitution(
|
PathJoinSubstitution(
|
||||||
[
|
[
|
||||||
FindPackageShare("bot_mini_description"),
|
FindPackageShare("cps_loki_description"),
|
||||||
"urdf",
|
"urdf",
|
||||||
"odrive_diffbot.urdf.xacro"
|
"odrive_diffbot.urdf.xacro"
|
||||||
]
|
]
|
||||||
@ -40,7 +40,7 @@ def generate_launch_description():
|
|||||||
|
|
||||||
robot_controllers = PathJoinSubstitution(
|
robot_controllers = PathJoinSubstitution(
|
||||||
[
|
[
|
||||||
FindPackageShare("bot_mini_bringup"),
|
FindPackageShare("cps_loki_bringup"),
|
||||||
"config",
|
"config",
|
||||||
"diffbot_controllers.yaml",
|
"diffbot_controllers.yaml",
|
||||||
]
|
]
|
||||||
|
@ -30,7 +30,7 @@ def generate_launch_description():
|
|||||||
" ",
|
" ",
|
||||||
PathJoinSubstitution(
|
PathJoinSubstitution(
|
||||||
[
|
[
|
||||||
FindPackageShare("bot_mini_description"),
|
FindPackageShare("cps_loki_description"),
|
||||||
"urdf",
|
"urdf",
|
||||||
"odrive_diffbot.urdf.xacro"
|
"odrive_diffbot.urdf.xacro"
|
||||||
]
|
]
|
||||||
@ -41,7 +41,7 @@ def generate_launch_description():
|
|||||||
|
|
||||||
robot_controllers = PathJoinSubstitution(
|
robot_controllers = PathJoinSubstitution(
|
||||||
[
|
[
|
||||||
FindPackageShare("bot_mini_bringup"),
|
FindPackageShare("cps_loki_bringup"),
|
||||||
"config",
|
"config",
|
||||||
"diffbot_controllers.yaml",
|
"diffbot_controllers.yaml",
|
||||||
]
|
]
|
||||||
@ -91,7 +91,7 @@ def generate_launch_description():
|
|||||||
use_sim_time = False
|
use_sim_time = False
|
||||||
slam_params_file = PathJoinSubstitution(
|
slam_params_file = PathJoinSubstitution(
|
||||||
[
|
[
|
||||||
FindPackageShare("bot_mini_bringup"),
|
FindPackageShare("cps_loki_bringup"),
|
||||||
"config",
|
"config",
|
||||||
"mapper_params_online_async.yaml"
|
"mapper_params_online_async.yaml"
|
||||||
]
|
]
|
||||||
@ -125,7 +125,7 @@ def generate_launch_description():
|
|||||||
output='screen',
|
output='screen',
|
||||||
parameters = [ PathJoinSubstitution(
|
parameters = [ PathJoinSubstitution(
|
||||||
[
|
[
|
||||||
FindPackageShare("bot_mini_bringup"),
|
FindPackageShare("cps_loki_bringup"),
|
||||||
"config",
|
"config",
|
||||||
"ekf.yaml"
|
"ekf.yaml"
|
||||||
]
|
]
|
||||||
|
@ -30,7 +30,7 @@ def generate_launch_description():
|
|||||||
" ",
|
" ",
|
||||||
PathJoinSubstitution(
|
PathJoinSubstitution(
|
||||||
[
|
[
|
||||||
FindPackageShare("bot_mini_description"),
|
FindPackageShare("cps_loki_description"),
|
||||||
"urdf",
|
"urdf",
|
||||||
"odrive_diffbot.urdf.xacro"
|
"odrive_diffbot.urdf.xacro"
|
||||||
]
|
]
|
||||||
@ -41,7 +41,7 @@ def generate_launch_description():
|
|||||||
|
|
||||||
robot_controllers = PathJoinSubstitution(
|
robot_controllers = PathJoinSubstitution(
|
||||||
[
|
[
|
||||||
FindPackageShare("bot_mini_bringup"),
|
FindPackageShare("cps_loki_bringup"),
|
||||||
"config",
|
"config",
|
||||||
"diffbot_controllers.yaml",
|
"diffbot_controllers.yaml",
|
||||||
]
|
]
|
||||||
@ -91,7 +91,7 @@ def generate_launch_description():
|
|||||||
use_sim_time = False
|
use_sim_time = False
|
||||||
slam_params_file = PathJoinSubstitution(
|
slam_params_file = PathJoinSubstitution(
|
||||||
[
|
[
|
||||||
FindPackageShare("bot_mini_bringup"),
|
FindPackageShare("cps_loki_bringup"),
|
||||||
"config",
|
"config",
|
||||||
"mapper_params_online_async.yaml"
|
"mapper_params_online_async.yaml"
|
||||||
]
|
]
|
||||||
|
@ -28,7 +28,7 @@ from nav2_common.launch import RewrittenYaml
|
|||||||
|
|
||||||
def generate_launch_description():
|
def generate_launch_description():
|
||||||
# Get the launch directory
|
# Get the launch directory
|
||||||
bringup_dir = get_package_share_directory('bot_mini_bringup')
|
bringup_dir = get_package_share_directory('cps_loki_bringup')
|
||||||
|
|
||||||
namespace = LaunchConfiguration('namespace')
|
namespace = LaunchConfiguration('namespace')
|
||||||
use_sim_time = LaunchConfiguration('use_sim_time')
|
use_sim_time = LaunchConfiguration('use_sim_time')
|
||||||
|
@ -29,7 +29,7 @@ def generate_launch_description():
|
|||||||
" ",
|
" ",
|
||||||
PathJoinSubstitution(
|
PathJoinSubstitution(
|
||||||
[
|
[
|
||||||
FindPackageShare("bot_mini_description"),
|
FindPackageShare("cps_loki_description"),
|
||||||
"urdf",
|
"urdf",
|
||||||
"odrive_diffbot.urdf.xacro"
|
"odrive_diffbot.urdf.xacro"
|
||||||
]
|
]
|
||||||
@ -40,7 +40,7 @@ def generate_launch_description():
|
|||||||
|
|
||||||
robot_controllers = PathJoinSubstitution(
|
robot_controllers = PathJoinSubstitution(
|
||||||
[
|
[
|
||||||
FindPackageShare("bot_mini_bringup"),
|
FindPackageShare("cps_loki_bringup"),
|
||||||
"config",
|
"config",
|
||||||
"diffbot_controllers.yaml",
|
"diffbot_controllers.yaml",
|
||||||
]
|
]
|
||||||
@ -99,7 +99,7 @@ def generate_launch_description():
|
|||||||
parameters=[lidar_dir],
|
parameters=[lidar_dir],
|
||||||
)
|
)
|
||||||
|
|
||||||
twist_mux_params = os.path.join(get_package_share_directory('bot_mini_bringup'),'config','twist_mux.yaml')
|
twist_mux_params = os.path.join(get_package_share_directory('cps_loki_bringup'),'config','twist_mux.yaml')
|
||||||
twist_mux = Node(
|
twist_mux = Node(
|
||||||
package="twist_mux",
|
package="twist_mux",
|
||||||
executable="twist_mux",
|
executable="twist_mux",
|
||||||
|
@ -29,7 +29,7 @@ def generate_launch_description():
|
|||||||
" ",
|
" ",
|
||||||
PathJoinSubstitution(
|
PathJoinSubstitution(
|
||||||
[
|
[
|
||||||
FindPackageShare("bot_mini_description"),
|
FindPackageShare("cps_loki_description"),
|
||||||
"urdf",
|
"urdf",
|
||||||
"odrive_diffbot.urdf.xacro"
|
"odrive_diffbot.urdf.xacro"
|
||||||
]
|
]
|
||||||
|
@ -32,7 +32,7 @@ def generate_launch_description():
|
|||||||
" ",
|
" ",
|
||||||
PathJoinSubstitution(
|
PathJoinSubstitution(
|
||||||
[
|
[
|
||||||
FindPackageShare("bot_mini_description"),
|
FindPackageShare("cps_loki_description"),
|
||||||
"urdf",
|
"urdf",
|
||||||
"odrive_diffbot.urdf.xacro"
|
"odrive_diffbot.urdf.xacro"
|
||||||
]
|
]
|
||||||
@ -43,7 +43,7 @@ def generate_launch_description():
|
|||||||
|
|
||||||
robot_controllers = PathJoinSubstitution(
|
robot_controllers = PathJoinSubstitution(
|
||||||
[
|
[
|
||||||
FindPackageShare("bot_mini_bringup"),
|
FindPackageShare("cps_loki_bringup"),
|
||||||
"config",
|
"config",
|
||||||
"diffbot_controllers.yaml",
|
"diffbot_controllers.yaml",
|
||||||
]
|
]
|
||||||
@ -88,7 +88,7 @@ def generate_launch_description():
|
|||||||
|
|
||||||
joystick_launch = IncludeLaunchDescription(
|
joystick_launch = IncludeLaunchDescription(
|
||||||
PythonLaunchDescriptionSource([os.path.join(
|
PythonLaunchDescriptionSource([os.path.join(
|
||||||
get_package_share_directory('bot_mini_bringup'),'joy_teleop.launch.py'
|
get_package_share_directory('cps_loki_bringup'),'joy_teleop.launch.py'
|
||||||
)]), launch_arguments={'use_sim_time': 'true'}.items()
|
)]), launch_arguments={'use_sim_time': 'true'}.items()
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -108,7 +108,7 @@ def generate_launch_description():
|
|||||||
parameters=[lidar_dir],
|
parameters=[lidar_dir],
|
||||||
)
|
)
|
||||||
|
|
||||||
twist_mux_params = os.path.join(get_package_share_directory('bot_mini_bringup'),'config','twist_mux.yaml')
|
twist_mux_params = os.path.join(get_package_share_directory('cps_loki_bringup'),'config','twist_mux.yaml')
|
||||||
twist_mux = Node(
|
twist_mux = Node(
|
||||||
package="twist_mux",
|
package="twist_mux",
|
||||||
executable="twist_mux",
|
executable="twist_mux",
|
||||||
@ -116,7 +116,7 @@ def generate_launch_description():
|
|||||||
remappings=[('/cmd_vel_out','/diffbot_base_controller/cmd_vel_unstamped')]
|
remappings=[('/cmd_vel_out','/diffbot_base_controller/cmd_vel_unstamped')]
|
||||||
)
|
)
|
||||||
|
|
||||||
gazebo_params_file = os.path.join(get_package_share_directory('bot_mini_bringup'),'config','gazebo_params.yaml')
|
gazebo_params_file = os.path.join(get_package_share_directory('cps_loki_bringup'),'config','gazebo_params.yaml')
|
||||||
# Include the Gazebo launch file, provided by the gazebo_ros package
|
# Include the Gazebo launch file, provided by the gazebo_ros package
|
||||||
gazebo = IncludeLaunchDescription(
|
gazebo = IncludeLaunchDescription(
|
||||||
PythonLaunchDescriptionSource([os.path.join(
|
PythonLaunchDescriptionSource([os.path.join(
|
||||||
|
@ -48,7 +48,7 @@ def generate_launch_description():
|
|||||||
|
|
||||||
rviz_config_file = PathJoinSubstitution(
|
rviz_config_file = PathJoinSubstitution(
|
||||||
[
|
[
|
||||||
FindPackageShare("bot_mini_bringup"),
|
FindPackageShare("cps_loki_bringup"),
|
||||||
"config",
|
"config",
|
||||||
"bot_mini.rviz"
|
"bot_mini.rviz"
|
||||||
]
|
]
|
||||||
@ -87,7 +87,7 @@ def generate_launch_description():
|
|||||||
arguments=["-d", rviz_config_file],
|
arguments=["-d", rviz_config_file],
|
||||||
)
|
)
|
||||||
|
|
||||||
package_name='bot_mini_bringup'
|
package_name='cps_loki_bringup'
|
||||||
gazebo_params_file = os.path.join(get_package_share_directory(package_name),'config','gazebo_params.yaml')
|
gazebo_params_file = os.path.join(get_package_share_directory(package_name),'config','gazebo_params.yaml')
|
||||||
|
|
||||||
# Include the Gazebo launch file, provided by the gazebo_ros package
|
# Include the Gazebo launch file, provided by the gazebo_ros package
|
||||||
|
Loading…
Reference in New Issue
Block a user