"test_touch"
and a motor name "test_motor"
."test_touch"
and "test_motor"
represent a string variable that corresponds with the names of the devices in the configuration. hardwareMap.get()
for test_motor is written as "test_moto" rather than "test_motor." When the code is building, there is no immediate check that the name requested is in the hardwareMap. This check is done when code is run on the robot. When the communication to the hardwareMap is initiated it looks for "test_moto" and when it can not find it, it creates the runtime error referenced above.