[Jderobot-admin] jderobot-r1058 - trunk/src/stable/interfaces/slice/jderobot
eperdices en jderobot.org
eperdices en jderobot.org
Mie Oct 16 16:08:30 CEST 2013
Author: eperdices
Date: 2013-10-16 16:08:30 +0200 (Wed, 16 Oct 2013)
New Revision: 1058
Added:
trunk/src/stable/interfaces/slice/jderobot/pose3d.ice
Log:
Added new interface to represent 3d positions and orientations
Added: trunk/src/stable/interfaces/slice/jderobot/pose3d.ice
===================================================================
--- trunk/src/stable/interfaces/slice/jderobot/pose3d.ice (rev 0)
+++ trunk/src/stable/interfaces/slice/jderobot/pose3d.ice 2013-10-16 14:08:30 UTC (rev 1058)
@@ -0,0 +1,54 @@
+/*
+ * Copyright (C) 1997-20103 JDE Developers Team
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see http://www.gnu.org/licenses/.
+ *
+ * Authors : Jose María Cañas <jmplaza en gsyc.es>
+ * Eduardo Perdices <eperdices en gsyc.es>
+ */
+
+
+#ifndef POSE3D_ICE
+#define POSE3D_ICE
+
+#include <jderobot/common.ice>
+
+module jderobot{
+ /**
+ * Pose3D data information
+ */
+ class Pose3DData
+ {
+ float x;
+ float y;
+ float z;
+ float h;
+ float q0;
+ float q1;
+ float q2;
+ float q3;
+ };
+
+ /**
+ * Interface to the Pose3D.
+ */
+ interface Pose3D
+ {
+ idempotent Pose3DData getPose3DData();
+ int setPose3DData(Pose3DData data);
+ };
+
+}; //module
+
+#endif //Pose3D_ICE
More information about the Jderobot-admin
mailing list