Any tutorials available for creating custom message for android ros
I am creating a publisher and subscriber node in Android. Currently it works very well with the included ROSjava standard messages. However, I would like to create a custom message type. Hoping there is a tutorial or sample project I can study.
Updated to add my solution in case it helps others: I did follow this tutorial http://wiki.ros.org/rosjava_build_tools/Tutorials/indigo/UsingServices per @jubeira post. The most important thing that I found impacted my success was the sourcing of rosjava.
Written in the text below Step 2 is
Remember to source your Rosjava installation workspace first to have the command line tools available (e.g. source ~/rosjava/devel/setup.bash).
What I found was that if rosjava was deb installed I had problems. I am very new to working with ROS and linux so that may be obvious what to do for other folks, but that's what I found that made things work for me.
Could you please post your update as a solution instead?
@jayess Do you mean post as an answer below or is there a solution option I am missing? Forgive me, very new to forum.
Yes, post as answer. If you come up with a solution for your problem you should post it as an answer. It's ok if there's already other answers.
hola @jubeira estoy trabajando con rosjava y necesito pasar mensajes personalizados, llegaste ha hacer ese tutorial?
Hola Ro, probaste los pasos que describi en la respuesta anterior? Generar los mensajes no tiene ningun paso distinto en Java; solo hay que tener
genjava
disponible en el workspace en el momento de buildear el paquete que contiene los mensajes.Guys, could you please not post in languages other than English? Thanks.