Deserialize ros messages in RosJava

asked 2017-03-16 09:51:23 -0500

wicked88 gravatar image

Hi guys,

Im implementing a neat stuff in my android for my robotic soccer team. I receive (by multicast) packets that contain serialized ros messages. I've already "compiled" the messages in java, using genjava and i have a rosjava_messages/ fully loaded with all the ROS messages in my system.

I'm a C++ guy, so, how can i compile an android project (android studio) against the jar's containing the messages ? i followed the tutorials but i get a lot of errors. I've already compiled against other libraries on the same project, so i know how to do it, but compiling against ROS stuff is a lot more complicated.

Any help here ??

Thanks

edit retag flag offensive close merge delete

Comments

@wicked88 what tutorials have you followed? Did you try using rosjava/android? Can you publish those messages via regular ROS topics? I would start with https://wiki.ros.org/android and https://wiki.ros,org/rosjava .

jubeira gravatar imagejubeira ( 2017-10-19 20:20:34 -0500 )edit