Open pavel-kirienko opened 6 years ago
It would also be possible (and quite low effort) to do some experimentation with this without protocol support if we created DSDL definitions similar to the following
# Q16_8
uint16 integer_bits
uint8 fractional_bits
If it was found out that having these as native types would improve things a lot we could then upgrade them to first class citizens of dsdl and deprecate the experimentation types. This would leave the problem of using the fixed point types up to do application writer until native support was implemented.
@jschall once proposed to add those to the set of native DSDL types:
To which I said:
This issue is to attract relevant discussion and feedback.
In this thread over there there was also a related discussion on how to represent the elements of rotation quaternions in the most efficient and usable way; fixed-point types could be applied there greatly: https://github.com/UAVCAN/dsdl/issues/34