Check out the sources and read routing.xml. Probably best to use the
stable branch for the series of osamnd you are using.
Beware that OSM itself may not have all the data you need, and that not
all tags in OSM are available in osmand. See OsmAndMapCreator for more