DangerousElectrician / rosTalonSRX

0 stars 0 forks source link

Figure out C variable sizes #3

Closed DangerousElectrician closed 8 years ago

DangerousElectrician commented 8 years ago

The way data is being sent over serial with structs require the structs be a certain size. long integers don't seem to be 32 bit

DangerousElectrician commented 8 years ago

Problem seems to be caused by the way bytes are arranged in a struct. Bitfield makes stuff work.