Object tracking / chasing robot

Not sure I follow, but thanks

At the moment I have 2 worker threads, but they are not dynamic. I have overloaded virtual functions for each thread. It gets around the problems of using classes quite nicely.

I have two classes, one performs the serial functions and the other the image processing. Each have members that need to be accessible from the threads. Static functions won’t cut it in this situation apparently, so I have to use function pointers in my threads.

It is fairly basic threading, a loop with an exit condition. I have worked with threads before in c#.net (I’m a software developer irl), but posix threading is something I learned in 2-3 days.

I’ll take a look at dynamic threads and see whether they can help.