They’re really not that aggressive as long as you leave them alone. But it helps to learn where they tend to hangout (under rocks, under bushes, right on the edge of the shade like you found) and be careful. It’s also another reason to wear a tall pair of leather boots - rattlesnakes tend to strike the ankles.