{"action":"closed","issue":{"url":"https://api.github.com/repos/PX4/Firmware/issues/8224","repository_url":"https://api.github.com/repos/PX4/Firmware","labels_url":"https://api.github.com/repos/PX4/Firmware/issues/8224/labels{/name}","comments_url":"https://api.github.com/repos/PX4/Firmware/issues/8224/comments","events_url":"https://api.github.com/repos/PX4/Firmware/issues/8224/events","html_url":"https://github.com/PX4/Firmware/issues/8224","id":270223504,"number":8224,"title":"Logging custom topics in SITL with gazebo","user":{"login":"ningyuanz","id":29432689,"avatar_url":"https://avatars2.githubusercontent.com/u/29432689?v=4","gravatar_id":"","url":"https://api.github.com/users/ningyuanz","html_url":"https://github.com/ningyuanz","followers_url":"https://api.github.com/users/ningyuanz/followers","following_url":"https://api.github.com/users/ningyuanz/following{/other_user}","gists_url":"https://api.github.com/users/ningyuanz/gists{/gist_id}","starred_url":"https://api.github.com/users/ningyuanz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ningyuanz/subscriptions","organizations_url":"https://api.github.com/users/ningyuanz/orgs","repos_url":"https://api.github.com/users/ningyuanz/repos","events_url":"https://api.github.com/users/ningyuanz/events{/privacy}","received_events_url":"https://api.github.com/users/ningyuanz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-11-01T07:43:18Z","updated_at":"2017-11-04T01:25:00Z","closed_at":"2017-11-04T01:25:00Z","author_association":"NONE","body":"Hello,\r\n\r\nI have been trying to log a custom topic in simulation using gazebo. I have successfully logged the topic in real flights with the pixhawk hardware by changing the code of sdlog2. However, it looks like the SITL is using the new logger to generate ulog files and I failed to log the data I want. Below are the things I tried:\r\n\r\n1. Setting SYS_LOGGER to 0 to use the old logger. However I could not find the parameter in QGC and where to change the parameter in source codes.\r\n\r\n2. Stop logger when the simulation is running through the shell and the start sdlog2 manually. But the log file I got from QGC is still in the format of .ulg and it is somehow broken that I cannot use ulog2csv to decode it.\r\n\r\n3. Tried to change the source codes of 'logger' but could not figure out how it works.\r\n\r\nCould anyone give me some suggestions? Anything will be appreciated."}}
{"actor":{"display_login":"ningyuanz"}}