ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2020-09-15 03:33:46 -0500 | received badge | ● Famous Question (source) |
2020-07-05 19:30:20 -0500 | received badge | ● Famous Question (source) |
2020-07-05 19:30:20 -0500 | received badge | ● Notable Question (source) |
2020-05-28 04:57:44 -0500 | commented question | Docker with rqt problem with black dialog/menu/dropdown I came here with the same problem and QT_X11_NO_MITSHM=1 seems to solve the problem for me. |
2020-04-10 14:16:51 -0500 | received badge | ● Notable Question (source) |
2020-02-26 03:55:10 -0500 | marked best answer | How to execute python scripts in their source folder when using colcon? I've just started using colcon to build a bunch of ROS packages, mixed python/C++. colcon moves the built packages to the install folder, including the python files. After sourcing install/setup.bash I can roslaunch my python nodes. However, the python files being executed are the ones copied to the install folder, so if I want to attach a debbuger to the running python code I have to do it with the files copied to the install folder. This is a big problem for me, because I'm constantly changing the python code while debugging and I want to do that in the source folder, not in the install folder. I have tried to use colcon build with --symlink-install but it still copies the python files. Is there any way to execute the python files in the source folder? UPDATE: I haven't got to work --symlink-install as I would expect yet. So I'll give a bit more of detail on what I've tried so far: first: I use Ubuntu 18.04 with ROS Melodic. the colcon version is: As my python node is very short I initially tried to install it as a script: My directory structure is: My CMakeLists.txt is: The package.xml is minimal with only catkin as buildtool_depend I build with: colcon build --symlink-install --packages-select gazebo_utils I source . install/setup.bash and I can roslaunch gazebo_utils node.launch successfully and the node works. However, what has been installed and is executed is: and my python code is a copy no a symlink. Then I tried to put the code into a python package: I use this directory structure: __init__.py is empty The CMakeLists.txt now is: and setup.py is: (more) |
2020-02-26 03:55:10 -0500 | received badge | ● Scholar (source) |
2020-02-25 10:44:40 -0500 | received badge | ● Popular Question (source) |
2020-02-25 04:22:45 -0500 | edited question | How to execute python scripts in their source folder when using colcon? How to execute python scripts in their source folder when using colcon? I've just started using colcon to build a bunch |
2020-02-25 04:20:57 -0500 | edited question | How to execute python scripts in their source folder when using colcon? How to execute python scripts in their source folder when using colcon? I've just started using colcon to build a bunch |
2020-02-25 04:17:59 -0500 | edited question | How to execute python scripts in their source folder when using colcon? How to execute python scripts in their source folder when using colcon? I've just started using colcon to build a bunch |
2020-02-22 08:07:06 -0500 | edited question | How to execute python scripts in their source folder when using colcon? How to execute python scripts in their source folder when using colcon? I've just started using colcon to build a bunch |
2020-02-20 06:53:31 -0500 | commented question | How to execute python scripts in their source folder when using colcon? I see there are some symlinks in the build folder but not for my python file. In the CMakeLists for the ros package I us |
2020-02-19 06:59:51 -0500 | asked a question | How to execute python scripts in their source folder when using colcon? How to execute python scripts in their source folder when using colcon? I've just started using colcon to build a bunch |
2019-09-19 14:16:43 -0500 | received badge | ● Self-Learner (source) |
2019-09-19 14:16:43 -0500 | received badge | ● Teacher (source) |
2019-09-19 14:11:27 -0500 | received badge | ● Student (source) |
2019-08-15 04:20:09 -0500 | received badge | ● Popular Question (source) |
2019-07-17 07:13:04 -0500 | commented question | moveit! motion planning reuse thanks! I'll keep a eye that issue. |
2019-07-17 05:13:54 -0500 | asked a question | moveit! motion planning reuse moveit! motion planning reuse I'm using moveit!'s default RRTConnectkConfigDefault motion planner to control an arm. Is |
2019-06-20 05:54:04 -0500 | commented answer | Rosbag: play on demand service pub_next_msg() needs to return a response, otherwise a "service handler returned None" error occurs. I add: return Empt |
2019-06-13 02:39:02 -0500 | received badge | ● Famous Question (source) |
2019-06-06 09:12:17 -0500 | received badge | ● Notable Question (source) |
2019-06-06 01:45:38 -0500 | received badge | ● Popular Question (source) |
2019-05-29 04:08:22 -0500 | commented question | rqt_console from terminal? Luckily the interfering messages came from a subpackage, so I've been able to change the loging severity for that subpac |
2019-05-29 04:03:35 -0500 | edited question | rqt_console from terminal? rqt_console from terminal? I find difficult to read some debug log messages which have indenting structure with rqt_cons |
2019-05-29 03:59:38 -0500 | edited question | rqt_console from terminal? rqt_console from terminal? I find difficult to read some debug log messages which have indenting structure with rqt_cons |
2019-05-29 03:59:38 -0500 | received badge | ● Editor (source) |
2019-05-29 03:59:00 -0500 | edited question | rqt_console from terminal? rqt_console from terminal? I find difficult to read some debug log messages which have indenting structure with rqt_cons |
2019-05-28 11:18:44 -0500 | asked a question | rqt_console from terminal? rqt_console from terminal? I find difficult to read some debug log messages which have indenting structure with rqt_cons |
2019-03-29 05:06:02 -0500 | received badge | ● Popular Question (source) |
2019-03-14 11:24:35 -0500 | commented answer | Use crystal rqt_graph 1.0 in kinetic possible? These are the improvements in rqt_graph 1.0 https://github.com/ros-visualization/rqt_graph/pull/13 |
2019-03-14 11:24:22 -0500 | commented answer | Use crystal rqt_graph 1.0 in kinetic possible? These are the improvement in rqt_graph 1.0 https://github.com/ros-visualization/rqt_graph/pull/13 |
2019-03-14 06:44:51 -0500 | asked a question | Use crystal rqt_graph 1.0 in kinetic possible? Use crystal rqt_graph 1.0 in kinetic possible? I'm relatively new to ROS and I'm trying to understand a quite complex sy |
2019-01-11 12:45:21 -0500 | marked best answer | Remove a single ROS package I'm still trying to solve this problem in another question. I decided to uninstall camera_calibration and install it again, see if that helps. However if I try to remove the package with apt-get it also wants to remove the whole ROS! what's the correct way of removing a single package? see output below: |
2019-01-11 12:40:10 -0500 | marked best answer | camera_calibration opens gui window but freezes I'm trying to run the camera_calibration node. I run this command: I see a window opening but then it freezes indefinitely. I tried to debug cameracalibrator.py and saw that the freeze occurs at the cv2.namedWindow("display", cv2.WINDOW_NORMAL) in the run() method of DisplayThread which is created in the OpenCVCalibrationNode __init__(). I have tried to move the cv2.namedWindow somewhere else but it also freezes. In fact after trying a few times the freeze transforms into a segmentation fault when executing the cv2.namedWindow statement. Any idea what could the problem be? I'm running Ubuntu 16.04, ROS kinetic, opencv version is 3.3 |
2018-12-11 03:21:29 -0500 | received badge | ● Famous Question (source) |
2018-09-28 03:42:21 -0500 | received badge | ● Famous Question (source) |
2018-07-16 17:18:56 -0500 | received badge | ● Notable Question (source) |
2018-07-12 05:38:52 -0500 | received badge | ● Enthusiast |
2018-07-09 09:24:25 -0500 | received badge | ● Notable Question (source) |
2018-07-06 03:57:49 -0500 | answered a question | camera_calibration opens gui window but freezes This was an opencv library version conflict, as I suspected. I had opencv 3.4 also in a development folder. Despite came |
2018-07-04 09:47:37 -0500 | received badge | ● Popular Question (source) |
2018-07-04 04:31:03 -0500 | commented answer | Remove a single ROS package I get the same output with remove, instead of purge |
2018-07-04 02:59:58 -0500 | asked a question | Remove a single ROS package Remove a single ROS package I'm still trying to solve this problem in another question. I decided to uninstall camera_c |
2018-07-04 02:52:49 -0500 | received badge | ● Popular Question (source) |
2018-07-04 02:29:08 -0500 | received badge | ● Supporter (source) |
2018-07-03 09:38:48 -0500 | commented answer | camera_calibration opens gui window but freezes yes it freezes at the start. I have waited for a long time anyway, but I think it's not related with the calibration com |