-
Notifications
You must be signed in to change notification settings - Fork 37
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
Add multirobot example #46
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 0 of 62 files reviewed, 2 unresolved discussions (waiting on @EricCousineau-TRI and @gbiggs)
a discussion (no related file):
Should the iiwa_description directory be made its own package? (Or, is it already a package somewhere that we can use?)
We should use Drake's version, and not re-vendor it here.
And I believe our version does not use /robot_description
, so we need not expose it (yet) on the package path.
a discussion (no related file):
Should we add a C++ version of the sample as well?
Nah, I think Python is sufficient!
a discussion (no related file):
Is "the robots all fall down due to gravity" a sufficient example, or should the robots do something?
I think it's fine as long as it's clearly indicated somewhere (README) that this is the expected behavior, e.g.
This will simulate the array of IIWA robots without control. The expected behavior is for
them to "flop" about as simulation time progresses.
@IanTheEngineer Do you have a suggestion on how to find the location of the My first thought is to configure a Python file using CMake so that it contains the path as found by CMake's |
7e2b2e5
to
7f33cc5
Compare
Depends on #39 |
4cae022
to
1fb51f4
Compare
875f962
to
3d3247e
Compare
From Anzu: PackageMap MakeDefaultAnzuPackageMap() {
PackageMap package_map;
// Add ability to read `package://anzu` URIs.
const anzu::filesystem::path packagefile_abspath =
FindAnzuResourceOrThrow("package.xml");
package_map.Add("anzu", packagefile_abspath.parent_path());
// Add packages from drake.
const anzu::filesystem::path abspath_under_drake_root =
drake::FindResourceOrThrow("drake/.drake-find_resource-sentinel");
package_map.PopulateFromFolder(abspath_under_drake_root.parent_path());
return package_map;
} |
That stanza is no longer relevant (it used to be relevant last year). The |
ah, kewl. will scrub that from Anzu's code then - thanks! |
Signed-off-by: Shane Loretz <[email protected]> Signed-off-by: Michel Hidalgo <[email protected]>
Signed-off-by: Michel Hidalgo <[email protected]>
Signed-off-by: Michel Hidalgo <[email protected]>
Includes Drake C++ systems for tf2 broadcasting. Signed-off-by: Michel Hidalgo <[email protected]>
Signed-off-by: Michel Hidalgo <[email protected]>
Signed-off-by: Michel Hidalgo <[email protected]>
Signed-off-by: Michel Hidalgo <[email protected]>
Signed-off-by: Michel Hidalgo <[email protected]>
Signed-off-by: Aaron Chong <[email protected]>
Signed-off-by: Geoffrey Biggs <[email protected]>
Signed-off-by: Geoffrey Biggs <[email protected]>
Signed-off-by: Geoffrey Biggs <[email protected]>
Signed-off-by: Geoffrey Biggs <[email protected]>
41a756e
to
4bb6d8e
Compare
Thanks for the tip, @EricCousineau-TRI . I've got it working. However, somewhere in my rebasing I messed up, somehow, and now this PR wants to remove all of the |
This PR adds a multirobot example using Drake-ROS. It creates a two-dimensional array of Kuka LBR iiwa robots, which can then be visualised using rviz.
See the README.md file for how to run the example.
Questions that need answering:
iiwa_description
directory be made its own package? (Or, is it already a package somewhere that we can use?)This change is