Giter VIP home page Giter VIP logo

cassie_model's Introduction

Cassie Model

This repository can be used to generate a model of the Cassie-series robot using FROST.

Requirements

Generating Cassie's kinematics and dynamics

  1. Open the model_gen.m script in MATLAB.
  2. Modify FROST_PATH to reflect your FROST installation directory.
  3. Generate the Cassie FROST model by runnning the first block of code, ending at line
    cassie = Cassie('urdf/cassie.urdf').
  4. Run the rest of the script to generate and export various kinematic and dynamics functions.

Cassie coordinate system

Base DOFs

  • q(1) - x
  • q(2) - y
  • q(3) - z
  • q(4) - yaw
  • q(5) - pitch
  • q(6) - roll

Left side joints

  • q(7) - hip abduction
  • q(8) - hip rotation
  • q(9) - hip flexion
  • q(10) - knee joint
  • q(11) - knee spring (constrained to 0)
  • q(12) - ankle joint (constrained to q12 = deg2rad(13) - q10)
  • q(13) - toe joint

Right side joints

  • q(14) - hip abduction
  • q(15) - hip rotation
  • q(16) - hip flexion
  • q(17) - knee joint
  • q(18) - knee spring (constrained to 0)
  • q(19) - ankle joint (constrained to q19 = deg2rad(13) - q17)
  • q(20) - toe joint

cassie_model's People

Contributors

ayonga avatar rosshartley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cassie_model's Issues

some question

Hi, I'm trying to get Cassie's dynamics Model. I followed the steps, but I get the following error message ¿What could I be doing wrong?
错误使用 eval_math (第 46 行)
The evaluation of Mathematica expression failed.

出错 SymExpression (第 91 行)
eval_math([obj.s '=' obj.f ';']);

出错 eval_math_fun (第 53 行)
ret = SymExpression(fstr,varargin{:});

出错 RobotLinks/configureDynamics (第 44 行)
De{i} = eval_math_fun('InertiaMatrixByLink',[links(i),{obj.numState}]);

出错 model_gen (第 36 行)
cassie.configureDynamics('DelayCoriolisSet',false);

Meshes missing

Hi,

Would it be possible for you guys to provide the 'cassie_description' package (which contains the meshes) as well?

Best

Question about IK of Cassie

Hi, I'm quite impressed with the performance of Cassie via the youtube video and I am also working on the researches of the gait pattern of biped robots. I try to read some relative papers and the codes but found nothing about inverse kinematic of Cassie. How do you deal with the IK problem? I tried to solve IK with DH parameters but failed. Do you control the angle of joints directly? If so, how do Cassie accomplish motions like walking or squat? Any information would be much appreciated. Thank you.

internal compiler error: Segmentation fault

I occasionally get the following error when using make. Any idea what might be causing this. I also recompiled all the functions in MATALB before running make.

/mnt/d/research/git/Cassie_CFROST/Cassie_two_step/opt_two_step_ds/periodic/c_code/src/gen/J_dxDiscreteMapLeftImpactDoubleSupport.cc: In function ‘void frost::gen::J_dxDiscreteMapLeftImpactDoubleSupport(double*, const double*)’: /mnt/d/research/git/Cassie_CFROST/Cassie_two_step/opt_two_step_ds/periodic/c_code/src/gen/J_dxDiscreteMapLeftImpactDoubleSupport.cc:96209:1: internal compiler error: Segmentation fault } ^ mmap: Cannot allocate memory Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions. /mnt/d/research/git/Cassie_CFROST/Cassie_two_step/opt_two_step_ds/periodic/c_code/src/gen/J_dxDiscreteMapRightImpactDoubleSupport.cc: In function ‘void frost::gen::J_dxDiscreteMapRightImpactDoubleSupport(double*, const double*)’: /mnt/d/research/git/Cassie_CFROST/Cassie_two_step/opt_two_step_ds/periodic/c_code/src/gen/J_dxDiscreteMapRightImpactDoubleSupport.cc:96209:1: internal compiler error: Segmentation fault } ^ CMakeFiles/program.dir/build.make:5126: recipe for target 'CMakeFiles/program.dir/src/gen/J_dxDiscreteMapLeftImpactDoubleSupport.cc.o' failed make[2]: *** [CMakeFiles/program.dir/src/gen/J_dxDiscreteMapLeftImpactDoubleSupport.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions. CMakeFiles/program.dir/build.make:5174: recipe for target 'CMakeFiles/program.dir/src/gen/J_dxDiscreteMapRightImpactDoubleSupport.cc.o' failed make[2]: *** [CMakeFiles/program.dir/src/gen/J_dxDiscreteMapRightImpactDoubleSupport.cc.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/program.dir/all' failed make[1]: *** [CMakeFiles/program.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2

Duplicated base links: left_pelvis_abduction and right_pelvis_abduction.

Hi, I'm trying to get Cassie's dynamics Model. I followed the steps, but I get the following error message ¿What could I be doing wrong?

Error using RobotLinks/findBaseLink (line 30)
Duplicated base links: left_pelvis_abduction and right_pelvis_abduction.

Error in RobotLinks/configure (line 106)
base_dofs(end).Child = findBaseLink(obj,joints);

Error in RobotLinks (line 97)
configure(obj, config, base, load_path, varargin{:});

Error in Cassie (line 55)
obj = obj@RobotLinks(config, base, [], 'removeFixedJoints', true);

Error in model_gen (line 19)
cassie = Cassie(fullfile('urdf','cassie.urdf'));

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.