Yes this is one photo of 8 taken on my very first successful photo taking APM mission, today.
Photo taken after waypoint achieved using APM cmd.
More details to come later (probably in wiki/manual)
A couple of things about the photo mission I'm not happy with and shall attempt to rectify.
Anybody else taken some photos at waypoints? Love to see them.
Replies
Great shot you're very good at what you're doing. Keep it Up.
Hi Brett
I tested your testing code (ground) several times, but the shutter servo did not response. I used the exact same mission code as you use, with my own coordinates, nothing happen when im inside the loiter coordinates.
Do you have any idea what is wrong with my setting?
Thanks,
Feri.
All the activities in one place like this:
void waypoint_check(void)
{
if(wp_index > 3 && wp_index <=10){ //between these waypoints it will do what you want
wp_radius = 10;
if(wp_distance < wp_radius){ //get as close as it can for you
//call a function below
}
}
}
void take_picture(void)
{
servo_out[CH_6] = -45 //Camera click
delayMicroseconds(5000) //delay
servo_out[CH_6] = 0 // Return servo to mid position
}
void egg_waypoint(void)
{
float temp = (float)(current_loc.alt - home.alt) * .01;
egg_dist = sqrt(temp / 4.903) * (float)ground_speed *.01;
if(wp_index == 3){
wp_radius = 10;
if(wp_distance < egg_dist){
servo_out[CH_RUDDER] = -45;
}
}else{
wp_radius = 20;
servo_out[CH_RUDDER] = 45;
}
}
Just a thought.....