{"id":363,"date":"2021-03-03T19:51:49","date_gmt":"2021-03-03T19:51:49","guid":{"rendered":"http:\/\/mrsdprojects.ri.cmu.edu\/2021teama\/?page_id=363"},"modified":"2021-10-04T23:10:54","modified_gmt":"2021-10-04T23:10:54","slug":"disinfection-logging","status":"publish","type":"page","link":"https:\/\/mrsdprojects.ri.cmu.edu\/2021teama\/disinfection-logging\/","title":{"rendered":"Disinfection Logging"},"content":{"rendered":"\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"512\" height=\"296\" src=\"https:\/\/mrsdprojects.ri.cmu.edu\/2021teama\/wp-content\/uploads\/sites\/50\/2021\/10\/logging_design.png\" alt=\"\" class=\"wp-image-853\" srcset=\"https:\/\/mrsdprojects.ri.cmu.edu\/2021teama\/wp-content\/uploads\/sites\/50\/2021\/10\/logging_design.png 512w, https:\/\/mrsdprojects.ri.cmu.edu\/2021teama\/wp-content\/uploads\/sites\/50\/2021\/10\/logging_design-300x173.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><figcaption>Overview of Logging Node and Log Viewing Script Design<\/figcaption><\/figure><\/div>\n\n\n\n<p>The logging system consists of a ROS node and a python script. The ROS node listens to several topics, and uses those to figure out when it should save data of a disinfection event. The data saved consists of an image of the hotspot, the position the robot was in when it disinfected it, and a time stamp corresponding to when that hotspot was disinfected. This information is stored in a Comma-separated values (CSV) file, where each row corresponds to a disinfection event. The images are saved alongside this CSV, in a folder that is named using the time stamp of when the logging node was launched.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>The log viewer script reads in this CSV and all of the images, and plots buttons &#8211; one for each hotspot that was disinfected &#8211; on one half of the screen. The buttons are spaced out relative to each other as the hotspots they represent were spread out in the real world. Clicking on a button displays the image associated with that hotspot, as well as the data that corresponds with it. A simple demonstration of the first revision of this script can be seen below:<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"1050\" style=\"aspect-ratio: 1920 \/ 1050;\" width=\"1920\" controls src=\"https:\/\/mrsdprojects.ri.cmu.edu\/2021teama\/wp-content\/uploads\/sites\/50\/2021\/10\/logViewer_MVP.mp4\"><\/video><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>The logging system consists of a ROS node and a python script. The ROS node listens to several topics, and uses those to figure out when it should save data of a disinfection event. The data saved consists of an image of the hotspot, the position the robot was in when it disinfected it, and&hellip;&nbsp;<a href=\"https:\/\/mrsdprojects.ri.cmu.edu\/2021teama\/disinfection-logging\/\" rel=\"bookmark\"><span class=\"screen-reader-text\">Disinfection Logging<\/span><\/a><\/p>\n","protected":false},"author":230,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"template-fullwidth.php","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","footnotes":""},"class_list":["post-363","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2021teama\/wp-json\/wp\/v2\/pages\/363","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2021teama\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2021teama\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2021teama\/wp-json\/wp\/v2\/users\/230"}],"replies":[{"embeddable":true,"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2021teama\/wp-json\/wp\/v2\/comments?post=363"}],"version-history":[{"count":6,"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2021teama\/wp-json\/wp\/v2\/pages\/363\/revisions"}],"predecessor-version":[{"id":854,"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2021teama\/wp-json\/wp\/v2\/pages\/363\/revisions\/854"}],"wp:attachment":[{"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2021teama\/wp-json\/wp\/v2\/media?parent=363"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}