Hello, we've set up our Bittle, upgraded to OpenCat 2.0 and calibrated it.
Everything works great with 'Petoi Desktop App' also.
For a next step, we were thinking of using Tinkergen Codecraft-PC2.0 but I have a few questions about that:
1) Do we have to downgrade to OpenCat 1.0 to use Tinkergen Codecraft w/ Bittle ?
2) When programs are Uploaded to Bittle from Codecraft, how can they be executed? For example, can they be added to "Newbility" and later be callable through serial commands?
Question about OpenCat/SkillLibrary/Readme.md which says:
There are several ways to perform the new skills:
Import a skill file through the Petoi Desktop app -> Skill Composer. It will be saved to the robot's memory and overwrite the last sent skill. Use token 'T' to call the skill. You can send 'T' through the serial command or assign it to one of the infrared remote key.
Insert it in OpenCat/serialMaster/example.py.
Integrate the skill directly into the OpenCat main code. But it requires a deeper understanding of the data structure.
I don't understand option #1.
Import reads the frames (skill) from a file, and Export writes them to a file.
I don't see an option to save it to the robot's memory.
And I don't see a "T" command listed in the serial protocol description.
After you import a skill text file to Skill Composer, you can click the export button. It will send the skill to the robot's memory. You can send 'T' from the serial monitor, python script, or phone app.
Ah.. thank you!
ardSerial.py is the one I needed!
Unfortunately, the company behind CodeCraft stopped support for OpenCat 2.0, which is more stable and with more features. You will have to downgrade to 1.0 using the desktop app, Arduino IDE, or tools in CodeCraft.
The more advanced coding environment is still in Arduino, and we have another graphical interface where you can design complex skills.
It's possible to add new skills using CodeCraft and firmware 1.0. The mechanism is slightly different. It will upload the single skill created and overwrite the standard firmware. So it's not as convenient as the Skill Composer available in OpenCat 2.0.
Arduino IDE is a standard software. You can download it from its official site:
OK, understood thank you.
I've downloaded Arduino IDE 2.0 and I'm now playing around with the Serial Monitor.
I'm now trying to get the PySerial console app "serial.tools.miniterm" to work in the same way as Serial Monitor, so that I can type serial commands that are sent to Bittle.
It's not working quite right though. I wonder if you have ever done this?
Also, can you tell me where I can find more details of OpenCat's serial protocol? (serial.tools.miniterm has various options such as 'character encoding' and I'm not sure what OpenCat uses)
These docs may help: