Skip to content

Commit 7ce3d2b

Browse files
author
Javier Hidalgo Carrio
committed
fixed some bugs which happend if you follow the tutorial as it is in the web
1 parent b896aea commit 7ce3d2b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

rock_tutorial.orogen

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,7 @@ task_context "RockTutorialControl" do
1717
# When deploying this task, use a 10ms period by default
1818
periodic(0.01)
1919
end
20+
21+
deployment "rock_tutorial" do
22+
rock_tutorial_control = task("rock_tutorial_control", "RockTutorialControl")
23+
end

scripts/rockTutorial3.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
Orocos.run 'rock_tutorial' do
2525

2626
## Connect port to vizkit plugin
27-
con = Vizkit.connect_port_to 'rock_tutorial_control', 'pose', :update_frequency => 33 do |sample, name|
27+
con = Vizkit.connect_port_to 'rock_tutorial_control', 'pose_samples', :update_frequency => 33 do |sample, name|
2828
##pass every pose sample to our visualizer plugin
29-
vizkit_rock.updatePose(sample)
29+
vizkit_rock.updateData(sample)
3030
sample
3131
end
3232

0 commit comments

Comments
 (0)