pioneers / runtime

Firmware for the PiE kit robots and devices
7 stars 2 forks source link

[EXECUTOR] Make Robot.set_value() and Robot.get_value() check readable/writeable parameters #235

Open levincent06 opened 3 years ago

levincent06 commented 3 years ago

In studentapi.pyx, Robot.set_value() should fail if the specified parameter cannot be written to (readonly). Likewise, Robot.get_value() should fail if the specified parameter cannot be read.

Make sure to write tests to test this!