{"version":"1.0","type":"rich","title":"UArm control from Openframeworks","description":"This example demonstrates how to control a UArm robotic arm through serial communication using openFrameworks. The code sends positioning commands by writing an 11-byte instruction packet to the device, which includes cylindrical coordinates (x, y, z), hand rotation, and gripper state. It relies on the `ofSerial` API to establish a connection and transmit bytes, with the setup specifying a USB port and baud rate. The `setArmTo` function encodes the parameters into the required binary protocol before calling `writeBytes`; program exit flushes the serial buffer. The example shows the low-level data formatting needed to interface with custom hardware.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-95308a11416e2fccb971?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}