added ros time usage tutorial
added ros package python example
refactor code