-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Develop var len obs feature #4909
Conversation
…r-len-obs-feature
…elop-var-len-obs-feature
Co-authored-by: andrewcoh <54679309+andrewcoh@users.noreply.github.com>
…feature-refactor-model-loader-checks Develop var len obs feature refactor model loader checks
{ | ||
private int m_MaxNumObs; | ||
private int m_ObsSize; | ||
float[] m_ObservationBuffer; | ||
int m_CurrentNumObservables; | ||
static DimensionProperty[] m_DimensionProperties = new DimensionProperty[]{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: s_DimensionProperties
the `BufferSensor` will be able to collect. | ||
|
||
To add an entity's observations to the `BufferSensor`, you need to call the | ||
`BufferSensor.AppendObservation()` (or `BufferSensorComponent.AppendObservation()`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is a little misleading since you can't access the BufferSensor
directly (at the moment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pulled the scene. found one issue with buffer sensor obsv size that vince fixed. confirmed his fix resolved the issue. looks good now.
Proposed change(s)
Adding support for variable length observations.
Adding a new environment to test it : Sorter
TODO :
Types of change(s)
[ ] Bug fix- [ ] Code refactor[ ] Breaking change[ ] Other (please describe)Checklist
[ ] Updated the migration guide (if applicable)Other comments