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

sverre's profile - activity

2022-10-05 05:54:49 -0500 received badge  Nice Question (source)
2021-06-30 03:31:10 -0500 received badge  Nice Question (source)
2021-03-12 07:08:51 -0500 commented answer How can I update/remove cmake without partially deleting my ROS distribution?

Thanks! This worked like a charm :)

2020-12-09 14:05:35 -0500 received badge  Notable Question (source)
2020-12-09 14:05:35 -0500 received badge  Famous Question (source)
2020-09-16 04:33:56 -0500 received badge  Famous Question (source)
2020-09-16 04:33:56 -0500 received badge  Notable Question (source)
2020-05-07 07:33:58 -0500 received badge  Enthusiast
2020-04-19 04:01:54 -0500 commented answer Ensuring mutual exclusion between different actions

Using an action server then new calls to the lock would preempt old calls, or is there a way to make the action server p

2020-04-17 09:42:47 -0500 commented answer Ensuring mutual exclusion between different actions

Ah, so you are thinking a separate mutex node where all other action nodes will run a service asking for the lock. If th

2020-04-17 09:29:58 -0500 marked best answer Ensuring mutual exclusion between different actions

Hi! I'm looking for a good way to ensure that different actions do not run at the same time.

Let's say we have a robot that can do different actions, such as moving and making a measurement. It seems natural to implement each of these actions as different actionlib servers as they would require different types of variables as a goal. But we want to avoid multiple actions running at once, such as the robot starting to move while it is making a measurement.

What would be a good way to design such a system? Such that it is simple to add on more actions when needed with minimal re-writing. While ensuring that the actions cannot run at the same time.

Looking forward to your answers :)

2020-04-16 12:55:55 -0500 received badge  Popular Question (source)
2020-04-16 11:55:44 -0500 received badge  Student (source)
2020-04-16 10:01:57 -0500 asked a question Ensuring mutual exclusion between different actions

Ensuring mutual exclusion between different actions Hi! I'm looking for a good way to ensure that different actions do n

2020-04-13 09:41:08 -0500 received badge  Popular Question (source)
2020-04-13 08:31:01 -0500 commented answer Ros commands no longer working after source catkin_ws/devel/setup.bash

A follow-up question since only one source command can be run at once. Should then only the catkin_ws/devel/setup.bash b

2020-04-13 08:27:21 -0500 commented answer Ros commands no longer working after source catkin_ws/devel/setup.bash

Thanks a lot! :D Deleting the build and devil folders worked :) When I ran catkin_make I got en error that it could not

2020-04-13 08:25:45 -0500 received badge  Supporter (source)
2020-04-13 08:25:43 -0500 commented answer Ros commands no longer working after source catkin_ws/devel/setup.bash

Thanks a lot! :D Deleting the build and devil folders worked :) When I ran catkin_make I got en error that it could not

2020-04-13 08:23:36 -0500 marked best answer Ros commands no longer working after source catkin_ws/devel/setup.bash

Hi! One day I was suddenly not able to run my ros projects anymore. When I source /opt/ros/melodic/setup.bash the ros commands become available, such as catkin_make. But when I then try to source ~/scout/catkin_ws/devel/setup.bash such that I can run my own project files, the ros commands are no longer working. When I type for example catkin_make I get the following error:

Command 'catkin_make' not found, but can be installed with:

sudo apt install catkin

If I now re-run source /opt/ros/melodic/setup.bash the ros commands are working again, such as cakin_make. But I am not able to run any of my projects. Double tab-ing after typing rosrun does not show any of my projects, they do not autocomplete, and if I try to run them I get the warning '[rospack] Error: package "name of package" not found'. (where the name of my package is shown instead of "name of package").

It seems like to me that devel/setup.bash is malfunctioning and somehow counteracting melodic/setup.bash without doing what it is supposed to. Everything was working yesterday morning, and then it suddenly stopped working.

Im running on Ubuntu 18.04.4, ros melodic, and have installed gazebo9 if that is relevant. I normally run source from .bashrc, but I removed them in this test and ran them manually instead.

Any help in debugging this problem is highly appreciated! If there is some info that is missing please tell me, as I don't understand the problem and since I'm quite new to ROS I don't really know what's important and where to look...

Thank you in advance :)

2020-04-13 08:23:36 -0500 received badge  Scholar (source)
2020-04-13 05:32:39 -0500 asked a question Ros commands no longer working after source catkin_ws/devel/setup.bash

Ros commands no longer working after source catkin_ws/devel/setup.bash Hi! One day I was suddenly not able to run my ros