Documentation Links to ompl::base::SpaceInformationPtr when ompl::control::SpaceInformationPtr is Required

Offen
#989 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Dokumentation
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
cpp
Bereich
documentation

Rechercherichtung

Beginne damit, die Dokumentation für die Klassenreferenzen von ompl::control::SimpleSetup, RRT und StatePropagator mit den Quelldeklarationen von OMPL zu vergleichen. Identifiziere die falschen Links zu ompl::base::SpaceInformationPtr, suche nach weiteren ähnlichen control-Referenzen und aktualisiere die Dokumentation, sodass jeder Konstruktor auf den erforderlichen control-Typ verweist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

In at least two different locations, the documentation features a link to the ompl::base::SpaceInformationPtr page. This suggests that an ompl::base::SpaceInformationPtr is sufficient for the code to work, but in reality, an inspection of the code shows that the child class, ompl::control::SpaceInformationPtr is what is really needed. This can lead to frustration as code that "should" work according to the documentation fails, because the wrong kind of SpaceInformationPtr is being used.

Cases where I know this is happening:
ompl::control::SimpleSetup Class Reference, where the first constructor expects the control::SpaceInformationPtr but the documentation links to the base version.

ompl::control::RRT Class Reference, where the constructor expects a control::SpaceInformationPtr but the documentation links to the base version.

ompl::control::StatePropagator Class Reference, where the second constructor expects a SpaceInformationPtr but the documentation links to the base version.

An elementary inspection of the OMPL source code is sufficient to see that the documentation does not match the source code, but unless the user already knows that the issue exists, they may not think about it and be stuck for some time. I suspect more cases of this sort exist, though I have not performed a thorough search of the documentation to verify.

Vorherrschende Sprache
C++
Sterne
2.2k
Forks
718
Ø Merge
16 Std. 12 Min.
Gemergte PRs (30 T.)
1

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

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 ompl/ompl

Alle Issues in ompl/ompl

Ähnliche Issues

Weitere Issues zu C++

Neue Issues direkt in Ihr Postfach

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