User Tools

Site Tools


software:datalogger

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
software:datalogger [2013/06/25 12:36] – [Installing the logger] bokalsoftware:datalogger [2016/05/19 09:19] (current) – external edit 127.0.0.1
Line 40: Line 40:
   rosws update ros_cl_mongo   rosws update ros_cl_mongo
   # source bashrc   # source bashrc
 +  rosmake ros_cl_mongo # may take some time
      
 +The use it from the standard emacs REPL environment as follows;
 +  rosrun roslisp_repl repl
 +  # Now load the ros-cl-mongo package and interact with the database using it
 +  
 +Further usage instructions on cl-mongo are available at [[https://github.com/fons/cl-mongo|https://github.com/fons/cl-mongo]]
 ==== Locating the Database ==== ==== Locating the Database ====
-The database is by default located in /usr/var/+The database is by default located in ''/var/lib/mongodb/'' where you are able to notice the databases named ``roslog.1`` etc. The mongo client knows about this path so starting mongo from any resonable location will still access this databases. Of course this path can be changed using the ''--dbpath'' flag on mongo to change where to read or write. In summary the database features of importance are; 
 +  * Hostname : localhost (by default) 
 +  * Port: 27017 (default) 
 +  * Locatation: ''/var/lib/mongodb/'' 
 + 
 + 
 +==== Examples of usage ==== 
 +We have compiled simple example of logging with this tool and querying the data using either lisp or python. The examples are in the links below: 
 + 
 +* [[:logging_tutlesim|Logging turtlesim data]] 
 + 
software/datalogger.1372163809.txt.gz · Last modified: 2016/05/19 09:18 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki