Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all 2203 articles
Browse latest View live

image_rect cropped?

$
0
0
I am having an issue where my image_rect output from stereo)image_proc is being cropped way down to a small section of the center/far right of the image_raw topic. As far as I can tell, I am not feeding these values to rectify anywhere throughout my launch file. Im using 2 Flea3 Monochrome USB3 cameras in Ubunut 14.04.1 using indigo. To get the cameras up and running, Im using the following package from Kumar Robotics: https://github.com/KumarRobotics/flea3 In the screen shot you can see that image_raw topic is the entire room, in the image_rect the topic is cropped down to nothing. https://i.imgur.com/QRrzelN.jpg

CCTronics and Navio

$
0
0
Has anyone had any luck getting the image on the following site to publish messages via ROS on the Navio+Rpi combo? Everything has built properly, and the topics are publishing over UDP to my MASTER but the messages are blank. I had to build their custom messages on the master in order to pull them down properly so I thought I might have introduced and error. To test that that wasnt the issue, I tried to run the module using the pi as the MASTER within the env the guys at CCtronics built and I got the same result: the message shows up but is completely blank. Thanks!

opencv3.0 ros indigo

$
0
0
Hi, I want to use opencv 3.0.0 in ros but I have troubles linking my code. When install ros-indigo-desktop-full there are dependencies to opencv2.4 for some pkg like cv_bridge or image_pipeline. When linking my program seems to find opencv 3 but there are conflicts with opencv 2.4: /usr/bin/ld: warning: libopencv_imgproc.so.3.0, needed by /usr/local/lib/libopencv_calib3d.so.3.0.0, may conflict with libopencv_imgproc.so.2.4 Built target disparity_node Once I run the program there are seg fault without any reason. Every pkg which depends on opencv2.4 in ros/opt/share/ are like $ grep -r 'libopencv_videostab.so.2.4.8' /opt/ros/indigo/* . /opt/ros/indigo/lib/pkgconfig/cv_bridge.pc:Libs: -L/opt/ros/indigo/lib -lcv_bridge -l:/usr/lib/x86_64-linux-gnu/libopencv_videostab.so.2.4.8 -l:/usr/lib/x86_64-linux-gnu/libopencv_video.so.2.4.8 -l:/usr/lib/x86_64-linux-gnu/libopencv_superres.so.2.4.8 -l:/usr/lib/x86_64-linux-gnu/libopencv_stitching.so.2.4.8 -l:/usr/lib/x86_64-linux-gnu/libopencv_photo.so.2.4.8 -l:/usr/lib/x86_64-linux-gnu/libopencv_ocl.so.2.4.8 -l:/usr/lib/x86_64-linux-gnu/libopencv_objdetect.so.2.4.8 -l:/usr/lib/x86_64-linux-gnu/libopencv_ml.so.2.4.8 -l:/usr/lib/x86_64-linux-gnu/libopencv_legacy.so.2.4.8 -l:/usr/lib/x86_64-linux-gnu/libopencv_imgproc.so.2.4.8 -l:/usr/lib/x86_64-linux-gnu/libopencv_highgui.so.2.4.8 -l:/usr/lib/x86_64-linux-gnu/libopencv_gpu.so.2.4.8 -l:/usr/lib/x86_64-linux-gnu/libopencv_flann.so.2.4.8 -l:/usr/lib/x86_64-linux-gnu/libopencv_features2d.so.2.4.8 -l:/usr/lib/x86_64-linux-gnu/libopencv_core.so.2.4.8 -l:/usr/lib/x86_64-linux-gnu/libopencv_contrib.so.2.4.8 -l:/usr/lib/x86_64-linux-gnu/libopencv_calib3d.so.2.4.8 I want to know if there is an option to change every dependency from opencv2.4 to opencv3.0. and if it is autogenerated code, where and how can I change the config file. Or if it is possible to include some statement in my CMakeLists.txt to use opencv3.0 instead of use opencv2.4 Best regards.

Mac OS: ROS Build Errors (Indigo)

$
0
0
I'm using this: https://github.com/mikepurvis/ros-install-osx Trying to install Indigo. (I got the same error for Jade - after failing I uninstalled Brew, deleted directories) OS X Yosemite, ver 10.10.5 brew --version : 0.9.5 (git revision d430d; last commit 2015-10-05) pip --version : pip 7.1.2 from /usr/local/lib/python2.7/site-packages (python 2.7) Any help highly appreciated. Thanks in advance. [ 25%] Built target pcl_ros_gencfg Scanning dependencies of target pointcloud_to_pcd [ 26%] Building CXX object CMakeFiles/pointcloud_to_pcd.dir/tools/pointcloud_to_pcd.cpp.o [ 28%] Linking CXX executable /Users/anon/indigo_desktop_full_ws/devel/lib/pcl_ros/convert_pcd_to_image ld: library not found for -lvtkRenderingFreeTypeOpenGL clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [/Users/anon/indigo_desktop_full_ws/devel/lib/pcl_ros/convert_pcd_to_image] Error 1 make[1]: *** [CMakeFiles/convert_pcd_to_image.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 30%] Linking CXX executable /Users/anon/indigo_desktop_full_ws/devel/lib/pcl_ros/pcd_to_pointcloud ld: library not found for -lvtkRenderingFreeTypeOpenGL clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [/Users/anon/indigo_desktop_full_ws/devel/lib/pcl_ros/pcd_to_pointcloud] Error 1 make[1]: *** [CMakeFiles/pcd_to_pointcloud.dir/all] Error 2 [ 31%] Linking CXX executable /Users/anon/indigo_desktop_full_ws/devel/lib/pcl_ros/convert_pointcloud_to_image ld: library not found for -lvtkRenderingFreeTypeOpenGL clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [/Users/anon/indigo_desktop_full_ws/devel/lib/pcl_ros/convert_pointcloud_to_image] Error 1 make[1]: *** [CMakeFiles/convert_pointcloud_to_image.dir/all] Error 2 [ 33%] Linking CXX executable /Users/anon/indigo_desktop_full_ws/devel/lib/pcl_ros/pointcloud_to_pcd ld: library not found for -lvtkRenderingFreeTypeOpenGL clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [/Users/anon/indigo_desktop_full_ws/devel/lib/pcl_ros/pointcloud_to_pcd] Error 1 make[1]: *** [CMakeFiles/pointcloud_to_pcd.dir/all] Error 2 make: *** [all] Error 2 [pcl_ros] <== '/Users/anon/indigo_desktop_full_ws/build/pcl_ros/build_env.sh /usr/bin/make --jobserver-fds=3,4 -j' failed with return code '2'

problem creating rosjava packages using catkin_create_rosjava_pkg on indigo

$
0
0
Following the tutorial in the link below, to create a rosjava package in catkin style: http://wiki.ros.org/rosjava_build_tools/Tutorials/indigo/Creating%20Rosjava%20Packages After entering `catkin_create_rosjava_pkg`, then it shows: Downloading http://services.gradle.org/distributions/gradle-2.2.1-all.zip Exception in thread "main" java.lang.RuntimeException: java.net.UnknownHostException: services.gradle.org at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:78) at org.gradle.wrapper.Install.createDist(Install.java:44) at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:126) at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:55) Caused by: java.net.UnknownHostException: services.gradle.org at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:579) at java.net.Socket.connect(Socket.java:528) at sun.net.NetworkClient.doConnect(NetworkClient.java:180) at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) at sun.net.www.http.HttpClient.(HttpClient.java:211) at sun.net.www.http.HttpClient.New(HttpClient.java:308) at sun.net.www.http.HttpClient.New(HttpClient.java:326) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:997) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:933) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:851) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1301) at org.gradle.wrapper.Download.downloadInternal(Download.java:56) at org.gradle.wrapper.Download.download(Download.java:42) at org.gradle.wrapper.Install$1.call(Install.java:57) at org.gradle.wrapper.Install$1.call(Install.java:44) at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65) ... 3 more [error] __init__() takes at least 3 arguments (2 given) : But if i open the link on the browser, i can download the packages, but i don't know how to let the `catkin_make` find the gradle. Any help will be grateful.

Is it possible to compile ros c++ package to jars library using catkin?

$
0
0
Hello, i have to create a robot_state_publisher rosjava package. So i am thinking whether there is a fast way to do this. Any suggestions will be grateful. Thank you

ROSRUN missing command

$
0
0
On an Ubuntu 14.04 with Indigo (installed a while ago) and recently updated to catkin_tools, I miss the `rosrun` command, cant run any node, the error in terminal is **rosrun: command not found**, while all other other commands are present: rosbag roslocate rosclean rosmaster rosco rosmsg rosconsole rosmsg-proto roscore rosnode rosdep rospack rosdep-source rosparam rosdistro_build_cache rosservice rosdistro_migrate_to_rep_141 rossrv rosdistro_migrate_to_rep_143 rosstack rosdistro_reformat rostest rosgraph rostopic rosinstall rosunit roslaunch rosversion roslaunch-complete rosws roslaunch-deps roswtf roslaunch-logs In my `.bashrc` I have: source /opt/ros/indigo/setup.bash source TE_workspace/devel/setup.bash export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:~/TE_workspace/src where `$ROS_PACKAGE_PATH` is after exporting `/opt/ros/indigo/share:/opt/ros/indigo/stacks:/home/user/TE_workspace/src` What am I missing? What could be the problem?

MoveItErrorCode

$
0
0
Hi all! I use ROS Indigo and MoveIt for KUKA. I want to plan path and if planning is not good (may be I have start or target point in collision or something else) - receive error and replan according to this error. There are a lot of errors: enum { SUCCESS = 1 }; enum { FAILURE = 99999 }; enum { PLANNING_FAILED = -1 }; enum { INVALID_MOTION_PLAN = -2 }; enum { MOTION_PLAN_INVALIDATED_BY_ENVIRONMENT_CHANGE = -3 }; enum { CONTROL_FAILED = -4 }; enum { UNABLE_TO_AQUIRE_SENSOR_DATA = -5 }; enum { TIMED_OUT = -6 }; enum { PREEMPTED = -7 }; enum { START_STATE_IN_COLLISION = -10 }; enum { START_STATE_VIOLATES_PATH_CONSTRAINTS = -11 }; enum { GOAL_IN_COLLISION = -12 }; enum { GOAL_VIOLATES_PATH_CONSTRAINTS = -13 }; enum { GOAL_CONSTRAINTS_VIOLATED = -14 }; enum { INVALID_GROUP_NAME = -15 }; enum { INVALID_GOAL_CONSTRAINTS = -16 }; enum { INVALID_ROBOT_STATE = -17 }; enum { INVALID_LINK_NAME = -18 }; enum { INVALID_OBJECT_NAME = -19 }; enum { FRAME_TRANSFORM_FAILURE = -21 }; enum { COLLISION_CHECKING_UNAVAILABLE = -22 }; enum { ROBOT_STATE_STALE = -23 }; enum { SENSOR_INFO_STALE = -24 }; enum { NO_IK_SOLUTION = -31 }; But when I plan I always have in log_file only 1 or -1. I tried a lot of combinations but there are two variants - good or not. ... MoveGroupPtr group; ... moveit::planning_interface::MoveGroup::Plan my_plan; moveit::planning_interface::MoveItErrorCode result; result = group->plan(my_plan); ... log_file << "result " << result.val << endl; Can I use all codes of errors? Thank you for your attention!

NO PATH ! error and questions to gradient_path.cpp in global_planner

$
0
0

    Problem Description:

I am trying to get a global path based on a 500 * 500 static map with **global_planner** (indigo). I set up the parameter use_grid_path to be *false*, so that the path is calculated with a gradient descent method. Goal Pose is fed with the 2D Nav Goal in Rviz. Sometime it works fine by showing the global path. But sometimes it publishes rosconsole [Error] messages repetitively in the terminal, even if a potential map is successfully showed by Rviz.
[ERROR] [1444812100.339654309, 6406.380000000]: NO PATH!
[ERROR] [1444812100.340210027, 6406.380000000]: Failed to get a plan from potential when a legal potential was found. This shouldn't happen.
[ERROR] [1444812100.364187125, 6406.410000000]: NO PATH!
[ERROR] [1444812100.364835403, 6406.410000000]: Failed to get a plan from potential when a legal potential was found. This shouldn't happen.
I dug a little bit into the code in **gradient_path.cpp** http://docs.ros.org/jade/api/global_planner/html/gradient__path_8cpp_source.html#l00068. I think it must failed at row 80 to get this kind of error message.
00080     while (c++ < ns*4) { 
But my static map is not big, and I have already got the potential map. So I do not really understand what is going on here.

    Question to the code in gradient_path.cpp

http://docs.ros.org/jade/api/global_planner/html/gradient__path_8cpp_source.html#l000681.
    This part comes from function **float GradientPath::gradCell(float* potential, int n)**. In my opinion, the potential from cells on the left, right, up and down side should be taken into account. But at line 285, it is a fixed cell. Why should man always take care at this fixed cell?
00276     // check for in an obstacle
00277     if (cv >= POT_HIGH) {
00278         if (potential[n - 1] < POT_HIGH)
00279             dx = -lethal_cost_;
00280         else if (potential[n + 1] < POT_HIGH)
00281             dx = lethal_cost_;00282 
00283         if (potential[n - xs_] < POT_HIGH)
00284             dy = -lethal_cost_;
00285         else if (potential[xs_ + 1] < POT_HIGH)
00286             dy = lethal_cost_;
00287     } 
2.
    Why do we take stc, stc + 1, stcnx and stcnx + 1 but not other neighbors for interpolation?
00181             // get grad at four positions near cell
00182             gradCell(potential, stc);
00183             gradCell(potential, stc + 1);
00184             gradCell(potential, stcnx);
00185             gradCell(potential, stcnx + 1);
00186 
00187             // get interpolated gradient
00188             float x1 = (1.0 - dx) * gradx_[stc] + dx * gradx_[stc + 1];
00189             float x2 = (1.0 - dx) * gradx_[stcnx] + dx * gradx_[stcnx + 1];
00190             float x = (1.0 - dy) * x1 + dy * x2; // interpolated x
00191             float y1 = (1.0 - dx) * grady_[stc] + dx * grady_[stc + 1];
00192             float y2 = (1.0 - dx) * grady_[stcnx] + dx * grady_[stcnx + 1];
00193             float y = (1.0 - dy) * y1 + dy * y2; // interpolated y
3.
    Why do we only consider these two horizontal bounds, why not the vertical bounds?
00091         if (stc < xs_ || stc > xs_ * ys_ - xs_) // would be out of bounds
00092         {
00093             printf("[PathCalc] Out of bounds\n");
00094             return false;
00095         }
These questions troubled me a lot. Please help ~~ Thanks in advance :-)

Eclipse build missing binaries for C/C++ ROS based programs

$
0
0
Hi all, I'm having a bit of an issue with my Eclipse Luna setup, basically I have followed pretty much the tutorial from: http://wiki.ros.org/IDEs#Installing_Eclipse I couldn't quite follow the "...select Properties --> C/C++ Make Project --> Environment," as I could only see C/C++ Build --> Environment I assume they changed names at some point, I couldn't see the variables so there now in there as user defined variables, however that wouldn't explain why eclipse is able to reference all ros libraries that have been added to it so far. Am I missing something and just looking in the wrong place? I selected the properties through selecting the Project --> Properties The driver is working as I can test it through the rosrun function but I am looking to added eclipses debugging capability to check a few things. I know my builders work as I am getting executables to run through catkin_make and I am able to create basic cpp programs that have no link to ros to build executables. I guess it would be either my environment reference in eclipse which seems to work in terminal. Thanks in advanced for your help

Ros indigo ubuntu 14.04 asus xtion failed to show picture.

$
0
0
So I've been playing a little around with the turtlebot and asus xtion pro live, using the provided tutorials. Everything seems to be working fairly good, except that I can't seem to get a colored picture from the camera. I'm using the command `roslaunch openni2_launch openni2.launch`, since the openni library(?) won't work with my xtion edition. But whenever i run the code, i get the error `Warning USB events thread - failed to set priority.` I know that I'm not the only one getting this, but what I've found on the internet doesn't seem to be working or I might have misunderstood something. It should also be noted that whenever i run Rviz, I get the pointcloud, but my terminal window, which has the openni2 package running starts to say that it is missing some calibration, could this be my problem or is there some easy fix for it? Also please note that I'm fairly new to linux/ubuntu. Hopefully some of you are able to help me. \Michael V

rosserial_client avr Tutorial Error

$
0
0
So this is the problem I want to get that my Atmega16 works as a ros node, for that reason I just followed this [tutorial](http://wiki.ros.org/rosserial_client/Tutorials/Using%20rosserial%20with%20AVR%20and%20UART), so when I just run the `rosserial_python` node mentioned (`rosrun rosserial_python serial_node.py /dev/ttyUSB0`, that is the correct port in my case) I just get the following error: [ERROR] [WallTime: 1414579883.599380] Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino I checked my rosserial version installed and match with my ROS version, so I am really confused about that error. My ROS version is Indigo and to be sure about the rosserial version I didn't install the rosserial package form the debian repository I just clone it on my workspace from this [repo](http://github.com/ros-drivers/rosserial.git). I really appreciate any info or answer to solve this. Thanks to ROS community

nav2d can't find path

$
0
0
Hello, I am currently tring to use the nav2d package to make my turtlebot robot do an autonomous exploration of a unknown room. I am using ROS Indigo with Ubuntu 14.04. I am using the tutorial3.launch file with some modificaitons to adapt the topics to the turtlebot, and both the costmap and the global map ( on /map topic ) are created. But when i try to use the rosservice call /StartMapping 3, i obtain response: 0 and it goes back to command line Here are my files : tutorial3.launch rqt-graph http://hpics.li/b05718e EDIT : I tried running the rqt_console while calling the services : When i run `rosservice call /StartMapping 3` , i have an Info message saying `Navigator is now initialised.` But when i run `rosservice call /StartExploration 2`, i obtain a Warning message saying Navigator is busy! Location: /tmp/binarydeb/ros-indigo-nav2d-navigator-0.1.4/src/RobotNavigator.cpp:receiveExploreGoal:798 then 5 min after , every second : Robot cannot move further in this direction! Location: /tmp/binarydeb/ros-indigo-nav2d-operator-0.1.4/src/RobotOperator.cpp:executeCommand:268 So i tried to move the robot with Rviz, and it show an error message saying no way between robot and goal no way between robot and goal

Installing Mit-Ros-Pkg on Indigo

$
0
0
I am currently attempting to install the mit-ros-pkg (http://wiki.ros.org/mit-ros-pkg) on my current system, particularly for the Hand Detection packages, however I am encountering issues with the install. The main issue I am struggling to solve is that when I run the line "rosinstall ~/ros_workspace/kinect_demos /opt/ros/indigo ~/ros_workspace/kinect_demos.rosinstall", it encounters errors with the 'perception_pcl_addons' and 'motion_planning_common' packages, saying the connection timed out, and I cannot find them online, which if they have been taken down, that explains why I couldn't connect. This error seems to interrupt the installation process and it doesn't download the rest of the stuff, including the files needed to install the various packages. Would anyone be able to give us a hand, I am mostly trying to get this to run "https://github.com/mees/GestureRecognizer" of which it says that it needs the mit-ros-pkg to work (mostly the hand detector), so is there a way I can correct the connection timed out issue, bypass it so that it continues to download the rest of it, some other method of just installing the hand detector packages or some other alternative method that would allow me to install the above on my current Indigo system. I am kinda new to ROS, so if when your giving answers you could go the most low level of explanation it would be much appreciated, and if something above is incorrect, please say so, thanks.

Moveit! make Invoking "make -j4 -l4" failed

$
0
0
I'm trying to install Moveit! as per http://moveit.ros.org/install/ for ROS Indigo on a 64bit system. I get the failed build error intermittently, but then it manages to overcome the issue and proceeds to further installation when i run catkin_make again - only to fail again. After multiple attempts it seem like the build fails at 82% i.e after moveit_move_group_interface_python. Please help! Thank you. #### #### Running command: "make -j4 -l4" in "/home/adi/moveit/build" #### [ 0%] Built target std_msgs_generate_messages_py [ 0%] Built target object_recognition_msgs_generate_messages_py [ 0%] Built target actionlib_msgs_generate_messages_py [ 0%] [ 0%] Built target _moveit_msgs_generate_messages_check_deps_MotionPlanRequest Built target _moveit_msgs_generate_messages_check_deps_GetPositionIK [ 0%] [ 0%] Built target _moveit_msgs_generate_messages_check_deps_CollisionObject Built target shape_msgs_generate_messages_py [ 0%] [ 0%] Built target trajectory_msgs_generate_messages_py Built target geometry_msgs_generate_messages_py [ 0%] Built target octomap_msgs_generate_messages_py [ 0%] Built target sensor_msgs_generate_messages_py [ 0%] [ 0%] [ 0%] Built target _moveit_msgs_generate_messages_check_deps_PickupActionGoal Built target _moveit_msgs_generate_messages_check_deps_ExecuteKnownTrajectory Built target _moveit_msgs_generate_messages_check_deps_MoveGroupResult [ 0%] Built target _moveit_msgs_generate_messages_check_deps_LoadMap [ 0%] Built target _moveit_msgs_generate_messages_check_deps_AttachedCollisionObject [ 0%] Built target _moveit_msgs_generate_messages_check_deps_VisibilityConstraint [ 0%] Built target _moveit_msgs_generate_messages_check_deps_SaveRobotStateToWarehouse [ 0%] Built target _moveit_msgs_generate_messages_check_deps_GetMotionPlan [ 0%] Built target _moveit_msgs_generate_messages_check_deps_PlaceActionGoal [ 0%] Built target _moveit_msgs_generate_messages_check_deps_AllowedCollisionMatrix [ 0%] Built target _moveit_msgs_generate_messages_check_deps_MoveItErrorCodes [ 0%] Built target _moveit_msgs_generate_messages_check_deps_MotionPlanResponse [ 0%] Built target _moveit_msgs_generate_messages_check_deps_Constraints [ 0%] Built target _moveit_msgs_generate_messages_check_deps_RenameRobotStateInWarehouse [ 0%] Built target _moveit_msgs_generate_messages_check_deps_PlanningScene [ 0%] Built target _moveit_msgs_generate_messages_check_deps_ContactInformation [ 0%] Built target _moveit_msgs_generate_messages_check_deps_JointLimits [ 0%] [ 0%] Built target _moveit_msgs_generate_messages_check_deps_PickupGoal Built target _moveit_msgs_generate_messages_check_deps_LinkPadding [ 0%] Built target _moveit_msgs_generate_messages_check_deps_GetRobotStateFromWarehouse [ 0%] Built target _moveit_msgs_generate_messages_check_deps_GetConstraintAwarePositionIK [ 0%] Built target _moveit_msgs_generate_messages_check_deps_GetCartesianPath [ 0%] Built target _moveit_msgs_generate_messages_check_deps_QueryPlannerInterfaces [ 0%] Built target _moveit_msgs_generate_messages_check_deps_MoveGroupGoal [ 0%] Built target _moveit_msgs_generate_messages_check_deps_MoveGroupAction [ 0%] Built target _moveit_msgs_generate_messages_check_deps_OrientedBoundingBox [ 0%] [ 0%] Built target _moveit_msgs_generate_messages_check_deps_ObjectColor Built target _moveit_msgs_generate_messages_check_deps_PlanningOptions [ 0%] Built target _moveit_msgs_generate_messages_check_deps_GetKinematicSolverInfo [ 0%] Built target _moveit_msgs_generate_messages_check_deps_MoveGroupActionFeedback [ 0%] Built target _moveit_msgs_generate_messages_check_deps_PickupActionResult [ 0%] Built target _moveit_msgs_generate_messages_check_deps_PositionIKRequest [ 0%] Built target _moveit_msgs_generate_messages_check_deps_PickupAction [ 0%] Built target _moveit_msgs_generate_messages_check_deps_Grasp [ 0%] Built target _moveit_msgs_generate_messages_check_deps_PlaceAction [ 0%] Built target _moveit_msgs_generate_messages_check_deps_ConstraintEvalResult [ 0%] Built target _moveit_msgs_generate_messages_check_deps_BoundingVolume [ 0%] Built target _moveit_msgs_generate_messages_check_deps_PickupActionFeedback [ 0%] Built target _moveit_msgs_generate_messages_check_deps_PlaceGoal [ 0%] Built target _moveit_msgs_generate_messages_check_deps_CheckIfRobotStateExistsInWarehouse [ 0%] Built target _moveit_msgs_generate_messages_check_deps_PlaceResult [ 0%] Built target _moveit_msgs_generate_messages_check_deps_WorkspaceParameters [ 0%] [ 0%] Built target _moveit_msgs_generate_messages_check_deps_DeleteRobotStateFromWarehouse Built target _moveit_msgs_generate_messages_check_deps_PickupFeedback [ 0%] Built target _moveit_msgs_generate_messages_check_deps_ListRobotStatesInWarehouse [ 0%] Built target _moveit_msgs_generate_messages_check_deps_PlaceActionResult [ 0%] [ 0%] Built target _moveit_msgs_generate_messages_check_deps_GripperTranslation Built target _moveit_msgs_generate_messages_check_deps_GetPositionFK [ 0%] Built target _moveit_msgs_generate_messages_check_deps_DisplayTrajectory [ 0%] Built target _moveit_msgs_generate_messages_check_deps_MoveGroupActionResult [ 0%] Built target _moveit_msgs_generate_messages_check_deps_RobotState [ 0%] Built target _moveit_msgs_generate_messages_check_deps_PickupResult [ 0%] Built target _moveit_msgs_generate_messages_check_deps_AllowedCollisionEntry [ 0%] Built target _moveit_msgs_generate_messages_check_deps_OrientationConstraint [ 0%] [ 0%] Built target _moveit_msgs_generate_messages_check_deps_LinkScale Built target _moveit_msgs_generate_messages_check_deps_PlaceFeedback [ 0%] Built target _moveit_msgs_generate_messages_check_deps_GetStateValidity [ 0%] Built target _moveit_msgs_generate_messages_check_deps_KinematicSolverInfo [ 0%] Built target _moveit_msgs_generate_messages_check_deps_MotionPlanDetailedResponse [ 0%] Built target _moveit_msgs_generate_messages_check_deps_GetPlanningScene [ 0%] Built target _moveit_msgs_generate_messages_check_deps_PlaceLocation [ 0%] Built target _moveit_msgs_generate_messages_check_deps_SaveMap [ 0%] Built target _moveit_msgs_generate_messages_check_deps_RobotTrajectory [ 0%] Built target _moveit_msgs_generate_messages_check_deps_MoveGroupFeedback [ 0%] Built target _moveit_msgs_generate_messages_check_deps_DisplayRobotState [ 0%] Built target _moveit_msgs_generate_messages_check_deps_PlanningSceneComponents [ 0%] Built target _moveit_msgs_generate_messages_check_deps_PlaceActionFeedback [ 0%] Built target _moveit_msgs_generate_messages_check_deps_TrajectoryConstraints [ 0%] Built target _moveit_msgs_generate_messages_check_deps_PlanningSceneWorld [ 0%] Built target _moveit_msgs_generate_messages_check_deps_JointConstraint [ 0%] Built target _moveit_msgs_generate_messages_check_deps_PositionConstraint [ 0%] [ 0%] Built target _moveit_msgs_generate_messages_check_deps_CostSource Built target _moveit_msgs_generate_messages_check_deps_PlannerInterfaceDescription [ 0%] Built target std_msgs_generate_messages_cpp [ 0%] [ 0%] Built target actionlib_msgs_generate_messages_cpp Built target object_recognition_msgs_generate_messages_cpp [ 0%] Built target octomap_msgs_generate_messages_cpp [ 0%] Built target _moveit_msgs_generate_messages_check_deps_MoveGroupActionGoal [ 0%] Built target trajectory_msgs_generate_messages_cpp [ 0%] Built target sensor_msgs_generate_messages_cpp [ 0%] Built target geometry_msgs_generate_messages_cpp [ 0%] [ 0%] Built target sensor_msgs_generate_messages_lisp Built target shape_msgs_generate_messages_cpp [ 0%] Built target std_msgs_generate_messages_lisp [ 0%] Built target actionlib_msgs_generate_messages_lisp [ 0%] [ 0%] Built target object_recognition_msgs_generate_messages_lisp Built target trajectory_msgs_generate_messages_lisp [ 0%] Built target geometry_msgs_generate_messages_lisp [ 0%] Built target octomap_msgs_generate_messages_lisp [ 0%] [ 0%] Built target shape_msgs_generate_messages_lisp Built target moveit_version [ 0%] Built target moveit_exceptions [ 0%] Built target visualization_msgs_generate_messages_cpp [ 0%] Built target moveit_profiler [ 0%] Built target moveit_background_processing [ 0%] Built target roscpp_generate_messages_py [ 0%] [ 0%] Built target roscpp_generate_messages_cpp Built target roscpp_generate_messages_lisp [ 0%] Built target rosgraph_msgs_generate_messages_lisp [ 0%] Built target visualization_msgs_generate_messages_py [ 0%] [ 0%] [ 0%] Built target rosgraph_msgs_generate_messages_py Built target visualization_msgs_generate_messages_lisp Built target rosgraph_msgs_generate_messages_cpp [ 0%] Built target tf_generate_messages_lisp [ 0%] [ 0%] Built target tf_generate_messages_cpp Built target tf2_msgs_generate_messages_lisp [ 0%] Built target tf_generate_messages_py [ 0%] Built target actionlib_generate_messages_lisp [ 0%] [ 0%] [ 0%] Built target actionlib_generate_messages_cpp Built target actionlib_generate_messages_py Built target tf2_msgs_generate_messages_cpp [ 0%] Built target tf2_msgs_generate_messages_py [ 1%] [ 1%] [ 1%] Built target moveit_planners_ompl_gencfg Built target moveit_ros_planning_gencfg Built target std_srvs_generate_messages_lisp [ 1%] Built target std_srvs_generate_messages_cpp [ 1%] [ 1%] Built target std_srvs_generate_messages_py Built target moveit_ros_manipulation_gencfg [ 15%] Built target moveit_msgs_generate_messages_cpp [ 30%] Built target moveit_msgs_generate_messages_py [ 46%] Built target moveit_msgs_generate_messages_lisp [ 46%] Built target moveit_msgs_generate_messages [ 46%] Built target moveit_kinematics_base [ 46%] Built target moveit_transforms [ 46%] Built target moveit_distance_field [ 48%] Built target moveit_robot_model [ 49%] Built target moveit_robot_state [ 50%] [ 50%] Built target moveit_dynamics_solver Built target moveit_robot_trajectory [ 50%] Built target moveit_kinematics_metrics [ 52%] Built target moveit_collision_detection [ 52%] [ 52%] Built target moveit_planning_interface Built target moveit_trajectory_processing [ 52%] Built target moveit_collision_detection_fcl [ 53%] Built target moveit_kinematic_constraints [ 53%] Built target moveit_planning_scene [ 54%] Built target moveit_planning_request_adapter [ 55%] Built target moveit_constraint_samplers [ 55%] Built target moveit_controller_manager_example [ 55%] Built target moveit_fake_controller_manager [ 56%] Built target moveit_point_containment_filter [ 57%] Built target moveit_occupancy_map_monitor [ 57%] Built target moveit_simple_controller_manager [ 58%] Built target moveit_mesh_filter [ 58%] Built target moveit_semantic_world [ 58%] Built target moveit_lazy_free_space_updater [ 58%] Built target moveit_occupancy_map_server [ 58%] Built target moveit_depth_image_octomap_updater_core [ 58%] Built target moveit_pointcloud_octomap_updater_core [ 58%] Built target moveit_rdf_loader [ 60%] Built target moveit_depth_image_octomap_updater [ 60%] Built target moveit_pointcloud_octomap_updater [ 61%] Built target moveit_collision_plugin_loader [ 61%] [ 61%] Built target moveit_constraint_sampler_manager_loader Built target moveit_planning_pipeline [ 62%] Built target moveit_list_request_adapter_plugins [ 62%] Built target moveit_srv_kinematics_plugin [ 63%] Built target moveit_default_planning_request_adapter_plugins [ 63%] Built target moveit_kdl_kinematics_plugin [ 63%] Built target moveit_kinematics_plugin_loader [ 63%] Built target moveit_robot_model_loader [ 63%] Built target moveit_evaluate_state_operations_speed [ 63%] [ 63%] Built target moveit_print_planning_model_info Built target moveit_kinematics_speed_and_validity_evaluator [ 64%] Built target moveit_planning_scene_monitor [ 65%] Built target moveit_trajectory_execution_manager [ 65%] Built target demo_scene [ 65%] Built target moveit_display_random_state [ 65%] Built target moveit_evaluate_collision_checking_speed [ 66%] Built target moveit_publish_scene_from_text [ 66%] Built target test_controller_manager_plugin [ 66%] Built target test_controller_manager [ 66%] Built target moveit_visualize_robot_collision_volume [ 67%] Built target moveit_plan_execution [ 67%] Built target list_move_group_capabilities [ 68%] [ 69%] Built target moveit_move_group_capabilities_base Building CXX object moveit_ros/robot_interaction/CMakeFiles/moveit_robot_interaction.dir/src/kinematic_options.cpp.o [ 71%] Built target moveit_warehouse [ 71%] Built target move_group [ 74%] Built target moveit_ompl_interface [ 75%] Built target moveit_init_demo_warehouse [ 76%] Built target moveit_move_group_default_capabilities [ 77%] Built target moveit_pick_place_planner [ 78%] Built target moveit_save_to_warehouse [ 78%] Built target moveit_warehouse_broadcast [ 78%] Built target moveit_warehouse_import_from_text [ 78%] Built target moveit_warehouse_services [ 78%] Built target moveit_warehouse_save_as_text [ 80%] Built target moveit_benchmark_execution [ 80%] Built target moveit_py_bindings_tools [ 80%] Built target moveit_common_planning_interface_objects [ 80%] Built target moveit_demo_construct_constraints_database [ 81%] Built target moveit_ompl_planner [ 81%] Built target moveit_ompl_planner_plugin [ 81%] Built target moveit_py_bindings_tools_python [ 81%] Built target moveit_move_group_pick_place_capability [ 81%] Built target moveit_run_benchmark [ 81%] Built target moveit_planning_scene_interface [ 81%] Built target moveit_move_group_interface [ 81%] Built target moveit_robot_interface_python [ 81%] Built target moveit_planning_scene_interface_python [ 81%] Built target demo [ 82%] Built target moveit_move_group_interface_python In file included from /usr/include/boost/math/policies/policy.hpp:20:0, from /usr/include/boost/math/policies/error_handling.hpp:19, from /usr/include/boost/math/special_functions/round.hpp:14, from /opt/ros/indigo/include/ros/time.h:58, from /opt/ros/indigo/include/ros/serialization.h:34, from /opt/ros/indigo/include/geometry_msgs/PoseStamped.h:14, from /home/adi/moveit/src/moveit_core/kinematics_base/include/moveit/kinematics_base/kinematics_base.h:40, from /home/adi/moveit/src/moveit_ros/robot_interaction/include/moveit/robot_interaction/kinematic_options.h:40, from /home/adi/moveit/src/moveit_ros/robot_interaction/src/kinematic_options.cpp:37: /home/adi/moveit/src/moveit_ros/robot_interaction/src/kinematic_options.cpp: In member function ‘void robot_interaction::KinematicOptions::setOptions(const robot_interaction::KinematicOptions&, robot_interaction::KinematicOptions::OptionBitmask)’: /home/adi/moveit/src/moveit_ros/robot_interaction/src/kinematic_options.cpp:118:3: error: invalid application of ‘sizeof’ to incomplete type ‘boost::STATIC_ASSERTION_FAILURE’ BOOST_STATIC_ASSERT(sizeof(kinematics::KinematicsQueryOptions) == ^ /home/adi/moveit/src/moveit_ros/robot_interaction/src/kinematic_options.cpp:118:3: error: template argument 1 is invalid BOOST_STATIC_ASSERT(sizeof(kinematics::KinematicsQueryOptions) == ^ /home/adi/moveit/src/moveit_ros/robot_interaction/src/kinematic_options.cpp:119:59: error: invalid type in declaration before ‘;’ token sizeof(DummyKinematicsQueryOptions)); ^ make[2]: *** [moveit_ros/robot_interaction/CMakeFiles/moveit_robot_interaction.dir/src/kinematic_options.cpp.o] Error 1 make[1]: *** [moveit_ros/robot_interaction/CMakeFiles/moveit_robot_interaction.dir/all] Error 2 make: *** [all] Error 2 Invoking "make -j4 -l4" failed

Build error with laser_assembler package

$
0
0
Hi, I copied the `laser_assembler` package into my workspace but when I run `catkin_make`, it shows: [100%] Built target motoman_robot_state In file included from /opt/ros/indigo/include/tf/transform_datatypes.h:44:0, from /opt/ros/indigo/include/tf/time_cache.h:38, from /opt/ros/indigo/include/tf/tf.h:43, from /home/juliocesar/catkin_ws/src/laser_geometry/include/laser_geometry/laser_geometry.h:40, from /home/juliocesar/catkin_ws/src/laser_assembler/src/laser_scan_assembler.cpp:36: /home/juliocesar/catkin_ws/src/laser_assembler/include/laser_assembler/base_assembler.h: In instantiation of ‘bool laser_assembler::BaseAssembler::assembleScans(laser_assembler::AssembleScans::Request&, laser_assembler::AssembleScans::Response&) [with T = sensor_msgs::LaserScan_>; laser_assembler::AssembleScans::Request = laser_assembler::AssembleScansRequest_>; laser_assembler::AssembleScans::Response = laser_assembler::AssembleScansResponse_>]’: /home/juliocesar/catkin_ws/src/laser_assembler/include/laser_assembler/base_assembler.h:182:66: required from ‘laser_assembler::BaseAssembler::BaseAssembler(const string&) [with T = sensor_msgs::LaserScan_>; std::string = std::basic_string]’ /home/juliocesar/catkin_ws/src/laser_assembler/src/laser_scan_assembler.cpp:53:116: required from here /opt/ros/indigo/include/ros/console.h:342:176: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 10 has type ‘std::deque>>::size_type {aka unsigned int}’ [-Wformat=] ::ros::console::print(filter, __rosconsole_define_location__loc.logger_, __rosconsole_define_location__loc.level_, __FILE__, __LINE__, __ROSCONSOLE_FUNCTION__, __VA_ARGS__) ^ /opt/ros/indigo/include/ros/console.h:345:5: note: in expansion of macro ‘ROSCONSOLE_PRINT_AT_LOCATION_WITH_FILTER’ ROSCONSOLE_PRINT_AT_LOCATION_WITH_FILTER(0, __VA_ARGS__) ^ /opt/ros/indigo/include/ros/console.h:375:7: note: in expansion of macro ‘ROSCONSOLE_PRINT_AT_LOCATION’ ROSCONSOLE_PRINT_AT_LOCATION(__VA_ARGS__); \ ^ /opt/ros/indigo/include/ros/console.h:516:35: note: in expansion of macro ‘ROS_LOG_COND’ #define ROS_LOG(level, name, ...) ROS_LOG_COND(true, level, name, __VA_ARGS__) ^ /opt/ros/indigo/include/rosconsole/macros_generated.h:54:24: note: in expansion of macro ‘ROS_LOG’ #define ROS_DEBUG(...) ROS_LOG(::ros::console::levels::Debug, ROSCONSOLE_DEFAULT_NAME, __VA_ARGS__) ^ /home/juliocesar/catkin_ws/src/laser_assembler/include/laser_assembler/base_assembler.h:347:3: note: in expansion of macro ‘ROS_DEBUG’ ROS_DEBUG("Point Cloud Results: Aggregated from index %u->%u. BufferSize: %lu. Points in cloud: %u", start_index, past_end_index, scan_hist_.size(), (int)resp.cloud.points.size ()) ; ^ Linking CXX executable /home/juliocesar/catkin_ws/devel/lib/laser_assembler/laser_scan_assembler [100%] Built target laser_scan_assembler How can I solve it? thank you

nav2d StartExploration finished without doing anything

$
0
0
Hello, I am currently trying to use nav2d service : StartExploration to make my turtlebot robot map a unknown room with Ubuntu 14.04 and ROS Indigo. When i use the service StartMapping to get the first map, the robot does move ahead and turn on itself to create the map. After that, when i launch the StartExploration service, it only say that "exploration has finished" without mapping the room. Here is the rqt_console list of debug message for StartExploration : http://hpics.li/a24def6 I though it was a problem with the inflation radius, but after lowering the parameter in navigator.yaml and costmap.yaml the result stay the same. Here is the map viewed by Rviz : http://hpics.li/537b9fc Any hint on what topic i should look at to know where the problem is ?? i looked at Explore/goal, and a goal is indeed created each time i start the service, but the goal part of the message is blank.

Raspberry Pi2 roscpp failed during Indigo installation

$
0
0
Hello everybody, I cannot install ROS Indigo on the Raspberry Pi 2 model B with Raspbian **Jessie**(no problem with **Wheezy**). At each time, it fails when it compiles roscpp with the command : `sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/indigo` I followed the official instructions that are [here](http://wiki.ros.org/ROSberryPi/Installing%20ROS%20Indigo%20on%20Raspberry%20Pi). I even tried to compile myself *libconsole-bridge-dev* and *liblz4-dev*. I cannot join the .txt because i'm a new user. So, here is the error : https://www.dropbox.com/s/c6pyfz9ubi5fty6/error_roscpp.txt?dl=0 Have you any idea or solution? Thanks ! **EDIT** : There is also a strange thing that happen : the raspberry pi 2 gets his ram AND swap satured ! And once the Raspberry completely crashed. Before it prints the error, the raspberry is *lagging* so even if you have another ssh terminal opened, you can't do anything in it. Even the refresh of *top* doesn't work ! Here is the error : [ 36%] Building CXX object CMakeFiles/roscpp.dir/src/libros/single_subscriber_publisher.cpp.o c++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See for instructions. CMakeFiles/roscpp.dir/build.make:146: recipe for target 'CMakeFiles/roscpp.dir/src/libros/publisher_link.cpp.o' failed make[2]: *** [CMakeFiles/roscpp.dir/src/libros/publisher_link.cpp.o] Error 4 make[2]: *** Waiting for unfinished jobs.... CMakeFiles/Makefile2:308: recipe for target 'CMakeFiles/roscpp.dir/all' failed make[1]: *** [CMakeFiles/roscpp.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2<== Failed to process package 'roscpp': Command '['/opt/ros/indigo/env.sh', 'make', '-j4', '-l4']' returned non-zero exit status 2 Reproduce this error by running: ==> cd /home/pi/ros_catkin_ws/build_isolated/roscpp && /opt/ros/indigo/env.sh make -j4 -l4 Command failed, exiting.

How to use opencv-contrib modules in ROS Indigo?

$
0
0
I am using ROS Indigo on Ubuntu 14.04. I installed the OpenCV 3 for ROS with apt-get: sudo apt-get install ros-indigo-opencv3 However, I would like to use modules from the opencv_contrib repository (https://github.com/Itseez/opencv_contrib.git). Is there an easy way to install and use these within ROS? Initially, I had a standalone OpenCV 3 installation with the contrib modules, but I had to uninstall it because of referencing issues when using ROS. EDIT: I think the installation of OpenCV 3 is discussed in point 5 of http://wiki.ros.org/vision_opencv, I actually ran this script, but I'm not sure what to do after this.

Installing ROS Indigo on the Raspberry Pi

$
0
0
dear all I`ve been intalled this stuff for servral days. In the tutorial 4.3 Building the catkin Workspace If you are on Raspberry Pi 2 and are looking to install rviz, catkin_make_isolated will fail at the rviz step. To build it successfully, use .../ros_catkin_ws/build_isolated/rviz/make -j2 what does "..." means? how should i solve this issue? I use Raspberry Pi 2^^ thanks a lot!
Viewing all 2203 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>