-
Notifications
You must be signed in to change notification settings - Fork 304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hardware_components_initial_state doesn't work #1128
Comments
Hi! Which ROS distro are you using? we renamed fake_components already some time ago and use mock components from humble on. |
Hi, Could you provide a very simple application example please? |
Have a look on this example how to use the mock_component, but this is not the problem here. (you should have got a warning with humble, that the fake_component is deprecated?). You write that your controller goes into active state? But the parameter is handling the hardware components.. I'm not sure what the controller_manager is doing with the controller, if the hw component is not in active state. Try |
I have a look on the example2 using I haven't any issue if I change
with
and the same behaviour is using mock_components/GenericSystem. So regarding the initial state I changed
and
I expected Diffbots hardware to be in an unconfigured state, but the command shows
and
that seems that hardware component is on active state |
The problem is that the parameter got renamed in rolling but the backport got stuck. Have a look at the docs of the humble branch, you have to use |
Thank you! |
you're welcome, does it work now? |
It works now as expected and the
|
|
Dear both, As for the aforementioned "configure_components_on_start", I think it is about the inactive state, not the unconfigured state. Hope this did not bother you. I created a new bug issue at #1780 |
@Elfits you can set the components to the unconfigured state using this parameter ros2_control/controller_manager/src/controller_manager.cpp Lines 406 to 409 in b009881
|
FYI,
Please see #1780 |
Hi all,
I would to launch
ros2_control_node
having my hardware component oninactive
state as first state.I read the documentation at https://control.ros.org/master/doc/ros2_control/controller_manager/doc/userdoc.html that works like
and my ros2_control description looks like:
When writing in my
ros2_controller.yam
the following code, controllers go immediately in the activate state, and do not stop in the inactive. What am I doing wrong?Thanks
The text was updated successfully, but these errors were encountered: