After launching rviz, add robot model to rviz display and edit fixed frame in Global options to "base_link" (this is the link name which you gave in .urdf )