diff --git a/rcb4/armh7interface.py b/rcb4/armh7interface.py index b3b895bf..2189a75e 100644 --- a/rcb4/armh7interface.py +++ b/rcb4/armh7interface.py @@ -546,7 +546,9 @@ def search_worm_ids(self): for idx in range(max_sensor_num): worm = self.memory_cstruct(WormmoduleStruct, idx) if worm.module_type == 1: - indices.append(idx) + servo = self.memory_cstruct(ServoStruct, worm.servo_id) + if servo.rotation == 1: + indices.append(idx) self.worm_sorted_ids = indices return indices diff --git a/rcb4/data/__init__.py b/rcb4/data/__init__.py index fc16e0dd..bd5668bc 100644 --- a/rcb4/data/__init__.py +++ b/rcb4/data/__init__.py @@ -16,7 +16,7 @@ elf_infos = { 'v0.6.2': ELFINFO( - 'https://drive.google.com/uc?id=1quysoRGx92K0enHcBxITEAcUkZf2FCjk', # NOQA + 'https://github.com/iory/rcb4/releases/download/v0.6.2.elf/v0.6.2.elf', # NOQA '9205b34ce4d81b87c4f11e6139f96b17') }