Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
900 Views

Is there any aux pins that can send triggering signal to the camera?

Hi Everyone,

From the https://pixhawk.org/peripherals/onboard_computers/odroid_c1 Odroid C1 - Pixhawk Flight Controller Hardware Project I got that Pixhawk autopilot have aux pins that can sending triggering signal to the camera, which is descibed as follows:

Sending triggering signal from Pixhawk autopilot

The Pixhawk autopilot is capable of sending a triggering signal to the bluefox camera(s). In the following section it is shown how the Pixhawk and the Odroid are set up such that the Pixhawks sends simultaneously two trigger pulses to two bluefox cameras such that these two bluefox cameras capture image frames at the same time. To accomplish this task from a software perspective, there are several steps that must be considered. They are separated into three parts:

  1. Starting camera trigger app on Pixhawk
  2. Establishing service call that sends message to Pixhawk to start triggering
  3. Adapt camera driver to send ready-for-trigger signal

In the following section these steps are explained in more detail. It is important to note that the mavros node as introduced in the preceding section must be started otherwise it is not possible to communicate with the Pixhawk.

Starting camera trigger app on Pixhawk

The camera trigger app is part of the Pixhawk firmware and the source code can be found https://github.com/PX4/Firmware/tree/19e3da71695ef3119e650568ff8f38d2b95592dc/src/drivers/camera_tri... here. In the file camera_trigger_params.c the desired parameters can be set. In this example two bluefox cameras should be triggered simultaneously. The two AUX pins 1 and 2 of the Pixhawk should be used to send the trigger signal. Thus the parameter TRIG_PINS is set to 12. To start the camera trigger app at boot, create the file extra.txt on the SD card and write the following:

camera_trigger start

Even though the camera trigger app is started at boot, it should start to send the trigger signal only after the service call from the Odroid has arrived. Please note, the camera trigger app on the Pixhawk does not only send electric trigger pulses it also sends a timestamp message that corresponds to the time instance when the trigger pulse was sent. This message is forwarded to the Odroid C1 and then published in the ROS network via the application mavros that was introduced before.

Is there any aux pins from the intel aero computer board that can send triggering signal to the camera?

Thanks!

0 Kudos
4 Replies
Highlighted
Community Manager
7 Views

Hello Yao,

 

 

Thank you for contacting Intel Technical Support.

 

Your request has been received and is currently being investigated.

 

We will get back to you as soon as possible.

 

 

Best regards,

 

Gheorghe

 

Intel Customer Support
0 Kudos
Highlighted
Community Manager
7 Views

Hello Yao,

On non-computer based drones it's done at the flight controller level with px4/ardupilot. On Aero, the camera is connected to the computer.

 

You will need to write your own code to monitor the MAVLink messages coming from the flight controller to trigger a photo. We also have the FPGA that you can use to have a hardware trigger. You would need to write your own code as well.

By following the links below you can find the aero compute board guide: https://www.intel.com/content/dam/support/us/en/documents/boardsandkits/aero/apu-161110-pixhawk-flig... https://www.intel.com/content/dam/support/us/en/documents/drones/development-drones/intel-aero-compu... https://www.intel.com/content/dam/support/us/en/documents/drones/development-drones/intel-aero-compu... and FPGA docs:https://github.com/intel-aero/meta-intel-aero/wiki/95-%28References%29-FPGA https://github.com/intel-aero/meta-intel-aero/wiki/95-(References)-FPGA.

Let me know if You need additional information.

Best regards,

 

Gheorghe

 

Intel Customer Support
0 Kudos
Highlighted
Community Manager
7 Views

Hello Yao,

 

 

Can you please tell me if you need additional information?

 

 

Best regards,

 

Gheorghe

 

Intel Customer Support
0 Kudos
Highlighted
Beginner
7 Views

Hi Gheorghe,

Thanks for your reply.

As I am not good at FPGA programming. I am trying to use a usb camera on my drone. But I encounter another problem to use to the 3.0 of the Aero computer board.

That's another topic and I think we can close this question now.

Best regards,

Yao

0 Kudos