In order to study the control method of position and attitude of the satellite, a simulation platform is built. The quality characteristics of the target satellite system and the reaction flywheel system are analyzed. The dynamic model of target satellite is built to study its dynamic character. Based on the CAMSHIT algorithm, the attitude and position of the target satellite is measured, and the control method of position and attitude is established by use of jet device and the reaction flywheel. The effectiveness and accuracy of the position and attitude control method are verified by the experiments.