simple stand alone way to generate .java file from .msg file
Is there a simple way to generate a .java file from a .msg file?
I don't want to use gradle/maven/cmake/catkin_make/rosmake etc
I already have an existing java application with a existing build/project files where I want to read data someone else is posting in a ROS topic. I can add the rosjava jar files easily enough but I don't have the .java file for specific custom message being published.
The tutorials seem to imply that I need to create a very complicated gradle/catkin project just to get the .java generated. I tried following the tutorials but just get bogged down in a lot of problems that don't seem relevant to my real goal anyway.
What is your real goal? If you actually want to subscribe to a ROS topic from Java, then I'm afraid there is no easier way than creating a full-blown rosjava application.
I think I made the "real goal" clear already. I have an existing application that can read data from a number of possible data sources with different API's/protocols etc. Only one provider of data wished to publish data using a ROS topic. All of the other data providers had no trouble understanding that asking me to rebuild my application from scratch just to add their data source was completely unreasonable.
No reason to get all excited, I'm just trying to help you out here - don't shoot the messenger. Maybe you find a way to accomplish what you want, good luck!