I’ve got a Robotis Bioloid frame with an AX-12A mounted as a pan servo and an HC-SR04 on top. The AX-12A is on a U2D2 over USB to my Windows laptop, and I can control it in ARC using the Dynamixel robot skill (ID=1 moves fine; Servo(V1, 90) works in a script). The HC-SR04 is wired to a small Arduino Nano that I’ve connected to ARC as an EZB (USB serial), with Trigger on D3 and Echo on D4. In the Ultrasonic Radar skill I can see distance data update if I manually sweep the AX-12A, so the sensor side is okay.
Where I’m stuck: I need Ultrasonic Radar to actually drive the sweep on the Dynamixel servo. In the Ultrasonic Radar config, the servo Port dropdown doesn’t list any Virtual ports (e.g., V1) that the Dynamixel skill exposes; it only shows standard D ports. I don’t want to rewire the HC-SR04 to the same controller that’s running Dynamixel because the U2D2 is just serial to the AX bus, not GPIO. I tried to work around it by watching for a variable I could use to mirror the radar’s target angle to V1 (e.g., with a Script/Javascript skill loop), but I can’t find any documented variable that reflects the live sweep target; Variable Watcher isn’t showing anything obvious. I also didn’t see a ControlCommand callback from Ultrasonic Radar for "on sweep step" or similar.
Is there a built-in way for Ultrasonic Radar to either publish its target servo position or select a virtual servo (V1) so it can sweep a Dynamixel AX-12A while the HC-SR04 is read from a different controller in ARC?
