Close

New control program

A project log for 3D vision robot

An autonomous robot with 3D vision based on a 3D webcam and a Raspberry Pi.

jay-tjay-t 01/12/2018 at 12:490 Comments

Currently I am writing a new control program for the robot. I am using my new language bra(et (bracket) to write the program. The program runs on my new virtual machine L1VM. L1VM is a lot faster then Nano VM, that is the reason why I write a new control program. It has the OpenCV object detection library already in the code. I still need to write a basic program and did no real drive tests so far.

The L1VM virtual machine is on GitHub: L1VM - fast virtual machine

Programs running on L1VM are 6-7 times faster as on the Nano VM! The L1VM binary is really small: it's only about 28 KB in the X86_64 Linux version. The VM has 60 opcodes and two interrupts (with up to 255 possible operations). The VM can run modules for SDL graphics, math operations, file I/O and more.

The modules are very basic. I continue development on them if I need something new.

The bra(et language makes it possible to use inline assembly code. This is sometimes needed to do some coding which is not possible in bra(et yet.

The full source code for L1VM is available on GitHub. Any feedback is welcome.

Discussions