Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

ODE fdir1 parameter broken #463

Closed
osrf-migration opened this issue Jan 30, 2013 · 15 comments
Closed

ODE fdir1 parameter broken #463

osrf-migration opened this issue Jan 30, 2013 · 15 comments
Labels
all bug Something isn't working major

Comments

@osrf-migration
Copy link

Original report (archived issue) by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


There used to be code that would rotate the fdir1 vector into the local coordinate frame of the geometry object, but this code is no longer active. This needs to be found and fixed.

@osrf-migration
Copy link
Author

Original comment by John Hsu (Bitbucket: hsu, GitHub: hsu).


we need to recover the old bit of code to make fdir1 make use of body-centric frame, see this bit of code that was lost in translation.

This will lead to better friction behavior rather than the global frame friction pyramid setting when vehicles are changing orientations.

@osrf-migration
Copy link
Author

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


  • set assignee_account_id to "557058:5de38267-b118-494c-aa76-4fab35448816"
  • changed assignee from "None (Bitbucket: None)" to "scpeters (Bitbucket: scpeters, GitHub: scpeters)"

@osrf-migration
Copy link
Author

Original comment by John Hsu (Bitbucket: hsu, GitHub: hsu).


fixed by pull request #429

also unveils issue #624

@osrf-migration
Copy link
Author

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).


  • changed state from "new" to "resolved"

Fixed in pull request #429

@osrf-migration
Copy link
Author

Original comment by Mike Purvis (Bitbucket: mikepurvis).


Sorry to resurrect this 2-year-old ticket, but I'm struggling with understanding what frame fdir1 is specified in. With no way to visualize the friction (GA), I'm left basically referencing ODE documentation (cf).

Is there a Gazebo doc I'm not seeing which describes what the deal is with friction?

@osrf-migration
Copy link
Author

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).


Unfortunately there is no gazebo doc. fdir1 is mostly an ODE thing. Here is where we adjust it

@osrf-migration
Copy link
Author

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).


  • set version to "all"

@osrf-migration
Copy link
Author

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).


  • changed state from "resolved" to "closed"

@osrf-migration
Copy link
Author

Original comment by Jim Hoekstra (Bitbucket: jim3101).


I also ran into the problem that fdir1 does not seem to rotate together with the robot, but stays relative to the world frame. Am I missing something or is there still an issue with fdir1?

@osrf-migration
Copy link
Author

Original comment by Jeremy White (Bitbucket: knitfoo).


I think there is a clear bug in this commit:

https://osrf-migration.github.io/gazebo-gh-pages/#!/osrf/gazebo/commits/1ac3c8bb3357 (e75cdf6)

The second adjustment sets 'fd2' to the rotated value, but fd2 is never again used. I believe it should, instead, set fd equal to the rotated value of fd2.

@osrf-migration
Copy link
Author

Original comment by Jim Hoekstra (Bitbucket: jim3101).


Does anyone know if there are any plans for fixing this issue? I would like to use this feature for a project I'm working on. Thanks in advance.

@osrf-migration
Copy link
Author

Original comment by Andrea Ruzzenenti (Bitbucket: aerydna).


OMG thats's why my simulation is not working anymore! I spent one week trying to understand why friction direction seems to be set in the world reference frame and not in the robot one! Please fix that commit!

@osrf-migration
Copy link
Author

Original comment by Mike Purvis (Bitbucket: mikepurvis).


Ticket filed: #2068

@osrf-migration
Copy link
Author

Original comment by Jeremy White (Bitbucket: knitfoo).


Just a side note, as I've explored this (trying to get a 4 wheeled FRC robot to behave), I have never encountered this bug 'in production'. That is, the way the collisions are chosen mean that my wheels are always the first element in the collision code, so the the fd2 code stanza never triggers. I imagine that if something else with an fdir1 was on top of my wheels I might see an actual problem. So I wouldn't jump to the conclusion that this is the key to your issue.

@osrf-migration
Copy link
Author

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


I apologize for the delay in responding, but I will respond in #2068

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
all bug Something isn't working major
Projects
None yet
Development

No branches or pull requests

1 participant