Hi,
First, thanks for free s2bot software.
I think, in LegoWeDo, "setMotorDirection/reverse" is not ok. It does not toogle direction. It is doing "this way" option.
Note: Docs say "We do plan to make S2Bot open source in the near future". If you do it, we can help you... we can see issues and...