{"action":"created","issue":{"url":"https://api.github.com/repos/modelica/Modelica_DeviceDrivers/issues/115","repository_url":"https://api.github.com/repos/modelica/Modelica_DeviceDrivers","labels_url":"https://api.github.com/repos/modelica/Modelica_DeviceDrivers/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/modelica/Modelica_DeviceDrivers/issues/115/comments","events_url":"https://api.github.com/repos/modelica/Modelica_DeviceDrivers/issues/115/events","html_url":"https://github.com/modelica/Modelica_DeviceDrivers/issues/115","id":152048395,"number":115,"title":"LCM support wanted?","user":{"login":"tbeu","id":5444067,"avatar_url":"https://avatars.githubusercontent.com/u/5444067?v=3","gravatar_id":"","url":"https://api.github.com/users/tbeu","html_url":"https://github.com/tbeu","followers_url":"https://api.github.com/users/tbeu/followers","following_url":"https://api.github.com/users/tbeu/following{/other_user}","gists_url":"https://api.github.com/users/tbeu/gists{/gist_id}","starred_url":"https://api.github.com/users/tbeu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbeu/subscriptions","organizations_url":"https://api.github.com/users/tbeu/orgs","repos_url":"https://api.github.com/users/tbeu/repos","events_url":"https://api.github.com/users/tbeu/events{/privacy}","received_events_url":"https://api.github.com/users/tbeu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":74,"created_at":"2016-04-30T19:41:54Z","updated_at":"2016-07-12T11:43:17Z","closed_at":null,"body":"[LCM](https://github.com/lcm-proj/lcm) is for Lightweight Communications and Marshalling. The communication is based on UDP multicast and alternatively supports logfile or memory queue for testing. The LCM protocol is used in robotics by several research institutes, see http://lcm-proj.github.io.\r\n\r\nI tested the LCM C library on Windows. The integration of LCM within Modelica, especially M_DD, would be straightforward and similar as UDP or CAN (with one additional library dependency on lib lcm that would need to be part of the M_DD distribution).\r\n\r\nThe marshalling part of LCM is not possible to use within a Modelica environment (since it is not a nominal type system). Thus the SerialPackager has to be reused for encoding/decoding of the data buffer. Endianess needs to be considered again (as is the case for UDP already).\r\n\r\n@bernhard-thiele Please comment if it's alright for you to have support of the LCM protocol in M_DD. I will provide a PR once I am ready then."},"comment":{"url":"https://api.github.com/repos/modelica/Modelica_DeviceDrivers/issues/comments/232020519","html_url":"https://github.com/modelica/Modelica_DeviceDrivers/issues/115#issuecomment-232020519","issue_url":"https://api.github.com/repos/modelica/Modelica_DeviceDrivers/issues/115","id":232020519,"user":{"login":"bernhard-thiele","id":4244614,"avatar_url":"https://avatars.githubusercontent.com/u/4244614?v=3","gravatar_id":"","url":"https://api.github.com/users/bernhard-thiele","html_url":"https://github.com/bernhard-thiele","followers_url":"https://api.github.com/users/bernhard-thiele/followers","following_url":"https://api.github.com/users/bernhard-thiele/following{/other_user}","gists_url":"https://api.github.com/users/bernhard-thiele/gists{/gist_id}","starred_url":"https://api.github.com/users/bernhard-thiele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bernhard-thiele/subscriptions","organizations_url":"https://api.github.com/users/bernhard-thiele/orgs","repos_url":"https://api.github.com/users/bernhard-thiele/repos","events_url":"https://api.github.com/users/bernhard-thiele/events{/privacy}","received_events_url":"https://api.github.com/users/bernhard-thiele/received_events","type":"User","site_admin":false},"created_at":"2016-07-12T11:43:17Z","updated_at":"2016-07-12T11:43:17Z","body":"Okay, I was experimenting with integrating the glib project into cmake.\r\n\r\nWe don't need a super tight integration into cmake, but it would be good if we managed to provide some support, e.g., downloading the external project in the correct version and printing some messages that tell the user to build the libs from the VS project. This is what I tried to achieve in 7cbf434. \r\n\r\nAn alternative would be to simply document what needs to be done, so that it can be reproduced.\r\n\r\nA more tight integration might be possible with the cmake command \"include_external_msproject\", but I haven't experimented with that.\r\n\r\nWhat are your thoughts about that?"}}
{"actor":{"display_login":"bernhard-thiele"}}