[JdeRobot] Uav-viewer CMDVel

Alberto Martin almartinflorido at gmail.com
Sat Jun 4 17:57:31 CEST 2016


Hi Jorge,

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)

regards

[1]:
https://github.com/RoboticsURJC/JdeRobot/blob/master/src/stable/drivers/ardrone_server/src/interfaces/cmdveli.cpp
[2]:
https://github.com/RoboticsURJC/JdeRobot/blob/master/src/stable/drivers/ardrone_server/src/teleop_twist.cpp

On Sat, Jun 4, 2016 at 5:10 PM, AeroCano . <jorge.cano.mart en gmail.com>
wrote:

> Hi,
>
> 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:
>
>
>
>
>
>
>
>
>
>
>
> *Up pressed Qt has caught an exception thrown from an event handler.
> Throwingexceptions from an event handler is not supported in Qt. You
> mustreimplement QApplication::notify() and catch all exceptions
> there.terminate called after throwing an instance of
> 'Ice::UnknownLocalException'  what():  Outgoing.cpp:499:
> Ice::UnknownLocalException:unknown local exception:Operation.cpp:3446:
> Ice::MarshalException:protocol error: error during marshaling or
> unmarshaling*
> *Abortado (`core' generado)*
>
>
> And MAVlinkServer prints this other error:
>
>
>
>
>
>
> *-! 06/04/16 16:44:00.045 warning: dispatch exception: Operation.cpp:3446:
> Ice::MarshalException:   protocol error: error during marshaling or
> unmarshaling   identity: CMDVel   facet:    operation: setCMDVelData
> remote host: ::ffff:127.0.0.1 remote port: 58970*
>
> I inherit CMDVel from jderobot library and i do not redefine any function.
>  I do not know how to handle this error, can someone help me?
>
> Thank you in advance,
> Jorge Cano.
>
> _______________________________________________
> Jde-developers mailing list
> Jde-developers en gsyc.es
> http://gsyc.escet.urjc.es/cgi-bin/mailman/listinfo/jde-developers
>
>
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://gsyc.escet.urjc.es/pipermail/jde-developers/attachments/20160604/177b4739/attachment.htm 


More information about the Jde-developers mailing list