Smart locomotion generation based on automatic orientation and topology detection of a reconfigurable modular robot | IEEE Conference Publication | IEEE Xplore