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

publishing in rospy and subscribing in rosjava

asked 2013-11-12 15:14:27 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Can my publisher in rospy and subscriber in rosjava be in two separate packages in the same workspace?I am new to ROS and there are different build commands for rospy like catkin_make and gradlew for rosjava. Can i use the same workspace for building both the scripts by putting them in two seperate packages or should i put them in the same package?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2013-11-14 22:39:42 -0500

updated 2013-11-15 00:10:15 -0500

They can both be in separate packages in the same work space (that's the usual way to do it anyway).

Update: I'm not sure how to get rosjava-based packages to automatically get built using catkin. On rosbuild, simply creating a Makefile in the package directory with the following contents worked:

all:
   gradle
edit flag offensive delete link more

Comments

but then how do i build them separately with catkin_make for rospy and gradle for rosjava?

uzair gravatar image uzair  ( 2013-11-14 23:50:19 -0500 )edit

See update.

Martin Günther gravatar image Martin Günther  ( 2013-11-15 00:09:49 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2013-11-12 15:14:27 -0500

Seen: 95 times

Last updated: Nov 15 '13