Skip to content
Snippets Groups Projects
Commit 72c0927d authored by Florent Lamiraux's avatar Florent Lamiraux Committed by Joseph Mirabel
Browse files

Fix obstacle loading in gepetto-viewer in tutorial_1.py.

parent 0ca1c887
No related branches found
No related tags found
No related merge requests found
...@@ -139,7 +139,8 @@ ...@@ -139,7 +139,8 @@
/// Define goal configuration. /// Define goal configuration.
/// ///
/// \code /// \code
/// vf.loadObstacleModel ("iai_maps", "kitchen_area", "kitchen") /// vf.loadObstacleModel ("package://iai_maps/urdf/kitchen_area.urdf", "kitchen")
/// \endcode /// \endcode
/// Load obstacles from urdf file. /// Load obstacles from urdf file.
/// \note this method loads the objects defined in the urdf file both in /// \note this method loads the objects defined in the urdf file both in
......
...@@ -24,7 +24,7 @@ q_goal [rank] = 0.5 ...@@ -24,7 +24,7 @@ q_goal [rank] = 0.5
rank = robot.rankInConfiguration ['r_elbow_flex_joint'] rank = robot.rankInConfiguration ['r_elbow_flex_joint']
q_goal [rank] = -0.5 q_goal [rank] = -0.5
vf.loadObstacleModel ("iai_maps", "kitchen_area", "kitchen") vf.loadObstacleModel ("package://iai_maps/urdf/kitchen_area.urdf", "kitchen")
ps.setInitialConfig (q_init) ps.setInitialConfig (q_init)
ps.addGoalConfig (q_goal) ps.addGoalConfig (q_goal)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment