Monday, November 16, 2009

Convert bib file to bbl file

I have a bibliography database file which was created by kbib. I want to use it on latex. In the tex file, I add

"
\bibliographystyle{plain}
\bibliography{bibfile}
"
just begin the end of documentation.

When I first compile the file, it told me it can not find reference .bbl file. So I use bibtex to build a .bbl file which can be used in latex.

$ bibtex filename.aux


here .aux was created by first run of latex. It automatically transfer data from bibfile.bib to filename.bbl by filename.aux.

It's great. Because you just need one database, then you can use it forever.

Thanks latex.

No bounding box.

! LaTeX Error: Cannot determine size of graphic
in ... (no BoundingBox).



Today I encounter this problem when I play with latex-beamer. The problem is that when I compile it I was using latex but not pdflatex...Because latex just can use .eps picture. The command pdflatex just accept .pdf, .png, except .eps.

After converting the image from png to eps, it works with latex. AFter converting eps to png, pdflatex also works.

Thursday, November 12, 2009

Smart search history command in linux bash

Well, many people knows the up key can search the similar command in matlab terminal. But in linux (Ubuntu), if you work on terminal and want to try this, then nothing happen. If you want it search command history automaticly, you need do:

edit \etc\inputrc
uncomment next part:

# alternate mappings for "page up" and "page down" to search the history
"\e[5~": history-search-backward
"\e[6~": history-search-forward


Now you can use page up and down to search command history. Is that cool? eh.....

Saturday, November 7, 2009

Visual EKF_slam on volksrobot

The new dataset comes from our group's new lab. It still is a closed path. I used joystick control the robot. From the result, we can see, EKF slam is a powerful tool to correct the odometry error. In the end, it finally close the loop..

Left side of video is trajectory of robot, red line is odometry result. green line is fusion odometry with vision. Right side of video is feature tracking, green point is predicted point and red point is matched point.