/*To get this running in eclipse, first of all, rosjava-android should *be set
as a library using Properties->Android->Is Library (tick box) *and then include
the project in any of the *rosjava_core/android/tutorials. You would also
require all the *necessary jar files in the build path)
*Due to some apparent XML RPC issues, I use a remote roscore host with *local
nodes for all my work.*/
In RosCameraPreview,main()
Instead of
imagePublisher =
node.createPublisher(resolver.resolve("image_raw"), "sensor_msgs/CompressedImage");
it should be
imagePublisher =
node.createPublisher(resolver.resolve("image_raw/compressed"), "sensor_msgs/CompressedImage");
As image_view expects the compressed image to be published to
image_raw/compressed or theora.
Original issue reported on code.google.com by icodera...@gmail.com on 8 Jul 2011 at 8:57
Original issue reported on code.google.com by
icodera...@gmail.com
on 8 Jul 2011 at 8:57