Skip to content
Snippets Groups Projects
Unverified Commit 84723183 authored by Florent Lamiraux's avatar Florent Lamiraux Committed by GitHub
Browse files

Merge pull request #133 from florent-lamiraux/devel

Parameter meshDataRootDir has been removed from several idl methods.
parents c377bcf4 c900140f
No related branches found
No related tags found
No related merge requests found
-*- outline -*- -*- outline -*-
New in 6.0.0
* parameter meshDataRootDir has been removed from idl methods addUrdf, addUrdfCollision, addUrdfObjects.
New in 5.3.0 New in 5.3.0
* Add python trivial test * Add python trivial test
* Handle CORBA Exception * Handle CORBA Exception
......
/// \page gepetto_viewer_corba_porting_notes Porting notes
///
/// \section gepetto_viewer_corba_porting_5_to_6 Porting your code from version 5 to version 6
/// \subsection gepetto_viewer_corba_porting_5_to_6_1 Modification in idl API
///
/// \subsubsection gepetto_viewer_corba_porting_5_to_6_1_1 Methods
/// gepetto::corbaserver::GraphicalInterface::addURDF,
/// gepetto::corbaserver::GraphicalInterface::addUrdfCollision, and
/// gepetto::corbaserver::GraphicalInterface::addUrdfObjects
///
/// Argument meshDataRootDir has been removed. This argument was not used
/// anymore.
...@@ -246,46 +246,31 @@ typedef sequence<Transform> TransformSeq; ...@@ -246,46 +246,31 @@ typedef sequence<Transform> TransformSeq;
/// each geometric part is prefixed by this name, /// each geometric part is prefixed by this name,
/// \param urdfFilePath to the package containing the urdf file, /// \param urdfFilePath to the package containing the urdf file,
/// i.e. "/opt/ros/hydro/share/pr2_description", /// i.e. "/opt/ros/hydro/share/pr2_description",
/// \param meshDataRootDir path to the package that contains the collada
/// files, this path should finish by "/",
/// i.e. "/opt/ros/hydro/share/"
/// \note the parser will replace "package://" by meshDataRootDir in the
/// urdf file.
/// a groupNode is created and each link will be child node of this node. /// a groupNode is created and each link will be child node of this node.
/// Links are named "prefix/linkName", linkName is the name of the link /// Links are named "prefix/linkName", linkName is the name of the link
/// in the URDF file. /// in the URDF file.
boolean addURDF (in string robotName, in string urdfFilePath, boolean addURDF (in string robotName, in string urdfFilePath)
in string meshDataRootDir) raises (Error); raises (Error);
/// Create a node from an urdf file /// Create a node from an urdf file
/// \param robotName Name of the node that will contain the robot geometry, /// \param robotName Name of the node that will contain the robot geometry,
/// each geometric part is prefixed by this name, /// each geometric part is prefixed by this name,
/// \param urdfFilePath to the package containing the urdf file, /// \param urdfFilePath to the package containing the urdf file,
/// i.e. "/opt/ros/hydro/share/pr2_description", /// i.e. "/opt/ros/hydro/share/pr2_description",
/// \param meshDataRootDir path to the package that contains the collada
/// files, this path should finish by "/",
/// i.e. "/opt/ros/hydro/share/"
/// \note the parser will replace "package://" by meshDataRootDir in the
/// urdf file.
/// a groupNode is created and each link will be child node of this node. /// a groupNode is created and each link will be child node of this node.
/// Links are named "prefix/linkName", linkName is the name of the link /// Links are named "prefix/linkName", linkName is the name of the link
/// in the URDF file. /// in the URDF file.
/// ///
/// Unlike addURDF, this method will load the collision geometry instead /// Unlike addURDF, this method will load the collision geometry instead
/// of the visual geometry. /// of the visual geometry.
boolean addUrdfCollision (in string robotName, in string urdfFilePath, boolean addUrdfCollision (in string robotName, in string urdfFilePath)
in string meshDataRootDir) raises (Error); raises (Error);
/// Create a node from an urdf file /// Create a node from an urdf file
/// \param nodeName Name of the node that will contain the objects, /// \param nodeName Name of the node that will contain the objects,
/// each object is prefixed by this name, /// each object is prefixed by this name,
/// \param urdfFilePath to the package containing the urdf file, /// \param urdfFilePath to the package containing the urdf file,
/// i.e. "/opt/ros/hydro/share/pr2_description", /// i.e. "/opt/ros/hydro/share/pr2_description",
/// \param meshDataRootDir path to the package that contains the collada
/// files, this path should finish by "/", i.e.
/// "/opt/ros/hydro/share/"
/// \note the parser will replace "package://" by meshDataRootDir in the
/// urdf file,
/// \note visual whether to load collision or visual geometry. /// \note visual whether to load collision or visual geometry.
/// a groupNode is created and each object will be child node of this node. /// a groupNode is created and each object will be child node of this node.
/// Objects are named "prefix/linkName", linkName is the name of the link /// Objects are named "prefix/linkName", linkName is the name of the link
...@@ -293,7 +278,7 @@ typedef sequence<Transform> TransformSeq; ...@@ -293,7 +278,7 @@ typedef sequence<Transform> TransformSeq;
/// corresponds to the position of objects hold by the links and not to /// corresponds to the position of objects hold by the links and not to
/// the position of objects. /// the position of objects.
void addUrdfObjects (in string nodeName, in string urdfFilePath, void addUrdfObjects (in string nodeName, in string urdfFilePath,
in string meshDataRootDir, in boolean visual) in boolean visual)
raises (Error); raises (Error);
/// create a groupNode called groupName /// create a groupNode called groupName
......
...@@ -215,11 +215,11 @@ namespace gepetto { ...@@ -215,11 +215,11 @@ namespace gepetto {
BIND_TO_WINDOWS_MANAGER_1(BOOL, createGroup, STRING) BIND_TO_WINDOWS_MANAGER_1(BOOL, createGroup, STRING)
BIND_TO_WINDOWS_MANAGER_3(BOOL, addURDF, STRING, STRING, STRING) BIND_TO_WINDOWS_MANAGER_2(BOOL, addURDF, STRING, STRING)
BIND_TO_WINDOWS_MANAGER_3(BOOL, addUrdfCollision, STRING, STRING, STRING) BIND_TO_WINDOWS_MANAGER_2(BOOL, addUrdfCollision, STRING, STRING)
BIND_TO_WINDOWS_MANAGER_4(VOID, addUrdfObjects, STRING, STRING, STRING, BOOL) BIND_TO_WINDOWS_MANAGER_3(VOID, addUrdfObjects, STRING, STRING, BOOL)
BIND_TO_WINDOWS_MANAGER_2(BOOL, addToGroup, STRING, STRING) BIND_TO_WINDOWS_MANAGER_2(BOOL, addToGroup, STRING, STRING)
......
...@@ -113,16 +113,15 @@ public: ...@@ -113,16 +113,15 @@ public:
virtual bool addNodeToRoadmap(const char* nameRoadmap, const value_type* configuration) throw(Error); virtual bool addNodeToRoadmap(const char* nameRoadmap, const value_type* configuration) throw(Error);
virtual bool addURDF(const char* urdfNameCorba, const char* urdfPathCorba, const char* urdfPackagePathCorba) throw (Error); virtual bool addURDF(const char* urdfNameCorba, const char* urdfPathCorba)
throw (Error);
virtual bool addUrdfCollision (const char* urdfNameCorba, virtual bool addUrdfCollision (const char* urdfNameCorba,
const char* urdfPathCorba, const char* urdfPathCorba)
const char* urdfPackagePathCorba)
throw (Error); throw (Error);
virtual void addUrdfObjects (const char* urdfNameCorba, virtual void addUrdfObjects (const char* urdfNameCorba,
const char* urdfPathCorba, const char* urdfPathCorba,
const char* urdfPackagePathCorba,
bool visual) bool visual)
throw (Error); throw (Error);
......
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