I'll see what i get when it's going through the pixhawk.
After modifying the script, here are the stick and result combinations:Throttle, Pitch, Resultdown, middle, 6down, down, 8down, up, 3middle, middle, 15up, middle, 12 (keeping the pitch in the middle, as I move the throttle up and down I get values from 12 to 19)Moving the throttle gives me values between 12 to 19 regardless of where the pitch is setSame with the Pitch. Leaving the throttle in one position (doesn't matter which), moving the pitch gives me values between 3 and 9.
Movement of the RC Transmitter stick from one extreme to the other will send a single trigger to the camera at either end and in the middle. The example scripts, or user generated scripts, can detect the following pulse lengths on the USB power with the get_usb_power function which counts with 10mS resolution:Channel 1USB PulseChannel 2USB PulseLow position30mSLow position120mSMid position60mSMid position150mSHigh Position90mSHigh Position180mSIn addition to the above, a 210mS pulse will be sent every 5 seconds if neither servo is connected to a RC receiver. If the RC receiver looses communication with the transmitter and the receiver stops sending pulses to the servos, then the USB output will go high continuously until communication is re-established.[/t]
Didn't have time to try different things today, but the modified test script showed a constant "6" when plugged into the Pixhawk. I suppose I need to figure out how to get other values. One thing I haven't quite understood is the parameters necessary in Mission Planner to get the two channels working. I haven't come across examples of this yet. I'm assuming two AUX ports would be set to something, but it won't let me have two set to camera trigger. Ah well, for tomorrow.
Super! It works flawlessly now. Thank you for the suggestion. Could you explain what the difference was?
Started by Jim
Completed and Working Scripts
Started by nadavofi
« 1 2 »
Started by Benny_H88
« 1 2 3 »
Started by davefolts
Creative Uses of CHDK
Started by GlobalSurvey
General Help and Assistance on using CHDK stable releases