Sorry if this has already been covered elsewhere, newb here :-) Will it be possible to use other languages other than Python (e.g. either directly or by bridging to another language)?
No problem, we are still writing up the complete rules at the moment :)
You may use any language you like, you can even use a combination if you wish.
All of our standard examples will be written in Python.
If you are using a different language you might need to translate some parts, for exmaple the I2C code to talk to the ZeroBorg.
No problem, we are still writing up the complete rules at the moment :)
You may use any language you like, you can even use a combination if you wish.
All of our standard examples will be written in Python.
If you are using a different language you might need to translate some parts, for exmaple the I2C code to talk to the ZeroBorg.
Can you link the I2C code? I'd like to have a peak and maybe work on a port to java if it does not exist.
All of the I2C code is in the ZeroBorg library,
ZeroBorg.py
, from the ZeroBorg example code:https://www.piborg.org/downloads/zeroborg/examples.zip
These are the functions we use:
Init
SetCommsFailsafe
ResetEpo
SetLed
SetMotor1
SetMotor2
SetMotor3
SetMotor4
MotorsOff
We also call
ScanForZeroBorg
, but it is only used for diagnostics when we cannot find the ZeroBorg.I am not aware of an existing port to Java, but I expect there are others who would be interested in one :)
Add new comment