-
Notifications
You must be signed in to change notification settings - Fork 276
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
Write a tutorial about using transport parameters with systems #1845
Comments
Hi @scpeters and @azeey I have made a PR to the Gazebo tutorials repo that resolves this issue: osrf/gazebo_tutorials#175 I'm curious to hear your feedback and improvise! |
So just to add on that (@Gaurang-1402 noticed it first on his PR), is that I'm currently trying to build harmonic from source to see if this is still the case on the latest development branch but if this is the case than I assume we need to make an issue on gz-transport github repo right? |
The description mentions that the demo is in the parameters-component-wheel-slip-demo6 branch along with a specific commit in gz-msgs. Can you give that a try? |
yes... I should really learn to read the whole description in not a hurry. Thanks for notifying me. Absolutely I'll try that out as soon as I manage to build source without my pc freezing. I'll report back once I do. |
wait, it seems that that branch was made from the gz-sim-6 era so that's probably not going to work unless I rebase the changes (if that is still possible). Perhaps the easiest now is I'll use it as a reference to work on the example for the multicopter velocity control tuning that I've been working on: https://github.com/knmcguire/gz-plugin-multicopter-velocity-tuning. Bit of 2 birds one stone scenario since I'll need to work on this anyway for my work's project |
or option 3.... I look in the code of gz_sim8 and find out that most of the branch has already been implemented 😄 Except for the wheel-slip plugin, of which I made a draft pull request for: #2518. There are still some iffy things happening so I'd need some help with that, but once that is merged than we are one step closer of making this tutorial a reality at least. |
Desired behavior
A new feature was added in gazebosim/gz-transport#305 to declare and use parameters. An interface to this functionality was added for gz-sim systems in #1431, with a demo in the parameters-component-wheel-slip-demo6 branch and gazebosim/gz-msgs@e19f8e5. This demo should be merged to a release branch along with a tutorial.
Alternatives considered
Implementation suggestion
Demo instructions from #305:
Steps to run the demo:
fortress
checking out the two branches specified above (I can provide PRs for another version if needed).List available parameters:
Expected output
Get the
systems.wheel_slip.trisphere_cycle1.wheel_front
parameter:Expected output
Set the
systems.wheel_slip.trisphere_cycle1.wheel_front
parameter to a different value:Expected output
Get the
systems.wheel_slip.trisphere_cycle1.wheel_front
parameter again, its value should have changed:Expected output
Additional context
The text was updated successfully, but these errors were encountered: