Skip to content

Extend supported sensors#170

Open
vikashplus wants to merge 3 commits into
devfrom
extend_supported_sensors
Open

Extend supported sensors#170
vikashplus wants to merge 3 commits into
devfrom
extend_supported_sensors

Conversation

@vikashplus

Copy link
Copy Markdown
Owner

Extended robot class to support generic sensor data.

…rry complex data from the hardware into sensordata field of the model. Reply on sensordata field to create obs and obs_dicts
@vikashplus vikashplus requested a review from andreh1111 July 4, 2026 00:14
…e 0-d scalars

squeeze_dims() previously did a blanket np.squeeze(), which removed every
singleton dimension instead of just the (num_traj=1, horizon=1) wrapper
added by expand_dims(). Single-value observations (e.g. shape (1,)) were
squeezed all the way down to 0-d scalars, which then failed to concatenate
with other proprio/obs vectors in get_proprioception() and obsdict2obsvec().
Now only squeeze the leading axes that expand_dims actually added, leaving
real data dimensions (and pre-existing scalar rwd_dict entries) untouched.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant