I would like to make the robot faster/more advanced and that's what I heard would be available to me if I had a Pi in addition to a Nyboard. However I have not seen much documentation on how that relationship would work. Honestly, I'm not even sure what questions to ask at this point haha! Any insight is appreciated.
The NyBoard handles the motion of the robot. It's a single loop microcontroller focused on one task and does even better than a Pi at this scale. A Pi can be connected to the NyBoard and run higher-level tasks, like collecting sensory data, connecting network, and making decisions to instruct the robot to move.
So the Pi runs on a relatively separate layer. You can find example Python codes that send string tokens through the serial connection:
https://github.com/PetoiCamp/OpenCat/tree/main/serialMaster
ardSerial.py defines the connection and encoding methods of different commands. The other examples of codes wrap up the module and send sequences of commands to NyBoard. However, we still haven't got time to fully document and demonstrate the usage at this point.
Thanks for the reply! I was under the impression that the Pi would add more functionality from its neural processing cores to speed up the motion control on the NyBoard.
Going off of that, would obstacle collision be handled on the Pi? I saw in the docs that it isn't yet implemented but I also saw mention of it being implemented in the GitHub repo code. Just wanted some clarification.
@Cameron Sherry Obstacle collision is not implemented in our GitHub codes. Nybble has an ultrasonic sensor as eyes and people were able to use it for some interactions.
@Rongzhong Li I understand. So I would need to code my own solution for obstacle avoidance or make use of other people's code. My college team will be working on implementing a lot of additional features for a competition on campus so I will probably be bothering you a lot in the coming months haha!