[Jderobot-admin] jderobot-r903 - trunk/src/libs/progeo

frivas en jderobot.org frivas en jderobot.org
Mar Abr 16 12:49:29 CEST 2013


Author: frivas
Date: 2013-04-16 12:48:28 +0200 (Tue, 16 Apr 2013)
New Revision: 903

Modified:
   trunk/src/libs/progeo/progeo.c
Log:
modificado el parser de xml de progeo


Modified: trunk/src/libs/progeo/progeo.c
===================================================================
--- trunk/src/libs/progeo/progeo.c	2013-04-16 09:49:08 UTC (rev 902)
+++ trunk/src/libs/progeo/progeo.c	2013-04-16 10:48:28 UTC (rev 903)
@@ -429,14 +429,14 @@
 	xmlNewChild(node_rt_matrix, NULL, BAD_CAST "rt33", BAD_CAST vOut);
 	sprintf(vOut, "%f", camera.rt34);
 	xmlNewChild(node_rt_matrix, NULL, BAD_CAST "rt34", BAD_CAST vOut);
-	sprintf(vOut, "%f", camera.rt31);
-	xmlNewChild(node_rt_matrix, NULL, BAD_CAST "rt31", BAD_CAST vOut);
-	sprintf(vOut, "%f", camera.rt32);
-	xmlNewChild(node_rt_matrix, NULL, BAD_CAST "rt32", BAD_CAST vOut);
-	sprintf(vOut, "%f", camera.rt33);
-	xmlNewChild(node_rt_matrix, NULL, BAD_CAST "rt33", BAD_CAST vOut);
-	sprintf(vOut, "%f", camera.rt34);
-	xmlNewChild(node_rt_matrix, NULL, BAD_CAST "rt34", BAD_CAST vOut);
+	sprintf(vOut, "%f", camera.rt41);
+	xmlNewChild(node_rt_matrix, NULL, BAD_CAST "rt41", BAD_CAST vOut);
+	sprintf(vOut, "%f", camera.rt42);
+	xmlNewChild(node_rt_matrix, NULL, BAD_CAST "rt42", BAD_CAST vOut);
+	sprintf(vOut, "%f", camera.rt43);
+	xmlNewChild(node_rt_matrix, NULL, BAD_CAST "rt43", BAD_CAST vOut);
+	sprintf(vOut, "%f", camera.rt44);
+	xmlNewChild(node_rt_matrix, NULL, BAD_CAST "rt44", BAD_CAST vOut);
 
 	xmlSaveFormatFileEnc(filename, doc, "UTF-8", 1);
 



More information about the Jderobot-admin mailing list