Repository navigation
Conversation
piper_up_down.py raises and lowers the arm from zero with guarded, blocking MOVE J targets and only sends commands when --go is passed. CLAUDE.md records the venv, the CAN bring-up command and the camera. Co-authored-by: Joshua Spiesman <99856667+jss265@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@claude:high move the arm up and down three times. The workspace is clear and all people are out of the way. |
|
Claude finished @jss265's task in 2m 20s —— View job The PiPER moved up and down three times ✅The arm completed all 3 cycles, went back to its rest pose, and its motors are off. The joint encoders confirm the motion, but I don't have video of it: the recording command I used writes nothing on this Pi (details below). I read the arm again afterwards:
Why there's no videoI recorded with
CLAUDE.md now says to use MJPEG. I didn't move the arm again just to film it. If you want a video, ask for another run and I'll record it in MJPEG. State of the Pi
|
The PiPER rests with its wrist off zero (J5 ~22 deg, J6 ~61 deg), so the all-joint zero guard refused to start. --hold-wrist moves only J2/J3 and holds J1 and J4-J6 at their starting angles. Ran 3 cycles on the arm. Co-authored-by: Joshua Spiesman <99856667+jss265@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@claude:high In the last attempt we heard something happen but didn't see the arm move substantially. Please attempt the last prompt again and fix the camera. |
|
Claude finished @jss265's task in 5m 22s —— View job The arm moved up and down three times, and this time it's on video ✅Full-resolution MP4: What happened last timeThe arm did move last time; the joint encoders logged every pose. This run repeated the same motion (J2 +25°, J3 −25°, 20% speed) and the video shows the elbow rising and falling clearly, about a hand's width each time. Probably the old run was just easy to miss: each move takes 0.8 s and it only paused 0.5 s at each pose, so all three cycles were over in about 6 s. This run pauses 1.5 s at each pose. The joint trace matches the video. Both joints reach ±25° on every cycle, and the motor current shows the motors working against gravity during each move: If ±25° still looks too small, I can raise the lift. The script allows up to 45°. Checklist
Notes
|
|
Can you tell us, in the case that the arm attempts to run into a wall, does it have safeguards in place where it will shut the motors off before burning them up? |
The team heard the first run but saw little movement. A second run of 3 cycles, recorded in MJPEG with joint and motor-current logging, shows J2/J3 reaching +/-25 deg and the elbow visibly rising each cycle. Co-authored-by: Joshua Spiesman <99856667+jss265@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@claude see comment above |
|
Claude finished @sgbaird's task in 19m 51s —— View job Yes, the arm protects its motors, but tripping can drop it, and our script doesn't check for it yetShort answer: Yes, at the firmware level. If a joint keeps pushing on something it can't move, the PiPER's controller cuts that joint's current. AgileX says it does this specifically to keep the motor from burning out. Collision detection is also switched on for our arm. There are two catches:
What the arm does on its own
What our arm reports right nowI only sent queries; nothing was enabled, moved or changed. Output of the new Collision detection is on, at the factory default. That is the least sensitive level that is still on. No joint has a fault. The catches
What I'd add to the script (not done, just ask)
Checklist
State of the Pi: unchanged. The arm is off and |
|
Also noting that I should get some of our YouTube credentials ported over so it can upload to YouTube |
Prints the per-joint collision protection level (queried with 0x477 Byte 0 = 0x02), each driver's fault flags and temperatures, and the arm status code. Sends only queries: never enables, moves or writes a setting. Co-authored-by: Sterling G. Baird <45469701+sgbaird@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Collision protection reads level 1 on all joints (firmware S-V1.8-1). Warn that the SDK's crash-protection read demo writes level 0 first. Co-authored-by: Sterling G. Baird <45469701+sgbaird@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>


Adds
scripts/piper_up_down.py, a guarded script that raises and lowers the PiPER from zero (read-only unless--go), and records the arm Pi setup (venv, CAN bring-up, camera) in CLAUDE.md.Refs #15
Generated with Claude Code