{"id":29096300,"url":"https://github.com/graiola/rt_logger","last_synced_at":"2025-06-28T12:09:26.343Z","repository":{"id":71720383,"uuid":"206328396","full_name":"graiola/rt_logger","owner":"graiola","description":"A simple real time safe logger based on the ROS real time publishers. ","archived":false,"fork":false,"pushed_at":"2025-01-08T07:46:27.000Z","size":55,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-08T08:34:57.918Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/graiola.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-04T13:40:19.000Z","updated_at":"2025-01-08T07:46:31.000Z","dependencies_parsed_at":"2024-12-03T10:31:31.192Z","dependency_job_id":"2e248034-d7ed-4454-89e7-7688b079c859","html_url":"https://github.com/graiola/rt_logger","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/graiola/rt_logger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graiola%2Frt_logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graiola%2Frt_logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graiola%2Frt_logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graiola%2Frt_logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/graiola","download_url":"https://codeload.github.com/graiola/rt_logger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graiola%2Frt_logger/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262428156,"owners_count":23309424,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-28T12:09:23.739Z","updated_at":"2025-06-28T12:09:26.337Z","avatar_url":"https://github.com/graiola.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rt_logger\n\nA simple ROS package to log numeric data such as doubles, std vectors, Eigen matrices and vectors.\n\n## How to use\n\nInclude this header wherever you want to access the logger:\n\n`#include \u003crt_logger/rt_logger.h\u003e`\n\nAdd a real time publisher to the logger:\n\n` rt_logger::RtLogger::getLogger().addPublisher(\"/topic_name\",data_to_publish) `\n\n*\u003ch6\u003eNote: This operation is not real time safe! If you are using a real time controller from ros-control, perform this operation in the init of the controller.\u003c/h6\u003e*\n\nFinally, add this line in the main loop of your code to publish the data:\n\n` rt_logger::RtLogger::getLogger().publish(ros_time)`\n\nCheck out this [test](https://github.com/graiola/rt_logger/blob/master/test/rt_logger_test.cpp) for more examples.\n\n## Import data in Matlab or Octave\nFirst, be sure to have [scipy](https://www.scipy.org/) and [numpy](https://numpy.org/) installed:\n\n`sudo apt-get update \u0026\u0026 sudo apt-get install python-scipy python-numpy -y`\n\nCreate the publishers with rt_logger and record the topics with rosbag, see the command line [here](http://wiki.ros.org/rosbag/Commandline)\n\nUse this [script](https://github.com/graiola/rt_logger/blob/master/scripts/read_bag.py) to extract the .mat files from the bag files:\n\n` ./read_bag.py -b test.bag `\n\nThis command will create a mat file for each topic in the bag. To see the available options type:\n\n` ./read_bag.py -h `\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraiola%2Frt_logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgraiola%2Frt_logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraiola%2Frt_logger/lists"}