{"action":"created","issue":{"url":"https://api.github.com/repos/paparazzi/paparazzi/issues/1392","labels_url":"https://api.github.com/repos/paparazzi/paparazzi/issues/1392/labels{/name}","comments_url":"https://api.github.com/repos/paparazzi/paparazzi/issues/1392/comments","events_url":"https://api.github.com/repos/paparazzi/paparazzi/issues/1392/events","html_url":"https://github.com/paparazzi/paparazzi/pull/1392","id":113583745,"number":1392,"title":"[sd logger] Version 2.0 release, direct SPI logging, UART download","user":{"login":"bartslinger","id":8672355,"avatar_url":"https://avatars.githubusercontent.com/u/8672355?v=3","gravatar_id":"","url":"https://api.github.com/users/bartslinger","html_url":"https://github.com/bartslinger","followers_url":"https://api.github.com/users/bartslinger/followers","following_url":"https://api.github.com/users/bartslinger/following{/other_user}","gists_url":"https://api.github.com/users/bartslinger/gists{/gist_id}","starred_url":"https://api.github.com/users/bartslinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartslinger/subscriptions","organizations_url":"https://api.github.com/users/bartslinger/orgs","repos_url":"https://api.github.com/users/bartslinger/repos","events_url":"https://api.github.com/users/bartslinger/events{/privacy}","received_events_url":"https://api.github.com/users/bartslinger/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/paparazzi/paparazzi/labels/Airborne","name":"Airborne","color":"37b6d6"},{"url":"https://api.github.com/repos/paparazzi/paparazzi/labels/Enhancement","name":"Enhancement","color":"FF5C33"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/paparazzi/paparazzi/milestones/9","html_url":"https://github.com/paparazzi/paparazzi/milestones/v5.8","labels_url":"https://api.github.com/repos/paparazzi/paparazzi/milestones/9/labels","id":851129,"number":9,"title":"v5.8","description":"Latest version of v5 series!\r\n\r\n- Focus is on robustness, not massive amount of new features. \r\n- Lots of test on all supported platforms. \r\n- Fixes and more fixes.\r\n- Cleanup","creator":{"login":"OpenUAS","id":483944,"avatar_url":"https://avatars.githubusercontent.com/u/483944?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenUAS","html_url":"https://github.com/OpenUAS","followers_url":"https://api.github.com/users/OpenUAS/followers","following_url":"https://api.github.com/users/OpenUAS/following{/other_user}","gists_url":"https://api.github.com/users/OpenUAS/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenUAS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenUAS/subscriptions","organizations_url":"https://api.github.com/users/OpenUAS/orgs","repos_url":"https://api.github.com/users/OpenUAS/repos","events_url":"https://api.github.com/users/OpenUAS/events{/privacy}","received_events_url":"https://api.github.com/users/OpenUAS/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":28,"state":"open","created_at":"2014-11-03T12:53:44Z","updated_at":"2015-11-13T14:12:07Z","due_on":"2015-11-30T23:00:00Z","closed_at":null},"comments":54,"created_at":"2015-10-27T13:31:08Z","updated_at":"2015-11-14T13:42:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/paparazzi/paparazzi/pulls/1392","html_url":"https://github.com/paparazzi/paparazzi/pull/1392","diff_url":"https://github.com/paparazzi/paparazzi/pull/1392.diff","patch_url":"https://github.com/paparazzi/paparazzi/pull/1392.patch"},"body":"This module provides a tool for high-speed logging where weight- and size-limitations play part.\r\nIt only requires a micro-SD card which is soldered directly to the SPI-bus, for example on a lisa/s.\r\n\r\nThe logger is activated by flipping a switch on the transmitter. Up to 42 logs can be recorded during one session (battery kept connected). The data remains on the card when the battery is disconnected, so that you can replace the battery before downloading data to the computer. Previous logs will be overwritten as soon as the first log is initiated after boot.\r\n\r\nThe messages to be logged can be selected in the telemetry config file, under the Logger process. Next to that, it is possible to call pprz_msg_send_xxx from anywhere in the code, using a reference to the sdlogger. \r\n\r\nTelemetry config example:\r\n```\r\n<process name=\"Logger\">\r\n  <mode name=\"default\">\r\n    <message name=\"ROTORCRAFT_STATUS\"      period=\"1.2\"/>\r\n    <message name=\"DL_VALUE\"               period=\"0.5\"/>\r\n    <message name=\"ALIVE\"                  period=\"2.1\"/>\r\n    <message name=\"IMU_GYRO_SCALED\"        period=\".002\"/>\r\n    <message name=\"IMU_ACCEL_SCALED\"       period=\".002\"/>\r\n    <message name=\"IMU_MAG_SCALED\"         period=\".1\"/>\r\n  </mode>\r\n</process>\r\n```\r\n\r\nA tool is provided to download the data at high speed over UART:\r\n![screenshot from 2015-10-27 14 27 42](https://cloud.githubusercontent.com/assets/8672355/10759307/eb0115fc-7cb6-11e5-8cd9-5c8f18a2d79b.png)\r\n![screenshot from 2015-10-27 14 27 51](https://cloud.githubusercontent.com/assets/8672355/10759308/ecfdcc38-7cb6-11e5-822c-0d6277cfcc78.png)\r\n\r\nLimitations: For now, it can only be used with uart downlink. This is perfect for lisa/s where UART pins are broken out."},"comment":{"url":"https://api.github.com/repos/paparazzi/paparazzi/issues/comments/156697586","html_url":"https://github.com/paparazzi/paparazzi/pull/1392#issuecomment-156697586","issue_url":"https://api.github.com/repos/paparazzi/paparazzi/issues/1392","id":156697586,"user":{"login":"flixr","id":104257,"avatar_url":"https://avatars.githubusercontent.com/u/104257?v=3","gravatar_id":"","url":"https://api.github.com/users/flixr","html_url":"https://github.com/flixr","followers_url":"https://api.github.com/users/flixr/followers","following_url":"https://api.github.com/users/flixr/following{/other_user}","gists_url":"https://api.github.com/users/flixr/gists{/gist_id}","starred_url":"https://api.github.com/users/flixr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flixr/subscriptions","organizations_url":"https://api.github.com/users/flixr/orgs","repos_url":"https://api.github.com/users/flixr/repos","events_url":"https://api.github.com/users/flixr/events{/privacy}","received_events_url":"https://api.github.com/users/flixr/received_events","type":"User","site_admin":false},"created_at":"2015-11-14T13:42:45Z","updated_at":"2015-11-14T13:42:45Z","body":"Would be nice if this wouldn't depend on the radio control subsystem and make this optional (and protected with `#ifdef RADIO_CONTROL`).\r\nSo it would be nice to actually use the start and stop functions of the module, then you could also control the logging without RC from the GCS or the flight plan...\r\n"}}