-
Notifications
You must be signed in to change notification settings - Fork 4.3k
UI for Ray stacks, rename WriteAdapter to ObservationWriter #3834
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
Conversation
@@ -112,7 +112,7 @@ public LayerMask RayLayerMask | |||
|
|||
[HideInInspector, SerializeField, FormerlySerializedAs("observationStacks")] | |||
[Range(1, 50)] | |||
[Tooltip("Whether to stack previous observations. Using 1 means no previous observations.")] | |||
[Tooltip("Number of raycast results that will be stacked before being fed to the neural network.")] |
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.
Tooltip change
@@ -37,7 +37,7 @@ protected void OnRayPerceptionInspectorGUI(bool is3d) | |||
// it is not editable during play mode. | |||
EditorGUI.BeginDisabledGroup(!EditorUtilities.CanUpdateModelProperties()); | |||
{ | |||
EditorGUILayout.PropertyField(so.FindProperty("m_ObservationStacks"), true); | |||
EditorGUILayout.PropertyField(so.FindProperty("m_ObservationStacks"), new GUIContent("Stacked Raycasts"), true); |
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.
Label change
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. We need migration/changelog doc changes too I believe.
Yeah, it's hard to do the changelog with the PR number before you create the PR :) |
Proposed change(s)
Updated the display name and tooltip for RayPerceptionSensorComponent's stacking slider:

(tooltip is copied BrainParameters.NumStackedVectorObservations).
Renamed WriteAdpater to ObservationWriter.
Useful links (Github issues, JIRA tickets, ML-Agents forum threads etc.)
Types of change(s)
Checklist
Other comments