adam bazley
  • Male
  • Otago
  • New Zealand
Share

Adam bazley's Friends

  • Gustavo Togeiro de Alckmin
  • Shyam Balasubramanian

adam bazley's Groups

adam bazley's Discussions

MAV Link On Raspberry Pi's

Started this discussion. Last reply by Søren Kuula May 26, 2014. 4 Replies

Hey every oneI'm working on a project where I am using a Raspberry Pi to take photos when commanded to by the APM2.5. I have this working nicely using the camera shutter pin on the side of the APM2.5…Continue

Tags: APM2.5, GPS, MAVLink, Pi, Raspberry

 

adam bazley's Page

Latest Activity

Spencer Manning replied to adam bazley's discussion User Code and User Varibales in the group Learning to program the Ardupilot Mega
"@Adam  How do you get the Arduino functions like pinMode() and digitalWrite() to be recognized in the Ardupilot firmware? Is there a package that needs to be downloaded?"
May 9
Søren Kuula replied to adam bazley's discussion MAV Link On Raspberry Pi's
"Hi, There is not much to receiving MAVLink messages in a C program under Linux. MAVLink can generate C code, and C is the mother language of anything Linux, so that should work. I have written a gimbal controller that can understand MAVLink,. It is…"
May 26, 2014
adam bazley replied to adam bazley's discussion User Code and User Varibales in the group Learning to program the Ardupilot Mega
"Well i had a brain wave and Im not to sure its the way it should be done but it should logically work. i have added a call to do_take_picture() in the verify_nav_waypoint() function. Now however i have new error, when i upload the firmware to the…"
May 18, 2014
Gustavo Togeiro de Alckmin replied to adam bazley's discussion MAV Link On Raspberry Pi's
"Hi, Soren! Well, I am interested on the same thing as Adam. The idea would be integrating Raspberry Pi with an infrared camera + USB Camera.  and have these images  Geo-referenced. \Adding a another GPS to RPi would be a…"
May 18, 2014
Shyam Balasubramanian replied to adam bazley's discussion User Code and User Varibales in the group Learning to program the Ardupilot Mega
"I think you have been struggling with this for quite some time.  Don't define pinMode(cameraPin, OUTPUT); in that header file, it is a function. As I said, MACRO replaces whatever you write during compile time. If you write a function…"
May 18, 2014
adam bazley replied to adam bazley's discussion User Code and User Varibales in the group Learning to program the Ardupilot Mega
"Sorry to keep asking the same question's man but this problem is causing me some serious issues.This is what i have in the UserCode.pde: #ifdef CAMERA_TRIGGER_ON_WAYPOINTvoid camera_trigger_on_waypoint(){ digitalWrite(cameraPin, HIGH);…"
May 17, 2014
Shyam Balasubramanian replied to adam bazley's discussion User Code and User Varibales in the group Learning to program the Ardupilot Mega
"Hi Adam, It was my mistake, I meant UserVariables.h. Name should not matter, the thing is you put all the #define, etc inside a header file (.h) and use the functionality and functions inside a (.pde or .ino) files. These are the naming conventions…"
May 16, 2014
adam bazley replied to adam bazley's discussion User Code and User Varibales in the group Learning to program the Ardupilot Mega
"Hi Shyam I did but im sorry to say that i need a little more details about what to put where. I cannot find the UseCode.h file do you mean the UserVariables for the custom defines ? as for the hardware we have the APM connected to a logic level…"
May 16, 2014
Shyam Balasubramanian replied to adam bazley's discussion User Code and User Varibales in the group Learning to program the Ardupilot Mega
"Hi @Adam, Did you follow the instructions in my previous post, because it should solve your errors. I had written the camera code over a year ago. I am sorry, I don't have it with me now. The logic in software is simple and is just calling…"
May 16, 2014

Developer
Bill Bonney replied to adam bazley's discussion User Code and User Varibales in the group Learning to program the Ardupilot Mega
"The other issue is the outputs are all PWM controlled on the APM2.5/6*. If you are using Pixhawk, i think a solution to switch high low has beed added on two output pins, but i need to confirm that *i believe the APM 1 has digital IO out and that…"
May 15, 2014

Developer
Bill Bonney replied to adam bazley's discussion User Code and User Varibales in the group Learning to program the Ardupilot Mega
"See here for help on building The APM http://dev.ardupilot.com"
May 15, 2014
adam bazley replied to adam bazley's discussion User Code and User Varibales in the group Learning to program the Ardupilot Mega
"Sorry forgot to add my email to the last reply, A.bazley@gmail.com."
May 15, 2014
adam bazley replied to adam bazley's discussion User Code and User Varibales in the group Learning to program the Ardupilot Mega
"there is a UserCode.h ? i thought that there was a UserCode.pde and a UserVariables.h would you be able to email me the code files for your camera trigger so that i can use it as a base for mine? I know that its better practise to figure it all out…"
May 15, 2014
Shyam Balasubramanian replied to adam bazley's discussion User Code and User Varibales in the group Learning to program the Ardupilot Mega
"You are defining a MACRO. You have an incorrect MACRO declaration. MACRO's are replaced at compile time. You have said: #define CAMERA_TRIGGER_ON_WAYPOINT camera_trigger_on_waypoint(); This would replace this line with contents of the…"
May 15, 2014
adam bazley left a comment for leonardthall
"Hi Leonard, i know that this is a strange way to contact you but I was wondering if i could get some help with editing the ArduPilot's user code sections ? if you email me off list at a.bazley@gmail.com you would rock. thanks Adam"
May 15, 2014
adam bazley left a comment for Randy
"Hi Randy, i know that this is a strange way to contact you but I was wondering if i could get some help with editing the ArduPilot's user code sections ? if you email me off list at a.bazley@gmail.com you would rock. thanks Adam"
May 15, 2014

Profile Information

Please tell us a bit about your UAV interest
Im working on a UAV project building Quad and Octo rotor drones for Land search and rescue as an experiment to see if they can be used to mitigate the costs of the searching using a Helicopter
Hometown:
Dunedin

Comment Wall

  • No comments yet!

You need to be a member of DIY Drones to add comments!

Join DIY Drones

 
 
 

© 2019   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service