Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

`.inf` not within floating point range

Aperta
#376 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

@christianrauch ci sta già lavorando.

Dal 9/8/2026.

  • #378 di @christianrauch — aperta

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
30/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
tooling

Direzione di ricerca

Start with the generate_parameter_library_example and the reproduction command in the issue, using src/generate_parameter_library/example/config/implementation.yaml to test the .inf parameter. Compare the reported floating-point-range validation with the expected behavior; done means the example accepts .inf with the stated validation. Pull request #378 is already open, so check its scope before starting.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Since the last lyrical update, the following:

admittance_controller:
  my_param:
    type: double
    default_value: .inf
    validation:
      gt_eq<>: 0

causes:

  what():  parameter 'my_param' could not be set: Parameter {my_param} doesn't comply with floating point range.

This can be reproduced with the generate_parameter_library_example, adding the my_param parameter above and running:

ros2 run generate_parameter_library_example test_node --ros-args --params-file src/generate_parameter_library/example/config/implementation.yaml

I cannot pinpoint the exact change that causes this. It's not just caused by the 1.2 to 1.3 update; there must be other package updates involved. In any case, the above example used to work and I think it should continue to work

Lingua principale
Python
Stelle
385
Fork
81
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PickNikRobotics/generate_parameter_library

Tutte le issue di PickNikRobotics/generate_parameter_library

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.