ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2017-04-30 03:04:17 -0500 | marked best answer | How to build a package from source? Hi! I've recently installed the ROS indigo desktop version in my raspberry PI 2, running the last version of Raspbian (following the tutorial http://wiki.ros.org/ROSberryPi/Instal... ). I've installed all properly. Now I'm trying to install new packages from source in the ROS file system, but I don't understand exactly what I have to do to get it. The package I'm trying to install is ros3djs ( http://wiki.ros.org/ros3djs ). The steps I've followed are the next: 1-
2-
Once I have the package downloaded in the src folder, I don't know exactly what I should do. In the installation of ROS tutorial comes the next command to invoke catkin_make_isolated:
but it makes all the workspace to be compiled again and it takes a lot of time, so what I should do? I want to compile only the new packages I add. Being on the ros_catkin_ws folder, I've tried the next: 3- But I get the next message:
I've also tried the catkin_make_isolated: 3-
I don't understand very well the structure ROS have to add new packages. Could someone give me any suggestion? Thank you very much! |
2017-02-17 15:55:51 -0500 | received badge | ● Student (source) |
2017-01-09 09:20:31 -0500 | received badge | ● Famous Question (source) |
2016-07-04 12:29:42 -0500 | received badge | ● Famous Question (source) |
2016-01-24 11:20:31 -0500 | received badge | ● Popular Question (source) |
2016-01-24 11:20:31 -0500 | received badge | ● Notable Question (source) |
2015-12-02 20:07:33 -0500 | received badge | ● Famous Question (source) |
2015-11-28 10:28:16 -0500 | received badge | ● Famous Question (source) |
2015-09-23 19:20:27 -0500 | received badge | ● Notable Question (source) |
2015-08-24 04:06:13 -0500 | received badge | ● Supporter (source) |
2015-08-24 04:06:02 -0500 | commented answer | ROS3djs set URDF color not working Thank you very much!! It was just the same problem! |
2015-08-24 03:51:23 -0500 | received badge | ● Popular Question (source) |
2015-08-22 20:21:46 -0500 | asked a question | ROS3djs set URDF color not working Hello! I've built my own robot in solidworks, so I have the 3D .dae parts. I also have the URDF model working on the web browser by the package ros3djs ( http://wiki.ros.org/ros3djs/Tutorials... ). The problem is that when it displays the model on the web browser, each link gets a random color. I have set the color on the .dae file and also on the URDF file, but it's not working, every link keeps getting a random color. I get the following errors on the webconsole: Do you think it could be related to not showing the correct colors? Thank you very much! Regards. Ruben |
2015-08-21 09:40:03 -0500 | commented answer | ros3djs not able to display my 3D files Ohh! Thank you very much! I have been stuck for a few days on this. I really appreciate your help. Thank you again! It's working perfectly now! |
2015-08-21 07:01:11 -0500 | asked a question | ros3djs not able to display my 3D files Hello! I've built a part in solidworks and exported it into a STL file. So I'm trying to display it on the web browser through the package ros3djs ( http://wiki.ros.org/ros3djs/Tutorials... ). When I try to show it, the web console gives me an error, so I have converted into .dae format through the Meshlab software. I'm using the following URDF code: I don't know what could be going wrong, the same urdf is well-displayed in rviz. I have tested exchanging the path filename to a pr2_description part, and it does well on the web browser and rviz. Some errors are shown on the web console, but these are the same in both .dae files, so I think it is not the reason for not showing my model. I upload my .dae file if you want to test it. https://www.dropbox.com/s/m140qdyeze7... Any idea? I've been stuck in this for some days. I have also tried lighter .dae files without any success. And also tried to convert it into .dae format through other software such as OpenCollada in Maya, and some online converters. Thank you very much, I appreciate any help. Ruben |
2015-08-19 11:29:51 -0500 | received badge | ● Popular Question (source) |
2015-08-19 10:00:35 -0500 | received badge | ● Scholar (source) |
2015-08-19 08:52:09 -0500 | commented question | Collada .dae tag to open model in Rviz No,there are no errors. Yes, I tell the javascript where is my .dae file through the urdf file,where I specify the path of my file. The file that works properly is the l_finger.dae, that I've just attached, and comes from this package that you have said. So I'm trying to find the differences.Thanks! |
2015-08-19 07:09:14 -0500 | asked a question | Collada .dae tag to open model in Rviz Hello! I've built a 3D model robot in Solidworks, after that, I've exported it properly into an URDF model. Well, when it is exported (through the plugin sw_urdf_exporter), the 3D link models are created into different .stl files. My purpose is to visualize this model on the web browser ( http://wiki.ros.org/ros3djs/Tutorials... ). Then, I have converted the .stl files into .dae files through Meshlab, because .stl files give problems when they are displayed into the web browser. But when I try to visualize in the web browser, for instance, an only one .dae file of my robot it is not showed. However, trying it with the same URDF file, but exchanging the 3D file by the r2d2 gripper (it is also a .dae file, from the pr2_description package) it is properly displayed. So I think the problem must be any tag that I have to add to the .dae file, because the only variation I make is exchanging the file that the URDF opens. After all these tests, I've realised that when I open the urdf model in Rviz, when it is my 3D file, I have to add a robot model in rviz, to be able to see it (in the web browser I couldn't see it), but when it is the gripper mentioned before, rviz automatically create the robot model instance and I can see the gripper by only opening this file on rviz. Any idea of if any tag is needed to be added or why my .dae files are not being displayed on the web browser? I think the trouble of not showing it on the web browser could come from this difference between the .dae files. I have compared both .dae files, but I cannot recognise any bold element. Sorry for my lengthy post! Thank you very much, regards. Ruben EDIT: I attach both files, the "correct" (l_finger.dae) and the "incorrect" (anular_l.dae) one. https://www.dropbox.com/sh/bt9t8ygrrq... |
2015-08-12 05:59:20 -0500 | received badge | ● Notable Question (source) |
2015-08-12 05:07:07 -0500 | commented answer | URDF velocity limit, how it works? Ok, thank you very much! Un placer encontrar españoles por aquí. Regards from Málaga. |
2015-08-12 03:29:35 -0500 | received badge | ● Popular Question (source) |
2015-08-11 15:47:40 -0500 | commented question | URDF velocity limit, how it works? Aha! Ok, I understand what you mean. We are assembling a robot, so the idea was keeping the simulation near to the robot and watch both. So, it's better if they move in a similar way. Thank you very much, I will try it. |
2015-08-11 14:06:07 -0500 | commented question | URDF velocity limit, how it works? First of all, thank you for your answer. Yes, you are right, I'm using the joint_state_publisher gui sliders, I did not know it bypasses the limit. So, how I could implement this controller in operation? Is there any package to make it, or to make it easier? Thanks! |
2015-08-11 13:10:28 -0500 | asked a question | URDF velocity limit, how it works? Hello! I've taken the 06-flexible.urdf model from the urdf_tutorial package, and I've added the lines to set a velocity limit on the head_swivel joint into the urdf file. http://wiki.ros.org/urdf/XML/joint Then I've displayed it on rviz thinking that when I would make a fast change on the joint value, it would take a little more time to get into this position, but what I have found is that the velocity limit is not making any effect in the robot representation. The changes take effect inmediately. So, how is the velocity limit supposed to work? Thank you very much! Ruben |
2015-08-06 08:13:13 -0500 | received badge | ● Notable Question (source) |
2015-08-06 07:12:47 -0500 | answered a question | joint_state_publisher_js not showing sliders Thanks for your answer! I've checked it and I get the following messages:
I don't know why it says it's not defined when it really is. Thanks! |
2015-08-06 02:44:10 -0500 | received badge | ● Popular Question (source) |
2015-08-05 20:20:38 -0500 | asked a question | joint_state_publisher_js not showing sliders Hi, I have been testing the package from robotwebtools called join_state_publisher_js. The main purpose of this package is to control a 3d urdf model through the explorer. I'm using ubuntu 14.04 and ROS indigo. http://wiki.ros.org/joint_state_publi... Well, the problem is that the sliders, which should appear at the right of the 3d model, are not being represented, it's an empty space in my case. The 3D representantion runs properly. I have followed the brief tutorial, so I'm getting the model r2d2.xacro from the urdf_tutorial package to test it. I don't know if something is going wrong in this package or what is the problem, I have only got the code from the tutorial. Thank you very much! Regards EDIT: Note that packages joint_state_publisher_js and joint_state_publisher are not the same. Anyway I tried to set the use_gui param true, but It didn't work. EDIT2: I attach the html code I'm using, it's the same the tutorial gives. I'm using the r2d2 urdf movable model given my the urdf_tutorial package, you can find it there: https://github.com/ros/urdf_tutorial/... If I run the model by rviz and execute the normal joint_state_publisher I get it working and the joint menu appears when I set it to true. So I think the trouble is not in the model execution, because I can also view it properly on the web browser. The command I use to set it up is the following:
EDIT 3: Thanks for your answer! I've checked it and I get the following messages: (more) |
2015-06-13 08:21:33 -0500 | received badge | ● Famous Question (source) |
2015-06-10 04:03:25 -0500 | commented answer | How to build a package from source? Thank you very much! It is just what I was looking for! Thank you all for your help |
2015-06-10 03:08:19 -0500 | received badge | ● Enthusiast |
2015-06-09 09:29:33 -0500 | commented answer | How to build a package from source? Yes, you are right, I have installed that following the instructions given. But the main problem is that I have 188 packages aproximately within the src folder, so when I want to add a single package the catkin_make command make it to compile everything, which takes a lot of time in raspberry.Thanks |
2015-06-09 09:24:44 -0500 | received badge | ● Notable Question (source) |
2015-06-09 03:47:07 -0500 | received badge | ● Popular Question (source) |
2015-06-09 03:00:31 -0500 | edited answer | How to build a package from source? I've tried the command which comes in the tutorial for raspberry pi: But as I said before, It starts to compile the whole workspace (almost 200 packages). The raspberry pi is working well, but when it has got over 1 hour compiling, it crashes, I think it is due to the magnitude of the compiling process. So it is the reason I'm looking for the way to compile only the package I add. It's the message I get when it crashes. (more) |