-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Change default fixed frame to odom instead of map, turn off the tf visualization by default * Revert "Change default fixed frame to odom instead of map, turn off the tf visualization by default" This reverts commit 0f7b641. * Separate model-view & navigation-view into separate launch files. Start updating the rviz parameters * Update the model rviz config * Update the navigation view; add the map layer, set fixed frame to odom, set camera to top-down ortho * Add tf to the left-side menu * Remove the model parameter from the navigation viewer * Remove the Nav2 plugin from view_robot, add to view_navigation * Remove navigation-oriented plugins from view_robot * Revert to the old navigation viz setup; hide TF by default to make things less cluttered * Update github CI, issue templates * Linter fixes
- Loading branch information
1 parent
149d973
commit e718bad
Showing
7 changed files
with
1,118 additions
and
484 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,18 +3,18 @@ name: turtlebot4_desktop_ci | |
on: [push, pull_request] | ||
|
||
jobs: | ||
turtlebot4_humble_ci: | ||
name: Humble | ||
runs-on: ubuntu-22.04 | ||
turtlebot4_jazzy_ci: | ||
name: Jazzy | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: ros-tooling/[email protected] | ||
with: | ||
required-ros-distributions: humble | ||
required-ros-distributions: jazzy | ||
- uses: ros-tooling/[email protected] | ||
id: action_ros_ci_step | ||
with: | ||
target-ros2-distro: humble | ||
target-ros2-distro: jazzy | ||
import-token: ${{ secrets.GITHUB_TOKEN }} | ||
package-name: | ||
turtlebot4_viz |
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,65 @@ | ||
# Copyright 2021 Clearpath Robotics, Inc. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# @author Roni Kreinin ([email protected]) | ||
|
||
from ament_index_python.packages import get_package_share_directory | ||
|
||
from launch import LaunchDescription | ||
from launch.actions import DeclareLaunchArgument, GroupAction | ||
from launch.substitutions import LaunchConfiguration, PathJoinSubstitution | ||
|
||
from launch_ros.actions import Node, PushRosNamespace | ||
|
||
|
||
ARGUMENTS = [ | ||
DeclareLaunchArgument( | ||
'use_sim_time', | ||
default_value='false', | ||
description='Use simulation (Gazebo) clock if true'), | ||
DeclareLaunchArgument( | ||
'namespace', | ||
default_value='', | ||
description='Robot namespace' | ||
), | ||
] | ||
|
||
|
||
def generate_launch_description(): | ||
|
||
pkg_turtlebot4_viz = get_package_share_directory('turtlebot4_viz') | ||
|
||
rviz2_config = PathJoinSubstitution( | ||
[pkg_turtlebot4_viz, 'rviz', 'navigation.rviz']) | ||
|
||
namespace = LaunchConfiguration('namespace') | ||
|
||
rviz = GroupAction([ | ||
PushRosNamespace(namespace), | ||
|
||
Node(package='rviz2', | ||
executable='rviz2', | ||
name='rviz2', | ||
arguments=['-d', rviz2_config], | ||
parameters=[{'use_sim_time': LaunchConfiguration('use_sim_time')}], | ||
remappings=[ | ||
('/tf', 'tf'), | ||
('/tf_static', 'tf_static') | ||
], | ||
output='screen'), | ||
]) | ||
|
||
ld = LaunchDescription(ARGUMENTS) | ||
ld.add_action(rviz) | ||
return ld |
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
Oops, something went wrong.