Stay out of this. Medical devices should be:
- designed by people who are skilled in the art,
- extensively tested, and
- listed for the purpose.
My take is that you can't accomplish any of these. Even if you're not controlling the x-ray beam itself, you're still moving things around that might be in contact with or close to a patient. Everyone who's tried to control something of that size will tell you that there's a real possibility that the devices, and their movement, will get away from you, and be out of control. The result would be a patient bashed in the head with a c-arm, or dumped onto the floor. Both are bad.
Maybe you have some surplus junk that you intend to use in a low-budget remake of "Frankenstein." If that's the case, have fun. But, if you ever want this gizmo to operate in the presence of a live patient, stop thinking about it.