Provision to interface flytpod with an external logger


#1

Hi,

On the UAV, which we are building, have several external sensors like AOA, AOS, potentiometers, temperature sensors, etc, which we are planning to log using the additional data logger in sync with the data logging capability of the autopilot. Our requirement is to start the data logger, when the autopilot is armed. This may help us to provide proper time stamp match with the autopilot log. Is there a possibility of configuring the unused I/O ports on flytpod to send a command signal to the external logger, when the autopilot is armed??

Regards,
Arun


#2

Hi,

Do you want to control the output of the 2 GPIOs in FlytPOD?
Following the convention mentioned here, if you want to set GP1 as output pin, run this command:

rosservice call /flytpod/payload/set_gpio_direction “pin: gpio1’'
direction: 0”

To set the value of the GP1 to 1, run this command:

rosservice call /flytpod/payload/get_set_gpio “pin: gpio1’'
state: 1”