stero cam sync timestam comparison

Issue #4 resolved
Former user created an issue

They are shared resource between two threads. should it not be implemented using a mutex? Did you intentionally not use mutex???

Comments (4)

  1. Kevin Hallenbeck repo owner

    The left thread does not write to any variables owned by the right thread. It does read the timestamp owned by the other thread to have the exact same header on synced images.

    I guess it would be good practice to put a mutex around the first half of publishImageL() and publishImageR()

  2. Log in to comment