lancaster-university / microbit-dal

http://lancaster-university.github.io/microbit-docs
Other
254 stars 130 forks source link

dal-integration: pitch/roll are reversed compared to master in MakeCode #371

Closed jaustin closed 5 years ago

jaustin commented 6 years ago

Based on https://github.com/Microsoft/pxt-microbit/issues/1075

It looks like during the accelerometer/compass updates we managed to swap the axes for pitch and roll, or perhaps upset some enums that MakeCode is using for pitch/roll so they are getting swapped values,

Filing here quickly for now but the next step should be to make a case that reproduces this in the DAL rather than just from MakeCode.

(note, this isn't likely related to the MakeCode alpha because the dal-integration derived version of v0 suffers the same issue but live MakeCode v0 doesn't)