To control the attitude and orbit of a spacecraft, you need to measure its orientation, position, and velocity relative to a reference frame, such as the Earth or the Sun. For this purpose, you can use different types of sensors, such as gyroscopes, magnetometers, sun sensors, star trackers, GPS receivers, and radar altimeters. Depending on the accuracy, reliability, and power requirements, you can choose the best combination of sensors for your mission. To change the attitude and orbit of a spacecraft, you need to apply forces and torques to it. For this purpose, you can use different types of actuators, such as thrusters, reaction wheels, control moment gyros, magnetic torquers, and solar sails. Depending on the magnitude, direction, and duration of the desired changes, you can choose the best combination of actuators for your mission.