Mobile robot loses balance when arms are moving

Offen
#371 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
25/100
Issue-Typ
Bug
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
csharp, unity
Bereich
robotics

Rechercherichtung

Start with the URDF Importer articulation body setup and reproduce the two-arm movement using the stated masses, stiffness, damping, and force-limit values. The issue names no source files or tests, and its acceptance criteria need maintainer clarification beyond preventing the body from falling or shaking.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Describe the bug
I have been running into some issues trying to simulate joint movement in our mobile robot, built with the URDF importer. I am moving the robot by changing the target parameter in the articulation body component leaving target velocity permanently as 0. As I use the values recommended for stiffness, damping and force limit with the REAL MASSES of the parts(each arm is a total 4.5 kg, body 65 kg and wheels 1 kg) the result is that the robot falls on its face when lifting both arms upwards. Increasing stiffness makes the joints more firm but increases the force on the robot body on the other hand increasing damping makes the joint weak to the pull of gravity to a point where they refuse to respond at all. A compromise I found was to increase the mass of either the wheels, the body or a combination of the two significantly which in turn hurts the accuracy(which is a big focus for us) and makes the robot jitters slightly in so creating an effect of the world shaking and lastly sudden movements still rattle the robot. I have been trying to find a sweet spot where the world doesn't shake, the joints are not "limp" and the robot doesn't fall to the ground from basic movement and have been falling short of reaching this goal. Any advice would be greatly appreciated. Trying to remove wheels or create collision really small to make sure they dont interfere with each other has no yielded any positive results.

To Reproduce

  1. Create a simple robot URDF with just a body and two arms with two links each
  2. make the body mass 65 and arms 4.5
  3. make the second joint of the arm lift the arm upwards
  4. lift both arms up at the same time

Expected behavior
I expected the arm to rise while the body stay completely still, as the real robot behaves.

Screenshots
(https://user-images.githubusercontent.com/99715242/167649738-3c8a6d73-3c14-4f1e-8708-648f00f11c21.mp4)

Environment (please complete the following information, where applicable):

  • Unity Version: Unity 2020.3.30f1
  • Unity machine OS + version: Ubuntu 20.04
  • ROS machine OS + version: Ubuntu 20.04, ROS Galactic
  • ROS–Unity communication: no docker
  • Branch or version: Ros Tcp Connector v:0.7.0, URDF Importer v:0.5.0
Vorherrschende Sprache
C#
Sterne
2.6k
Forks
473
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

  • Kein Dockerfile und keine Docker-Compose-Datei
  • Hat eine Pull-Request-Vorlage
  • Kein Beitragsleitfaden

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Unity-Technologies/Unity-Robotics-Hub

Alle Issues in Unity-Technologies/Unity-Robotics-Hub

Ähnliche Issues

Weitere Issues zu C#

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.