separate to three part.\n first is samcl second is robotstate, and last is grid