A simple desktop app to add custom frames in the ArduSub project
- Copy the ardusubFrameGenerator (It's in prebuilds folder) to the ardupilot folder.
- Give it permissions for execution sudo chmod u+x ardusubFrameGenerator
- Run.
- Set the number of motor that your are going to use in the new frame.
- Configure each motor in the List below (Set the MotorChannel and geometry factors)
- Push Generate button and that's all.
- Compile ardusub with command "make px4-v2" or "make px4-v2-upload".
- Choose your frame with the FRAME_CONFIG parameters.
ArdusubFrameGenerator modifys the following files thus: (The custom number motor is X and factos values are [a-f])
case AS_MOTORS_CUSTOM_FRAME:
+add_motor_raw_6dof(AP_MOTORS_MOT_X, a, b, c, d, e, f, X);
+break;// ArdusubFrameGenerator