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

hector_quadrotor_controller couldn't find controller_manager

asked 2015-11-18 16:30:20 -0600

Spyri gravatar image

updated 2016-10-24 09:10:54 -0600

ngrennan gravatar image

Hello, I've been trying to use hector_quadrotor_controller but I'm not sure what I'm missing, my setup is the following:

I'm using hector_quadrotor_teleop to capture controls from a joypad and trying to send those /cmd_vel messages to quadrotor but when I launch hector_quadrotor_controller it asks me for controller_manager/load_controller. Not sure what I'm supposed to implement here, can someone give me some tips?

My goal is to get those /cmd_vel messages 'transformed' into a motor pwm signal.

I'm running an Ubuntu 14.04.02, so ROS-Indigo. Sorry if there are any information missing, this is my first question, just say the word I will fix it.

Edit1:I keep reading about how to use this package for simulation, mostly oriented at Gazebo, am I missing something? I would think that it generates voltage signals to the motor that can be used in a real quadrotor.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-03-30 06:15:22 -0600

lsrosa gravatar image

I had the same problem. Two things to watch ou are 1. the namespace (note the ns=...), and 2. remapping the topic (note the <remap ....).

<!-- load the controllers -->
        <node 
            name="ros_controller_manager" 
            pkg="controller_manager" 
            type="spawner" 
            ns="$(arg robot_name)$(arg model)"
            respawn="false"
            output="screen" 
            args="$(arg controllers_to_start)"
        >
            <remap 
               from='robot_description'
               to="/$(arg robot_name)$(arg model)/description"
            />
        </node>
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-11-18 16:30:20 -0600

Seen: 145 times

Last updated: Mar 30 '23