You are currently browsing the Carl’s notes weblog archives
for November, 2009.
Problem: I login to the Typo3 backend at https://myserver/typo3 and get redirected to https://myserver/typo3/alt_main.php. I see the navigation bar or the left with items such as Page, View, List and Admin Tools. The main part of the page, on the right, displays the Typo3 backend welcome page. When I click on any item under Web or File in the left menu nothing happens. It should display the appropriate information in the main frame.
Solution: A bit of a hack really. Change the URL to https://myserver/typo3/backend.php. You will still see the backend interface but the links will work correctly.
Misc November 17th, 200901:07 pm
Just found this SyntaxHighlighter Evolved plugin for Wordpress. Great for posting code in all sorts of languages. Lines can be numbered. The whole block can easily be copied and saved to a file for visitors who wish to try it out.
I was looking for a clean way of handling command line options in C++. A guy called Robert Collins has developed the getopt++ library for use in cygwin. It’s quite tidy but there is very little information available about how to use it. The libraries and headers are available from the Debian repository under the name libgetopt++1 and libgetopt++-dev. There is a rather brief Readme file but the usage section has yet to be written here is some sample code that may be useful.
Read more…
Having spent a long night calibrating Ubisense, here is a checklist to make it faster next time. This is with version 2.0.4 of the software. Many thanks to our resident surveying expert Yukang for staying very late to help me out with this.
Doublecheck offsets to apply to surveyed points. Get signs right. Remember which points were surveyed with the reflector pointing up or down, take into account the height of the totalstation.
Take into account the height of the antenna inside the tag. This may add 1-2 centimetres to the height of surveyed points.
Check that the antenna boards inside the sensors haven’t come loose. If they have you need to open the case and clip them back into place.
Check that the sensors are horizontal, roll should be zero.
Optimal pitch of the sensors is 45 degrees downwards. I seem to not point them down enough so should try to emphasise this in future.
Read more…
Ubisense is a real-time location system based on ultra-wide band. Their software has 2 parts, the server which can run on Windows or Linux, and the configuration UI which can only run on Windows. The server is provided as RPMs for installation on Suse or RedHat, but it’s possible to install it on Ubuntu. These instructions are for version 2.0.4 of the Ubisense server software.
Read more…
Some avi files generated from Matlab are missing indexes and can’t be opened by avidemux. Use mencoder to fix.
mencoder -idx -oac copy -ovc copy infile.avi -o outfile.avi