Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize rviz2 visualization and add default rviz configuration file. #51

Merged
merged 1 commit into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Compiled Object files
*.slo
*.lo
*.o
*.obj

# Precompiled Headers
*.gch
*.pch

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Fortran module files
*.mod
*.smod

# Compiled Static libraries
*.lai
*.la
*.a
*.lib

# Executables
*.exe
*.out
*.app

# Colcon output
build
log
install

# Visual Studio Code files
.vscode

# Eclipse project files
.cproject
.project
.pydevproject

# Python artifacts
__pycache__/
*.py[cod]
.ipynb_checkpoints

sphinx_doc/_build

# CLion artifacts
.idea
cmake-build-debug/

# doxygen docs
doc/html/
4 changes: 3 additions & 1 deletion opennav_coverage_demo/launch/coverage_demo_launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,12 @@ def generate_launch_description():
'-R', '0.0', '-P', '0.0', '-Y', '0.0'])

# start the visualization
rviz_config = os.path.join(coverage_demo_dir, 'opennav_coverage_demo.rviz')
# print("rviz_config:", rviz_config)
rviz_cmd = IncludeLaunchDescription(
PythonLaunchDescriptionSource(
os.path.join(nav2_bringup_dir, 'launch', 'rviz_launch.py')),
launch_arguments={'namespace': ''}.items())
launch_arguments={'namespace': '', 'rviz_config': rviz_config}.items())

# start navigation
bringup_cmd = IncludeLaunchDescription(
Expand Down
3 changes: 2 additions & 1 deletion opennav_coverage_demo/launch/row_coverage_demo_launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,11 @@ def generate_launch_description():
'-R', '0.0', '-P', '0.0', '-Y', '-1.5708'])

# start the visualization
rviz_config = os.path.join(coverage_demo_dir, 'opennav_coverage_demo.rviz')
rviz_cmd = IncludeLaunchDescription(
PythonLaunchDescriptionSource(
os.path.join(nav2_bringup_dir, 'launch', 'rviz_launch.py')),
launch_arguments={'namespace': ''}.items())
launch_arguments={'namespace': '', 'rviz_config': rviz_config}.items())

# start navigation
bringup_cmd = IncludeLaunchDescription(
Expand Down
Loading
Loading