Skip to content
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

Is ROS being used in the project? #20

Closed
Robotgir opened this issue Mar 20, 2022 · 3 comments
Closed

Is ROS being used in the project? #20

Robotgir opened this issue Mar 20, 2022 · 3 comments

Comments

@Robotgir
Copy link

I saw the mention of URDF files but couldnt find a trace of ROS anywhere. If ROS is not used where for example in the project are these URDF files used?
I wanted to implment this project but only in simulation. Is this possible without having a physical setup?

@fwiebe
Copy link
Member

fwiebe commented Mar 21, 2022

Hi @Robotgir, the URDF files are provided in case anybody would like to work with them. At the moment they are used to load the robot model in Crocoddyl in the DDP trajectory optimization

self.robot = RobotWrapper.BuildFromURDF(self.urdf_work_path)

ROS is currently not used in the project.
This project can absolutely be used in simulation only :) See here for simulation examples of various control methods.

@Robotgir
Copy link
Author

Thanks for the answer!
I have noticed the python simulation files but was not sure how they would visually simulate without using ROS.
So the project uses "Crocoddyl" for visual simulation correct? I have never used Crocoddyl but should not be hard to use it looking at the doccumentaion available.

Correct me if i am understanding something wrong.
Thanks alot @fwiebe

@fwiebe
Copy link
Member

fwiebe commented Mar 21, 2022

Most of the simulations and visualizations are realized with the dependency-free plant for the pendulum dynamics. The simulator class performs the integration and provides a visualization with matplolib.animation.

The simulated DDP trajectory (see this example and here the implementation) can be visualized in the gepetto viewer, for which interfaces inside crocoddyl exist

self.display = crocoddyl.GepettoDisplay(self.robot, floor=False)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants