-
Notifications
You must be signed in to change notification settings - Fork 419
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
[sensor] extract out visual parts of Sensor into VisualSensor #432
Conversation
This is part of the Sensor refactor. Also removed a few APIs we were exporting to python that didn't really need to be exported.
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.
LGTM! 👍 Just a nit about one of the comments
src/esp/sensor/VisualSensor.h
Outdated
namespace esp { | ||
namespace sensor { | ||
|
||
// Represents a sensor that provides data from the environment to an agent |
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.
May be good to make this a bit more constrained to provides visual data
since this is a VisualSensor
* Make displayObservation pure virtual in Sensor class.
Codecov Report
@@ Coverage Diff @@
## master #432 +/- ##
==========================================
- Coverage 64.49% 57.43% -7.06%
==========================================
Files 64 176 +112
Lines 2929 8134 +5205
Branches 84 84
==========================================
+ Hits 1889 4672 +2783
- Misses 1040 3462 +2422
Continue to review full report at Codecov.
|
…cebookresearch#432) This is part of the Sensor refactor. Also removed a few APIs we were exporting to python that didn't really need to be exported.
This is part of the Sensor refactor. The goal of this change is to bring the Sensor class into closer alignment with the new Sensor API design.
Also removed a few APIs we were exporting to python that didn't
really need to be exported.
Motivation and Context
Sensor refactor
How Has This Been Tested
SimTest
Types of changes
Checklist