I have a syntax error involving PKG_CHECK_MODULES. Whats the fix?
If you get a syntax error involving PKG_CHECK_MODULES, it is likely that aclocal can’t find the pkg.m4 file, which defines this macro. This is common on OS X with Fink, as the pkg-config package puts this file in /sw/share/aclocal, while the standard OS X aclocal program is looking in /usr/share/aclocal. Unfortunately, there is no reliable search path mechanism for aclocal, so the best fix is just to copy (or symlink) /sw/share/aclocal/pkg.m4 to /usr/share/aclocal. [this FAQ taken from the Autonomy Lab’s P/S Wiki]. • How can I get high data rates from my SICK LMS laser rangefinder? It’s possible to get scans at 75Hz from the SICK LMS, if you use an RS422 connection, which is a high-speed serial line. If you use a run-of-the-mill RS232 connection, the best you can expect is about 10Hz, depending on angular aperture and resolution. Look here for one way to use a USB-RS422 converter to get high-speed laser scans. For a detailed explanation of how the LMS works, timing considerations, and