This question already has an answer here:
I am a graduate student and as the title says, I have an autism spectrum disorder. My advisor is a very nice person, at least, that is the impression I have gotten. The last few months however, I worry that I have made myself misunderstood many times because of my failure of communicating or not following certain social codes. I have not done anything that is inappropriate at all, I just might have come off at times a tiny, tiny bit rude, which I did not mean to be! In social situations I often get nervous and I think it might have shown in some situations. I am considering whether I should tell him about my autism spectrum disorder or not - I don't want to have it as an excuse for any behaviour, just more of an explanation and maybe better understanding in the future.
Are there any general guidelines on what to do in cases like these?