[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Paparazzi-devel] Add new sensor
From: |
Jimmy |
Subject: |
[Paparazzi-devel] Add new sensor |
Date: |
Tue, 15 Jul 2014 21:27:32 -0700 (PDT) |
Hello everybody,
I was looking forward to add a new sensor to ppz, but I am in trouble.the
output signal is
rs232, and I have a max3232 chip.
The current situation is I have creat a message successfully. However, the
function I added in
the file firmware/fixeding/autopilot.c like this:
static void send_pzg(void) {
struct FloatEulers* att = stateGetNedToBodyEulers_f();
DOWNLINK_SEND_PZG(DefaultChannel, DefaultDevice,
&(att->psi));
};
The PZG message can display.
But I want to know the way of reading the data from the serial port and
using those data to
update the ahrs.
Any help would be greatly appreciated.
--
View this message in context:
http://lists.paparazziuav.org/Add-new-sensor-tp15817.html
Sent from the paparazzi-devel mailing list archive at Nabble.com.
- [Paparazzi-devel] Add new sensor,
Jimmy <=