<div dir="ltr">Hi Jorge,<div><br></div><div>can I see your implementation of CMDVel interface? while, if you want you can see the ardrone_server CMDVel implementation [1] and [2] (see setCMDVel() method)</div><div><br></div><div>regards</div><div><br></div><div>[1]: <a href="https://github.com/RoboticsURJC/JdeRobot/blob/master/src/stable/drivers/ardrone_server/src/interfaces/cmdveli.cpp">https://github.com/RoboticsURJC/JdeRobot/blob/master/src/stable/drivers/ardrone_server/src/interfaces/cmdveli.cpp</a></div><div>[2]: <a href="https://github.com/RoboticsURJC/JdeRobot/blob/master/src/stable/drivers/ardrone_server/src/teleop_twist.cpp">https://github.com/RoboticsURJC/JdeRobot/blob/master/src/stable/drivers/ardrone_server/src/teleop_twist.cpp</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jun 4, 2016 at 5:10 PM, AeroCano . <span dir="ltr">&lt;<a href="mailto:jorge.cano.mart@gmail.com" target="_blank">jorge.cano.mart@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi,<br><br></div>I am trying to connect MAVlinkServer (a server i have create to connect a real drone, written in python) with Uav-viewer using Pose3D and CMDVel interfaces through ICE, I launch Pose3D and CMDVel connections in different threats in my server. I run it and the connection is ok: i can see Pose3D changing and my camera and all the stuff, but when I push any command button of the Uav-viewer the program crashes:<br><br><span style="color:rgb(68,68,68)"><i>Up pressed <br>Qt has caught an exception thrown from an event handler. Throwing<br>exceptions from an event handler is not supported in Qt. You must<br>reimplement QApplication::notify() and catch all exceptions there.<br><br>terminate called after throwing an instance of &#39;Ice::UnknownLocalException&#39;<br>  what():  Outgoing.cpp:499: Ice::UnknownLocalException:<br>unknown local exception:<br>Operation.cpp:3446: Ice::MarshalException:<br>protocol error: error during marshaling or unmarshaling<br></i></span></div><div><span style="color:rgb(68,68,68)"><i>Abortado (`core&#39; generado)</i></span><br></div><div><br><br></div><div>And MAVlinkServer prints this other error:<br><br><span style="color:rgb(68,68,68)"><i>-! 06/04/16 16:44:00.045 warning: dispatch exception: Operation.cpp:3446: Ice::MarshalException:<br>   protocol error: error during marshaling or unmarshaling<br>   identity: CMDVel<br>   facet: <br>   operation: setCMDVelData<br>   remote host: ::ffff:127.0.0.1 remote port: 58970</i></span><br></div><div><br></div>I inherit CMDVel from jderobot library and i do not redefine any function.<br> I do not know how to handle this error, can someone help me? <br><br></div>Thank you in advance,<br></div>Jorge Cano.<br></div>
<br>_______________________________________________<br>
Jde-developers mailing list<br>
<a href="mailto:Jde-developers@gsyc.es">Jde-developers@gsyc.es</a><br>
<a href="http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers" rel="noreferrer" target="_blank">http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers</a><br>
<br></blockquote></div><br></div>