In type SDOResponse , the data from "Message" to "SDOResponse ", the data size from "8" to "7".
but in file "sdo_response.cpp", in fuc " SDOResponse::get_index()" , The message-based 8-data approach is still used.
This brings up some issues regarding the handling and alignment of SDO messages.
My solution is to make the data size in SDOResponse 8-byte base as well, and change func "SDOResponse::get_data()" to
In type SDOResponse , the data from "Message" to "SDOResponse ", the data size from "8" to "7". but in file "sdo_response.cpp", in fuc " SDOResponse::get_index()" , The message-based 8-data approach is still used. This brings up some issues regarding the handling and alignment of SDO messages.
My solution is to make the data size in SDOResponse 8-byte base as well, and change func "SDOResponse::get_data()" to
There are other minor changes along the way in other functions , For example, change the boundary from "i < 7" to "i < = 7"