Robot.cpp Crash Fix