Skip to content

Can't read sensor data #30

@farmingmachine

Description

@farmingmachine

Hey,

I am trying to get sensor data to my Py from my sp 3 racing board (using betaflight). Unfortunately i get the following error while doing so:

unpack requires a bytes object of length 1
'utf-8' codec can't decode byte 0xfc in position 0: invalid start byte
'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
'utf-8' codec can't decode byte 0xfc in position 0: invalid start byte
'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
unpack requires a bytes object of length 1
'utf-8' codec can't decode byte 0xfc in position 0: invalid start byte
'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
'utf-8' codec can't decode byte 0xfc in position 0: invalid start byte
'utf-8' codec can't decode byte 0xff in position 0: invalid start byte

I think there is an issue with reading the header in the init.py file. Would you know the reason?

Kind regards,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions