paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Paparazzi-devel] how to start


From: Kostas Alexis
Subject: [Paparazzi-devel] how to start
Date: Fri, 21 Nov 2008 20:10:15 +0200

hello there

i have buyed the tiny 2, accellerometers and gyros. i want to start using those to test my airframe. what i want to do is to connect the gyros and the accellerometers, control the dc brushless motors and measure the roll, pitch and yaw angles. Are those measurements pre-programmed to the tiny??? Should i make a code of my own? ----- Original Message ----- From: "John Koches" <address@hidden>
To: <address@hidden>
Sent: Sunday, October 26, 2008 5:14 PM
Subject: [Paparazzi-devel] Re: Paparazzi-devel Digest, Vol 55, Issue 35


Hello Everyone,

I am setting up my airframe to take still pictures using a Pentax Optio
A30 camera controlled remotely using  PRISM IR emitter that under
ordinary circumstances would just plug directly into the receiver.  In
other words, the PRISM controller works like a servo or typical actuator
as far as the ap is concerned.  I started looking at the paparazzi code
and found  dc.c and dc.h files under the sw/airborne directory.  I also
found the dc.xml file in the conf/settings directory.  There are even
buttons for the gcs under the picture directory.  So it looks like
someone has done something similar before, but I can't find any
documentation or discussion about the topic.  It could be that it is all
there already!

I setup the paparazzi center for a simulation using airframe -
funjet1.xml, flight_plan - versatile.xml, settings - dc.xml, radios -
T7cap.xml, and telemetry - default.xml.  I keep getting the same build
error as reported below.  Any ideas that anyone might have to get me
started in the right direction will be appreciated.  Thanks much!!!!
jkk

Run 'make -C /home/kochesj/paparazzi3 -f Makefile.ac AIRCRAFT=Jkk_first
clean_ac '
make: Entering directory `/home/kochesj/paparazzi3'
Jkk_first
rm -fr /home/kochesj/paparazzi3/var/Jkk_first
make: Leaving directory `/home/kochesj/paparazzi3'

DONE (exec make -C /home/kochesj/paparazzi3 -f Makefile.ac
AIRCRAFT=Jkk_first clean_ac  2>&1)

Run 'make -C /home/kochesj/paparazzi3 -f Makefile.ac AIRCRAFT=Jkk_first
sim '
make: Entering directory `/home/kochesj/paparazzi3'
Jkk_first
BUILD Jkk_first
make[1]: Entering directory `/home/kochesj/paparazzi3'
BUILD /home/kochesj/paparazzi3/var/Jkk_first/airframe.h
##################################################

AIRFRAME MODEL: Jkk_first

##################################################
BUILD /home/kochesj/paparazzi3/var/Jkk_first/radio.h
##################################################

RADIO MODEL: T7cap

##################################################
BUILD /home/kochesj/paparazzi3/var/Jkk_first/flight_plan.h
##################################################

FLIGHT PLAN: Versatile

##################################################

WARNING: low altitude (0<0+25) in <waypoint Y="20.0" NAME="TD" X="80.0"
ALT="0"/>

BUILD /home/kochesj/paparazzi3/var/Jkk_first/flight_plan.xml
BUILD /home/kochesj/paparazzi3/var/Jkk_first/settings.h
BUILD /home/kochesj/paparazzi3/var/Jkk_first/tuning.h
BUILD /home/kochesj/paparazzi3/var/Jkk_first/Makefile.ac
BUILD /home/kochesj/paparazzi3/var/Jkk_first/periodic.h
make[1]: Leaving directory `/home/kochesj/paparazzi3'
cd sw/airborne; make PAPARAZZI_SRC=/home/kochesj/paparazzi3
PAPARAZZI_HOME=/home/kochesj/paparazzi3 TARGET=sim ARCHI=sim all
make[1]: Entering directory `/home/kochesj/paparazzi3/sw/airborne'
DEPEND /home/kochesj/paparazzi3/var/Jkk_first/sim/.depend
make[1]: Leaving directory `/home/kochesj/paparazzi3/sw/airborne'
make[1]: Entering directory `/home/kochesj/paparazzi3/sw/airborne'
CC /home/kochesj/paparazzi3/var/Jkk_first/sim/latlong.o
CC /home/kochesj/paparazzi3/var/Jkk_first/sim/radio_control.o
CC /home/kochesj/paparazzi3/var/Jkk_first/sim/downlink.o
CC /home/kochesj/paparazzi3/var/Jkk_first/sim/commands.o
CC /home/kochesj/paparazzi3/var/Jkk_first/sim/gps.o
CC /home/kochesj/paparazzi3/var/Jkk_first/sim/inter_mcu.o
CC /home/kochesj/paparazzi3/var/Jkk_first/sim/infrared.o
CC /home/kochesj/paparazzi3/var/Jkk_first/sim/fw_h_ctl.o
CC /home/kochesj/paparazzi3/var/Jkk_first/sim/fw_v_ctl.o
CC /home/kochesj/paparazzi3/var/Jkk_first/sim/nav.o
CC /home/kochesj/paparazzi3/var/Jkk_first/sim/estimator.o
CC /home/kochesj/paparazzi3/var/Jkk_first/sim/sys_time.o
CC /home/kochesj/paparazzi3/var/Jkk_first/sim/main_fbw.o
CC /home/kochesj/paparazzi3/var/Jkk_first/sim/main_ap.o
In file included from
/home/kochesj/paparazzi3/var/Jkk_first/settings.h:10,
                from main_ap.c:48:
/home/kochesj/paparazzi3/var/include/dc.h:8:1: warni
ng: "PPRZ_DC_TIMER"
redefined
/home/kochesj/paparazzi3/var/iCC /home/kochesj/paparazzi3/var/Jkk_first/sim/datalink.o
In file included from
/home/kochesj/paparazzi3/var/Jkk_first/settings.h:10,
                from datalink.c:47:
/home/kochesj/paparazzi3/var/include/dc.h:8:1: warning: "PPRZ_DC_TIMER"
redefined
/home/kochesj/paparazzi3/var/include/dc.h:7:1: warning: this is the
location of the previous definition
datalink.c: In function ‘dl_parse_msg’:
datalink.c:139: warning: implicit declaration of function ‘dc_Shutter’
datalink.c:139: error: ‘dc_timer’ undeclared (first use in this
function)
datalink.c:139: error: (Each undeclared identifier is reported only once
datalink.c:139: error: for each function it appears in.)
datalink.c:139: warning: implicit declaration of function




_______________________________________________
Paparazzi-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]