[IGSTK-Users] igstkPolarisTrackerToolTest - 2 more changes, sorry
Patrick Cheng
cheng at isis.georgetown.edu
Wed Oct 15 14:18:26 EDT 2008
Hi Anka,
The igstkPolarisTrackerToolTest only exercise the TrackerTool class'
state machine. It doesn't really do much.
If you want to test your trackers. You should run the
igtkPolarisTrackerTest.
In your previous email:
./igstkTests igstkPolarisTrackerTest logIgstkPolarisTrackerTest.txt
/opt/polaris_rom_files/passive_pointer/1400394.rom
It seems like you are missing one argument: port number.
You might be using an older version of the test code, which has the port
number hard coded (configured by CMake). The latest version take the
port number as an input.
Patrick
Anka Kochanowska wrote:
>
> // Set the port number
> // std::istringstream inputstream( argv[1] ); //Anka
> if ( argc > 2 ) // Anka
> std::istringstream inputstream( argv[2] );
>
> unsigned int portNumber;
>
> inputstream >> portNumber;
>
> trackerTool->RequestSetPortNumber( portNumber );
>
>
> // Set the SROM filename if specified
> // if ( argc >= 3 ) //Anka
> if ( argc > 3 )
>
> _______________________________________________
> IGSTK-Users mailing list
> IGSTK-Users at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users
>
>
More information about the IGSTK-Users
mailing list