Coder Social home page Coder Social logo

Comments (3)

grassjelly avatar grassjelly commented on June 22, 2024

Hey Lucas,

Thanks for your interest in CHAMP. Unfortunately, the assumptions must be strictly adhered for now. This is to generalize the IK engine across multiple robots. I took a quick glance on your URDF and I think I can help to make the changes. If you're okay I can push the generated config file as well in the official robots too.

from champ_setup_assistant.

grassjelly avatar grassjelly commented on June 22, 2024

Hey Lucas,

I did a copy of the xacro file on my forked version that makes Popi's URDF compatible with CHAMP. https://github.com/chvmp/popi_project. Let me know if you're keen on merging this version to your repo so I can send a PR.

Here's Popi in RVIZ walking after configuration. Nominal Height set to 0.4
popi

from champ_setup_assistant.

popi-mkx3 avatar popi-mkx3 commented on June 22, 2024

Hi grassjelly,

I am deeply sorry it took me so long to reply, I did not see my email notification about your answers !
I just tried it out and had a look at the changes you made on the xacro file. I have to admit I am a bit ashamed for not figuring out how to make these changes myself, thank you for teaching me.

I had to make some adjustments though, especially I had to remove the tag generated in every tags because it notified me with an error when trying to use the bringup.launch file. I also had to replace the boxes dimensions because some of them had negative values.
By the way, thank you for replacing the meshes with boxes, I know it's better for performances but never took the time to do it.

At this point, it worked really well in RViz, but the legs would stay stretched out in Gazebo. After some times, I figured out what the problem was. The knee couldn't bend because of the limits. I changed :
lower = "-0.26" upper = "1.92" into lower = "-1.92" upper = "0.26"
And this works better. Though I had to tune the gaits parameters to find something that would move the intended way. With a trials & errors method, I came up with these parameters:

knee_orientation : ">>"
pantograph_leg : false
odom_scaler: 1.0
max_linear_velocity_x : 0.5
max_linear_velocity_y : 0.25
max_angular_velocity_z : 1.0
com_x_translation : -0.08
swing_height : 0.15
stance_depth : 0
stance_duration : 0.6
nominal_height : 0.487

Also had to up the knees velocity to 3.14 rd/s, though I'm absolutely certain my physical robot couldn't keep up the pace.

If you have better insights to tune these parameters I'll be really happy to have your opinion. In the meantime, I'd be glad to receive your PR. I'll update it with my adjustments afterwards.

I'd be happy to have my humble model join your official repo as well.

Thanks again for your amazing work,
Lucas

from champ_setup_assistant.

Related Issues (20)

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.