I what to control two robots at the same time. So I need to use multithread.

But when I try to use the signals & multithreading example from the player manual, no output display.

I am using the Player 2.1.1 and Stage 3.0.1.

I just change the camerProxy cp (&client, 0) to LaserProxy cp(&client, 0), because Stage 3.0.1 can not support the camer model.

I compile it using this command: g++ -o example1 `pkg-config --cflags playerc++` example1.cc `pkg-config --libs playerc++`

What do I need to add ?

Thank you for your help.

Yun Peng