nav_generate.cpp #1