added some robot state init fixes, as well as fixed some memory robot