added separate code for ramp and floor
add autonomous code