gazebosim / gazebosim/sdformat

Include an optional "choices" atribute

Open
#17 1 comment 0 reactions 0 assignees View on GitHub
minor proposal
Dominant language
C++
Stars
216
Forks
125
Avg merge
1d 14h
Merged PRs (30d)
14

Description

**Original report ([archived issue](https://osrf-migration.github.io/sdformat-gh-pages/#!/osrf/sdformat/issues/17)) by Carlos Agüero (Bitbucket: [caguero](https://bitbucket.org/%7Bda8a8e89-4bb0-421b-bd0e-dbbed3d4ed6a%7D/), GitHub: [caguero](https://github.com/caguero)).**

----------------------------------------

Something like this:

```
#!c++


The type of noise. Currently supported types are:
"none" (no noise).
"gaussian" (draw noise values independently for each measurement from a Gaussian distribution).
"gaussian_quantized" ("gaussian" plus quantization of outputs (ie. rounding))

```

Inspired by the *choices* keyword used in [argparse](http://docs.python.org/dev/library/argparse.html#choices).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.