Hi,
I created a Web API to control your kitty from anywhere you want.
You only need a working Nybble with NyBoard and a Raspberry Pi mounted on top.
There is also a small sample web application included:
Details can be found here: https://github.com/leukipp/OpenCatWeb
If you have any questions about this, feel free to ask here.
With the Web API you can add much more features with very little effort.
There's more to come, stay tuned... ;)
@leukipp how can I solve this? does this mean I need to change some settings or is there an automatic timeout after some time?
This happens if there is no working serial communication between Raspberry Pi and NyBoard.
Hi! unfortunately the site does not respond on my browsers that I tried this. Disabled adblock, and anti-scripts as well, no results. I can see the three icons in the upper left corner but just no reactions when I click on them unfortunately. Any ideas?
Hi Rongzhong, Leukipp,
I written some basic automation into the Raspberry Pi and find I've run into a really basic problem. There is no feed back/error codes as to if a command has completed successfully. I know that the Nybble.ino Arduino code does not support them, but they will more than likely be necessary for any serious attempt at autonomous operation.
I was thinking for Postures, the final joint indices could be verified they match to the posture joint definition and for Gaits, there could be some bounds check for the ongoing joint indices with the Gait joint definition. It would be better to do this in the Arduino and use the command set to read a true/false condition if the command was in spec.
What do you think from the separate Arduino and API perspectives?
Best regards
D L
Hi Leukipp,
Great work on the API.
I have extended the Flask code to include a route to read the battery voltage. It does need changes to Nybble.ino, app.py and bus.py, but neither are complex. Hopefully this will make it into the mainline code.
The updates are at https://www.petoi.com/forum/hardware/reading-battery-and-rp-voltage-from-nybble-v0-2
Best regards
D L