ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Generating messages for rosjava?

asked 2011-03-25 00:35:07 -0500

erikjber gravatar image

Platform: Diamondback, Ubuntu 10.10 64-bit.

I'm using rosjava, so I need to generate class files for all messages.

I tried using the rosjava_deps package (http://www.ros.org/wiki/rosjava_deps), but it depends on the genmsg_cpp package (http://www.ros.org/wiki/genmsg_cpp), which appears to be gone.

How do I auto-generate the message source or class files?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2011-03-25 00:54:00 -0500

erikjber gravatar image

Never mind, I just realised that all I have to do is remove dependencies on all packages that are no longer present in Diamondback.

edit flag offensive delete link more

Comments

Hi, I am trying to publish a message from rospy to a subscriber in rosjava. I am using ros hydro. I copy pasted the subscriber code from the tutorials into my rosjava folder and built it with catkin_make. I am getting errors related to adding the dependencies. I need to add them in the gradle file i think and i dont know how. can you help me with this? thanks

uzair gravatar image uzair  ( 2013-11-17 08:41:33 -0500 )edit

Perhaps you should open up a new question for this azair. Keyword it with java and I'll respond.

Daniel Stonier gravatar image Daniel Stonier  ( 2013-11-21 11:41:30 -0500 )edit
uzair gravatar image uzair  ( 2013-11-26 15:18:00 -0500 )edit

Question Tools

Stats

Asked: 2011-03-25 00:35:07 -0500

Seen: 553 times

Last updated: Mar 25 '11