← General Discussion
JannH@jannh· 1,543 viewsin Robot Builds

AR4 MK3 in Finland

Hi!

Finished my build of the AR4 MK3 in Finland some time ago. Even recoded the time the build took me,

52.5 hours of slow, careful and deliberate work.

Ros2 is working thanks to ycheng @ https://github.com/ycheng517/ar4_ros_driver/

Below's a sample with Chris' software (object recognition) and one with ros 2 collision aware IK.

github.com

github.com/ycheng517/ar4_ros_driver/

Comment 7

JannH

Hi all,

brief update. I have done work on the ROS2 solution to include a linear track, Pilz Motion Planner and velocity control (instead of the original position control) for a huge increase in speed while maintaining tolerances, among many other things.

I replaced some of the limit switches with optical switches, added a voltage and amperage display and incorporated a panic button in the code.

I'm using PlotJuggler in testing to validate the velocities, positions and accelerations, it's very helpful.

Jeffrey C Miller

Great job! Can you provide more detail on the optical switches used and what parts you needed to change?

JannH

Hi, here's a few pictures of the limit switches on linear track and J2.

Yifei Cheng

Looking great!

JannH

No changes necessary, as long as the switches give the same output as the original - some work in reverse.

Jeffrey C Miller

Jann,

Thanks for posting pictures. Was there any code or electronics changes needed for the optical switches?

JannH

For anyone interested, here's what the newest velocity control implementation might look like in practice. It allows for over 10 times faster acceleration amd velocity than the original position based control, while maintaining smaller position and goal errors.

@yifeicheng is merging these new changes into his solution, see

https://anninrobotics.com/community/general-discussion/ros-2-driver-for-ar4-now-available

(Original trajectory and goal limits are 0.02)

7 replies

Photos