The easiest thing will be Python or the Bash shell.
I think you can just use Jason's script with no modification if you use the WiFi method of connection:
I think it will run on OSX without any changes, but I have not tried it. I suspect that you'll need to modify things in order to get it to work with the USB cable.
The WiFi method is the most generic and easiest way to connect a computer to the camera. it's the most tested. It's also possible that Jason may even be able to give you advice if you run into a problem with the script on Mac OSX. He's active in the forum.
Make sure your Mac laptop to the theta wifi first. the theta is the hotspot. If this is new for you, look at this doc:
You can test the connection and taking a picture with Chrome and something like DHC (free tool).
Do you have a video of the robot in motion? I'd love to see it.
Oh, I just remembered that I cornered my son one weekend to help me with a test 4 months ago for a timelapse using USB connected to a desktop computer running Linux. He wrote this script for a single test. It's not clear if anyone has used ptpcam with a Mac, so it may not work.
There's a test clip of the images as well as a test edit with Premiere Pro CC VR editing with Mettle SkyBox. The Premiere feature was new at the time he did the test. As he's in high school and he wrote the script for one test only, I suggest you try Jason's script or Koen's script on your laptop first.
My recommendation is to use Jason's script with WiFi connection.