From: <pmi...@us...> - 2009-07-15 07:03:04
|
Revision: 18839 http://personalrobots.svn.sourceforge.net/personalrobots/?rev=18839&view=rev Author: pmihelich Date: 2009-07-15 07:02:56 +0000 (Wed, 15 Jul 2009) Log Message: ----------- lifelong_mapping: Added messages and services for ROS interface to database. Modified Paths: -------------- pkg/trunk/sandbox/lifelong_mapping/CMakeLists.txt pkg/trunk/sandbox/lifelong_mapping/include/lifelong_mapping/database.h Added Paths: ----------- pkg/trunk/sandbox/lifelong_mapping/msg/ pkg/trunk/sandbox/lifelong_mapping/msg/RawMessage.msg pkg/trunk/sandbox/lifelong_mapping/msg/TopicHistory.msg pkg/trunk/sandbox/lifelong_mapping/msg/TopicInfo.msg pkg/trunk/sandbox/lifelong_mapping/srv/ pkg/trunk/sandbox/lifelong_mapping/srv/Query.srv Modified: pkg/trunk/sandbox/lifelong_mapping/CMakeLists.txt =================================================================== --- pkg/trunk/sandbox/lifelong_mapping/CMakeLists.txt 2009-07-15 07:02:33 UTC (rev 18838) +++ pkg/trunk/sandbox/lifelong_mapping/CMakeLists.txt 2009-07-15 07:02:56 UTC (rev 18839) @@ -16,10 +16,8 @@ #set the default path for built libraries to the "lib" directory set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib) -#uncomment if you have defined messages -#genmsg() -#uncomment if you have defined services -#gensrv() +genmsg() +gensrv() rospack_add_library(${PROJECT_NAME} src/database.cpp) target_link_libraries(${PROJECT_NAME} db_cxx) Modified: pkg/trunk/sandbox/lifelong_mapping/include/lifelong_mapping/database.h =================================================================== --- pkg/trunk/sandbox/lifelong_mapping/include/lifelong_mapping/database.h 2009-07-15 07:02:33 UTC (rev 18838) +++ pkg/trunk/sandbox/lifelong_mapping/include/lifelong_mapping/database.h 2009-07-15 07:02:56 UTC (rev 18839) @@ -21,6 +21,8 @@ uint32_t nextId(); bool get(ros::Message& msg, uint32_t item_id, std::string& topic, uint32_t& node_id); + + // query private: typedef boost::scoped_ptr<Db> DbPtr; Added: pkg/trunk/sandbox/lifelong_mapping/msg/RawMessage.msg =================================================================== --- pkg/trunk/sandbox/lifelong_mapping/msg/RawMessage.msg (rev 0) +++ pkg/trunk/sandbox/lifelong_mapping/msg/RawMessage.msg 2009-07-15 07:02:56 UTC (rev 18839) @@ -0,0 +1 @@ +byte[] serialized_data Added: pkg/trunk/sandbox/lifelong_mapping/msg/TopicHistory.msg =================================================================== --- pkg/trunk/sandbox/lifelong_mapping/msg/TopicHistory.msg (rev 0) +++ pkg/trunk/sandbox/lifelong_mapping/msg/TopicHistory.msg 2009-07-15 07:02:56 UTC (rev 18839) @@ -0,0 +1,2 @@ +lifelong_mapping/TopicInfo info +lifelong_mapping/RawMessage[] messages Added: pkg/trunk/sandbox/lifelong_mapping/msg/TopicInfo.msg =================================================================== --- pkg/trunk/sandbox/lifelong_mapping/msg/TopicInfo.msg (rev 0) +++ pkg/trunk/sandbox/lifelong_mapping/msg/TopicInfo.msg 2009-07-15 07:02:56 UTC (rev 18839) @@ -0,0 +1,3 @@ +string name +string data_type +string md5 Added: pkg/trunk/sandbox/lifelong_mapping/srv/Query.srv =================================================================== --- pkg/trunk/sandbox/lifelong_mapping/srv/Query.srv (rev 0) +++ pkg/trunk/sandbox/lifelong_mapping/srv/Query.srv 2009-07-15 07:02:56 UTC (rev 18839) @@ -0,0 +1,4 @@ +lifelong_mapping/TopicInfo[] topics +uint32[] node_ids +--- +lifelong_mapping/TopicHistory[] matches This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |