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

[WIP][RobotModel] symbolic robot model calculation framework with pinocchio and casadi #595

Closed

Conversation

sugikazu75
Copy link
Member

@sugikazu75 sugikazu75 commented Mar 17, 2024

What is this

This is a modeling framework with symbolic expression.
This will be used for dynamics and gradient based optimization.
This PR is based on JSKAerialRobot/aerial_robot_3rdparty#19

Details

  • load robot model urdf from rosparameter server.
  • pinocchio robot model and data with type of casasdi::SX are created.
  • calculate some variables with casadi::SX that provide symbolic calculation.

TODO

  • add necessary variables
  • consider DesireCoordinate for calculation of each variables. (or remove this system)
  • remove hard coded part

Usage

For now, we can use PinocchioRobotModel class like as follows. This variable should be created in node with robot namespace.

boost::shared_ptr pinocchio_robot_model = boost::make_shared<PinocchioRobotModel>();

Or, we can see the overview of the urdf in rosparameter like as follows

rosrun aerial_robot_model pinocchio_test __ns:=dragon

…te pinocchio model library and execution node
…and ros wrapper which load base class as plugin
@sugikazu75 sugikazu75 closed this Mar 17, 2024
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

Successfully merging this pull request may close these issues.

1 participant