TCode ESP32 v0.3
🕑 Added 2023-05-29 17:05:35 +0000 UTC- Added up to 5 configurable motion generator profiles
- Added full multi axis random motion each with its own set of motion options.
- Added range limit UI that only affects motion generator for now.
- Redid the UI a bit
- Updated UI for mobile displays
- Moved wifi pass to its own settings file.
- Updated flashing guide
- Changed the way some forms appear by default
- Update to espressif 6.2.0
- Made start up wait for I2C devices if they are enabled
- Added voice option: Requires DF Robot gravity offline speech module:
1. The first user custom command learned (5) will start the default profile.
2. The second command (6) through the sixth (10) will enable the motion and set the corresponding profile (1-5)
3. The seventh command (11) will disable motion.
See video in Tempests discord https://discord.com/channels/664171761415356426/667933126462537738/1112782436523327568
While this works good I will warn. While the servos are whirring the voice module cant hear you very well. You may want a long cable to extend the module closer to your voice. Theres a dock mount you can dock the case in and out of in the STLs zip. - Updated the guide with new images and a bit about the new command line configuration interface.
- Dropped Android app configuration support (for now) in favor for command line interface. (Its been broken I dont know how long and no one told me so I assume no one uses it anyways)
- Consolidating the builds. Its down to two main builds now. BLDC and Servo.
- Added ability to swap board types to the various 3rd party boards(DevKit/NexusPro, IN-Control, SR6MB) on the main firmware instead of needing a separate build for each.
HTTPS is the code base now in but disabled in the build due to memory issues. If you have any ideas how to remedy this, let me know.
Known issues:
- Sometimes the save fails. Especially as the total profile channels you select increases.
- There is a limit to how many channels you can select. The save will start to error out of memory. Pick only the channels you need.
Comments
Khrull
Well XTP should be applying the limits the same no matter the output. There's only one tcode system in XTP. It will process the tcode and lets the connection system handle the output so there should be no difference in outputted tcode. You can enable debug by starting with the debug bat file in the XTP directory and see the exact tcode that is sent and where. I think sending custom tcode commands will be my next project in xtp when I can get to it.
Bella
I mostly worked out how to get it to do what I wanted: getting roll and pitch to move it in a circle. My goal was to have a 'fluffer' motion setting that would not be an extreme amount of movement, but still give a little stimulation at idle. I'm also trying to figure out why the home position is now rolled about 15 degrees to the left (left arm is lower as a default. This happened while playing around with the limits and the firmware motion settings. I did like how XTP moves the OSR while you're setting the limits so you can tell where that is. I think that there was something going on in XTP where a set of limits was associated with the wireless and another set associated with the serial. They'd either get reset, or for some reason the program would ignore them. Not fun when the arm raises to the upper limit, rolls to the left, then bangs down to the lowest value. OW
Khrull
Oh as far as the motion set up. I was hoping the gui would document its self. Anything specific you have questions about?
Khrull
I have added extended tcode commands in the firmware to change profiles with the tcode commands: $motion-set-profile:[profile number] $motion-profile-name:[profile name] I have not added this into any other software aside from the voice command yet, I did plan on adding it to XTP maybe TCode remote. Id rather XTP though because its cross platform. TCode remote will connect a virtual serial port to wireless. There should be a guide in the zip archive with images to set this up.
Bella
I've just updated the firmware successfully. It takes a while for it to reconnect to wireless, so don't panic if it takes a long while to be reachable at the IP you set or by the hostname tcode.local. I did have questions about setting the embedded motion presets - have a guide to how that works? Can those be programmed to a button on tcode remote? The other thing I'm looking for was the virtual serial port to wireless widget, and I don't recall what it's called!
Khrull
The voice or the motion generator? The voice shouldn't be too bad. Just plug the board into the correct pins. SDA 21, SCL 22, 3v3 and ground. Then follow DFRobots instructions of training the custom voice commands.
Dig125
This looks nifty if I could figure out how to make it work lol