Skip to content

Commit 512b246

Browse files
author
lth
committed
Fix: import rospkg
Add rviz view to headless demo launch
1 parent 841033f commit 512b246

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<?xml version="1.0"?>
22

33
<launch>
4-
<node pkg="frame_editor" type="editor.py" name="frame_editor"
4+
<node pkg="frame_editor" type="editor.py" name="frame_editor"
55
args="--load '$(find frame_editor)/etc/frames.yaml'"
66
output="screen"/>
7+
8+
<node pkg="rviz" type="rviz" name="rviz" args="-d $(find frame_editor)/etc/frame_editor.rviz"/>
79
</launch>

frame_editor/src/frame_editor/editor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
import rospy
1111
import rosparam
12+
import rospkg
1213

1314
from frame_editor.objects import *
1415
from frame_editor.commands import *

0 commit comments

Comments
 (0)