Hi Tom,
I have made several trials using the instructions above but I did not managed to make it work.
My objective is to do pictures with the camera only when I am in autopilot mode , doing the survey. If I will exit the Autopilot mode I want to have the camera shut down , so : Autopilot on / camera lens will expand and it will start to do pictures , Autopilot off/camera lens will retract. I need this procedure to protect the camera lens at landing (dust, grass…).
What have I done, in chronological order:
1. Download the .lua file shared by you and loaded on the camera card on Scripts folder;
2. Put the card in the camera and loaded the GP.LUA script ( I have left the parameters “Use tagging”=0 and “Use separate log”=1 );
3. Using the custom cable I have connected the Canon camera to Channel 6 on Gluonpilot;
4. Connect the Xbee to the laptop;
5. Open the Gluonpilot Ground station;
6. Power up the RC transmitter;
7. Power up the Gluonpilot V2;
8. Make the link between the groundstation and the Gluonpilot V2;
9. I have create this flightplan:
10. I have Write the flightplan to the Gluonpilot after this I have burned it to flash;
11. I have moved the switch from the rc transmitter from manual mode to autopilot mode(Canon camera shut down) and I have tried to activate the trigger block – nothing happened to the camera;
12. I have moved the switch from the rc transmitter from manual mode to autopilot mode(Canon camera started in playback mode – lens retracted-GP.lua chdk loaded) and I have tried to activate the trigger block – nothing happened to the camera;
13. I have moved the switch from the rc transmitter from manual mode to autopilot mode(Canon camera started normal with power button – lens expanded-GP.lua chdk loaded) and I have tried to activate the trigger block – nothing happened to the camera;
What have I done wrong? What is the process flow that can assure success ?
Thank you,
Alex