As I am immersed in my coding for the pan and tilt it occurs to me that I have not posted code for just normal camera work yet. Having updated the wiki to include this post as well as writing the servo install guide.
WP_activity.pde WP_activity.pde
Within this sketch is the code for waypoint events (including the eggdrop challenge code). Simply stick the function you want into it and it will be executed on the waypoint you have listed. Numbers between those circled 2 to 17 will have the event you place in the middle. You can also use the = event below so it is for a single waypoint or special event.
Don't forget to add waypoint_check() to the slow loop case 2 code in ArdupilotMega as in this slow loop.png picture.
Camera.pde Camera.pde
Holds the code for operating various cameras. Currently the standard servo trigger method and my ArduCam are the only ones present but as almost everyone uses the its fine.
Comments