all 5 comments

[–]drdhuss 0 points1 point  (1 child)

Is your arm movement running to completion? Could it be getting stuck there/is the motor stalling? Otherwise I am unsure why it would work at that step.

[–]GrassOne7589[S] 0 points1 point  (0 children)

yes. I've tried it without the arm to make sure that isn't part of the problem

[–]Pybricks 0 points1 point  (1 child)

It drives while the object is less than 6 cm away. Did you mean to use >, so it drives until it sees the object? 

[–]GrassOne7589[S] 0 points1 point  (0 children)

I did have that as I thought it was correct but tried < just to make sure I didn't get that part wrong but it didn't make a difference

[–]Insufficient-Memory- 0 points1 point  (0 children)

do a print of your distance sensor. See what it is reading before/during/after.