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

Andre Volk's profile - activity

2023-07-26 06:57:19 -0500 received badge  Favorite Question (source)
2023-02-10 05:19:04 -0500 received badge  Nice Question (source)
2023-02-10 05:19:02 -0500 marked best answer ROS2: VCS error while updating source checkout

I successfully installed ROS 2 beta 2 from source following this page. Today I tried to update my local ROS 2 source files. I followed the instructions on this page, but vcs gives me an error for each repo, when I run vcs pull src. Here comes one of the error messages:

 === src/ament/ament_cmake (git) ===
 You are not currently on a branch.
 Please specify which branch you want to merge with.
 See git-pull(1) for details.

 git pull <remote> <branch>

As I do not have much experience with vcs, I have no idea where this comes from. The "ros2.repos" file has version tags for each repo.

2022-02-04 00:23:19 -0500 received badge  Nice Question (source)
2021-04-29 01:07:32 -0500 received badge  Great Question (source)
2020-10-22 10:42:02 -0500 received badge  Good Question (source)
2020-06-10 15:41:29 -0500 received badge  Famous Question (source)
2020-05-02 03:11:00 -0500 received badge  Guru (source)
2020-05-02 03:11:00 -0500 received badge  Great Answer (source)
2020-04-10 09:17:52 -0500 received badge  Nice Question (source)
2020-02-12 09:25:20 -0500 received badge  Famous Question (source)
2019-11-21 13:44:53 -0500 received badge  Nice Answer (source)
2019-09-16 15:26:56 -0500 received badge  Nice Answer (source)
2019-09-05 23:07:02 -0500 received badge  Good Answer (source)
2019-08-05 07:44:28 -0500 marked best answer How can I run ROS2 nodes in a debugger (e.g. gdb)?

Is there something like the --prefix argument from rosrun in ros2 (see #q222530)?

2019-08-05 07:44:28 -0500 received badge  Nice Answer (source)
2019-03-14 08:50:47 -0500 received badge  Notable Question (source)
2019-03-14 08:50:47 -0500 received badge  Famous Question (source)
2019-03-06 02:21:11 -0500 received badge  Guru (source)
2019-03-06 02:21:11 -0500 received badge  Great Answer (source)
2018-09-29 21:01:26 -0500 marked best answer Switching between controllers with ros_control / controller_manager

Is there an easy way to switch between different controllers for a single resource? I would like to control a joint of my Gazebo model either by effort_controllers/JointPositionController or effort_controllers/JointEffortController. I want to switch between these controllers during runtime by pressing a joystick button.

Right now, I make 4 service calls:

  1. Stop the current controller (by calling controller_manager/switch_controller)
  2. Unload the current controller (by calling controller_manager/unload_controller)
  3. Load the new controller (by calling controller_manager/load_controller)
  4. Start the new controller (by calling controller_manager/switch_controller again)

Is there an easier way to do that, like loading both controllers at the same time and only start/stop the corresponding controllers by a single switch_controller call? As the SwitchController Service has parameters for both start_controllers and stop_controllers, this seems to be supported somehow. But if I try to spawn both controllers in a launch file, I get a "resource conflict" error.

2018-09-29 21:01:26 -0500 received badge  Good Answer (source)
2018-09-20 14:09:56 -0500 edited answer How to subscribe to uknown amount of topics with unknown type.

The ROS Master_API will probably be your friend. Please also look at #q260633, which covers parts of your question. Wit

2018-09-19 13:40:10 -0500 edited answer Gazebo simulation GPS fix

I could not find out quickly, how the rover model from Erlerobot generates GPS data, but you could try to use the simula

2018-09-19 13:39:34 -0500 edited answer Gazebo simulation GPS fix

I could not find out quickly, how the rover model from Erlerobot generates GPS data, but you could try to use the simula

2018-09-19 13:35:17 -0500 received badge  Associate Editor (source)
2018-09-19 13:35:17 -0500 edited answer Using mapviz gpsfix vs navsatfix

I believe Mapviz already supports NavSatFix. Try to compile the most recent version of Mapviz from Source, just to make

2018-09-19 13:27:16 -0500 commented answer How to subscribe to uknown amount of topics with unknown type.

Arrrr! (https://discourse.ros.org/t/answer-ros-questions-like-a-pirate-day-2k18/6058)

2018-09-19 13:22:35 -0500 edited answer How to subscribe to uknown amount of topics with unknown type.

The ROS Master_API will probably be your friend. Please also look at #q260633, which covers parts of your question. Wit