{"action":"created","issue":{"url":"https://api.github.com/repos/ecmnet/MAVComm/issues/3","repository_url":"https://api.github.com/repos/ecmnet/MAVComm","labels_url":"https://api.github.com/repos/ecmnet/MAVComm/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/ecmnet/MAVComm/issues/3/comments","events_url":"https://api.github.com/repos/ecmnet/MAVComm/issues/3/events","html_url":"https://github.com/ecmnet/MAVComm/issues/3","id":161980227,"number":3,"title":"How to use","user":{"login":"tabascoz","id":10350083,"avatar_url":"https://avatars.githubusercontent.com/u/10350083?v=3","gravatar_id":"","url":"https://api.github.com/users/tabascoz","html_url":"https://github.com/tabascoz","followers_url":"https://api.github.com/users/tabascoz/followers","following_url":"https://api.github.com/users/tabascoz/following{/other_user}","gists_url":"https://api.github.com/users/tabascoz/gists{/gist_id}","starred_url":"https://api.github.com/users/tabascoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tabascoz/subscriptions","organizations_url":"https://api.github.com/users/tabascoz/orgs","repos_url":"https://api.github.com/users/tabascoz/repos","events_url":"https://api.github.com/users/tabascoz/events{/privacy}","received_events_url":"https://api.github.com/users/tabascoz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-23T17:37:56Z","updated_at":"2016-06-24T07:07:23Z","closed_at":null,"body":"Hello, \r\n\r\nI'm planning to test MAVGCL in order to analyze live  data sent from 3dr radio telemetry, however I couldn't find any information on how to use the Mavcomm. \r\n\r\nI have successfully compiled the code but it doesn't seem to bound to my 3dr radio serial port. \r\nI'm running gentoo linux. Which parameteres are expected from mavcomm.jar to be called? \r\n\r\nThanks in advance\r\n\r\npro2 dis # java -jar mavcomm.jar \r\n\r\nInitializing (msp.properties)...\r\nConfiguration file'msp.properties' not found.\r\nMSPControlService version Build tmp\r\nException in thread \"main\" java.lang.NoClassDefFoundError: com/sun/jna/ptr/ByReference\r\n\tat java.lang.ClassLoader.defineClass1(Native Method)\r\n\tat java.lang.ClassLoader.defineClass(ClassLoader.java:763)\r\n\tat java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)\r\n\tat java.net.URLClassLoader.defineClass(URLClassLoader.java:467)\r\n\tat java.net.URLClassLoader.access$100(URLClassLoader.java:73)\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:368)\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:362)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:361)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:424)\r\n\tat sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:357)\r\n\tat com.comino.mav.comm.highspeedserial.SerialAMA0.<init>(Unknown Source)\r\n\tat com.comino.mav.comm.highspeedserial.MAVHighSpeedSerialComm.<init>(Unknown Source)\r\n\tat com.comino.mav.comm.highspeedserial.MAVHighSpeedSerialComm.getInstance(Unknown Source)\r\n\tat com.comino.mav.control.impl.MAVProxyController.<init>(Unknown Source)\r\n\tat com.comino.msp.main.StartUp.<init>(Unknown Source)\r\n\tat com.comino.msp.main.StartUp.main(Unknown Source)\r\nCaused by: java.lang.ClassNotFoundException: com.sun.jna.ptr.ByReference\r\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:381)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:424)\r\n\tat sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:357)\r\n\t... 18 more\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ecmnet/MAVComm/issues/comments/228273335","html_url":"https://github.com/ecmnet/MAVComm/issues/3#issuecomment-228273335","issue_url":"https://api.github.com/repos/ecmnet/MAVComm/issues/3","id":228273335,"user":{"login":"ecmnet","id":7580193,"avatar_url":"https://avatars.githubusercontent.com/u/7580193?v=3","gravatar_id":"","url":"https://api.github.com/users/ecmnet","html_url":"https://github.com/ecmnet","followers_url":"https://api.github.com/users/ecmnet/followers","following_url":"https://api.github.com/users/ecmnet/following{/other_user}","gists_url":"https://api.github.com/users/ecmnet/gists{/gist_id}","starred_url":"https://api.github.com/users/ecmnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecmnet/subscriptions","organizations_url":"https://api.github.com/users/ecmnet/orgs","repos_url":"https://api.github.com/users/ecmnet/repos","events_url":"https://api.github.com/users/ecmnet/events{/privacy}","received_events_url":"https://api.github.com/users/ecmnet/received_events","type":"User","site_admin":false},"created_at":"2016-06-24T07:07:23Z","updated_at":"2016-06-24T07:07:23Z","body":"I am not quite sure, what you want to setup. I run MAVComm on a RPI-2 connecting to PIXHAWK by serial connection and providing data to MAVGCL via UDP. I assume you are using the 3DR Radio to establish a connection between your vehicle and your computer, right? Currently, this is not implemented in MAVGCL as this would require to connect MAVGCL directly with a serial connection. On the other hand, MAVGCL uses MAVComm internally, so minor changes in `com.comino.flight.MainApp` could do the job. Here `MAVUdpController(peerAddress,14555,14550, false);` needs to be replaced by `MAVSerialController` using an appropriate serial setup.\r\n\r\nAlthough this setup seems to be possible with some tweaks, I doubt, that this makes sense, as the data transmission rate to MAVGCL is far to low then. "}}
{"actor":{"display_login":"ecmnet"}}