sensor_shell: strange and unexpected output when getting single axis from 3-axis data #72840
Labels
area: Sensors
Sensors
bug
The issue is a bug, or the PR is fixing a bug
priority: medium
Medium impact/importance bug
Describe the bug
Getting the data of a single axis from 3-axis data is kinda weird, the following output is from #72833:
i.e., there's no output for channel(s):
To Reproduce
Steps to reproduce the behavior:
sensor get
for the y-axisWhat you will see
accel_x
) will be redirected to xyz (accel_xyz
) and the output is wrongExpected behavior
Use should be able to get any supported channel from the sensor, there should be output when getting a single axis (x, y or z)
Impact
sensor get
is not able to sample some of the channel(s).Logs and console output
See above
Environment (please complete the following information):
main
The text was updated successfully, but these errors were encountered: