-
Notifications
You must be signed in to change notification settings - Fork 765
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
[ros2] - /gazebo/set_model_state service isn't showing up #838
Comments
I should have mentioned: |
No, that service hasn't been ported to ROS2 yet, see #779. If that's blocking you, I can try to make some time to port it, it shouldn't be too hard. |
Actually I can live without that service for now, but just realized that also the /gazebo/model_states topic is also missing. That's a higher priority IMO. We're trying to use gazebo for testing and need to get the model state to know if the robot has arrived at the goal pose. |
I've assigned the model states services and topics to myself, I'll tackle it asap. |
Thanks @chapulina |
@chapulina Has |
It's currently in a pull request: #839 Given the time it's been up for review, I'm inclined to merge it if I get a positive review from someone in the community. |
We have been using a merged gazebo_ros_pkgs with ros2_time_cmds, ros2_state and ros2_properties (my PR) for the last 20 days, intensively on a daily basis. Mainly for the upcoming version of gym_gazebo. No errors so far, I'd say ros2_state is ready to merge and others too. |
Thanks for the feedback, @nzlz ! I'll rebase all the PRs and run CI one more time tomorrow. If CI comes back clean, I'll merge them and prepare a new release. |
#839 merged |
Hello, Im running ros2 on Foxy, and the service set_model_state is still not showing. I'm seeing exactly what the OP intially posted. Has the service been ported yet? OS: Ubuntu 20.04 |
Sorry for the confusion but the reason the service wasn't showing up for me was because I hadn't added the plugin to the world file. Once I added the plugin for the service at the top of the world like this: The service showed up after the |
@i1Cps do you had to change anything else to make it run? I have added this snippet just below my |
Hello, I have this, at the start of my world file:
|
I'm trying to call the set_model_state service, but I don't see it listed when I do a service list, and when I try to call it I get
waiting for service to become available...
Is this supposed to be available in ROS2? I'm running gazebo with this command:
The text was updated successfully, but these errors were encountered: