Do the same thing for this next room, hop in, use the console so that you can have access to the At-St's.
Use the At-St to clear the courtyard, then go back to where you got in the At-St, look to the left and there will be another door.
Go up, then there will be a cutscene. Pop Rax and he'll leave again(chicken-_-) Continue on and go through the door on the left.
Go to the left and use the console in this room.
Then go though the door and use the lift, you go into a hanger, go forward towards the stairs, there will be a cutscene.
Jump on the stairs, go left and hop to the next level. Continue doing this until you get to the top level.
Blast Rax, and then the ending cutscene.