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

Revision history [back]

click to hide/show revision 1
initial version

Yes I have noticed that but now I get this error when I do gradlew install:

> Building > :rosjava_messages:compileJava > Resolving dependencies':rosjava_me:rosjava_messages:compileJava

DetectObjects.java:17: cannot find symbol
symbol  : class PickPlaceObject
location: package pr2_pick_and_place_service
java.util.List<pr2_pick_and_place_service.PickPlaceObject> getObjects();
                                       ^
DetectObjects.java:18: cannot find symbol
symbol  : class PickPlaceObject
location: package pr2_pick_and_place_service
void setObjects(java.util.List<pr2_pick_and_place_service.PickPlaceObject> value);
                                                       ^
PickPlace.java:21: cannot find symbol
symbol  : class PickPlaceObject
location: package pr2_pick_and_place_service
java.util.List<pr2_pick_and_place_service.PickPlaceObject> getObjects();
                                       ^
PickPlace.java:22: cannot find symbol
symbol  : class PickPlaceObject
location: package pr2_pick_and_place_service
void setObjects(java.util.List<pr2_pick_and_place_service.PickPlaceObject> value);
                                                       ^
4 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':rosjava_messages:compileJava'.
> Compilation failed; see the compiler error output for details.

Yes I have noticed that but now that. I have tried to reinstall ros (electric) and rosjava_core because I might have done something wrong. And I followed the tutorial again. Now I get this error when I do gradlew install:error:

> Building > :rosjava_messages:compileJava > Resolving dependencies':rosjava_me:rosjava_messages:compileJava

package rosgraph_msgs does not exist (27 times)

DetectObjects.java:17: cannot

But I can find symbol symbol : class PickPlaceObject location: package pr2_pick_and_place_service java.util.List<pr2_pick_and_place_service.PickPlaceObject> getObjects(); ^ DetectObjects.java:18: cannot find symbol symbol : class PickPlaceObject location: package pr2_pick_and_place_service void setObjects(java.util.List<pr2_pick_and_place_service.PickPlaceObject> value); ^ PickPlace.java:21: cannot find symbol symbol : class PickPlaceObject location: package pr2_pick_and_place_service java.util.List<pr2_pick_and_place_service.PickPlaceObject> getObjects(); ^ PickPlace.java:22: cannot find symbol symbol : class PickPlaceObject location: package pr2_pick_and_place_service void setObjects(java.util.List<pr2_pick_and_place_service.PickPlaceObject> value); ^ 4 errors rosgraph_msgs in the ros folder under stacks/ros_comm/messages

FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':rosjava_messages:compileJava'. > Compilation failed; see the compiler error output for details.