Quantcast
Channel: ArduPilot Discourse - Latest topics
Viewing all 46194 articles
Browse latest View live

Yuneec ST16 Transmitter Support?

$
0
0

@ekliptiko wrote:

Has anyone used a Yuneec ST16 Transmitter with arducopter?

It looks like the RC control protocol is in the AP_HAL_:

…But has anyone been successful at running a GCS software on the touchscreen? Has anyone been able to get the telemetry to work?

These transmitters can be found on ebay for pretty cheap:

and the receiver is super cheap as well:

https://www.ebay.com/itm/NEW-Yuneec-Typhoon-H-2-4Ghz-RECEIVER-Antenna-Module-Drone-Hexacopter-Hex/202671328706?hash=item2f30270dc2:g:NW0AAOSw6JNcz4Cz

Itd be real slick to integrate it and run QGC or Mission Maker.

Posts: 1

Participants: 1

Read full topic


Plane powered up after weeks being off, all RCx_TRIM values changed?

$
0
0

@Graham_Dyer wrote:

Just had the weirdest thing. Took our plane (Nimbus 1800 VTOL) for a flight after a few weeks of no flying. Plane had flown fine the last time and hadn’t even been booted up since then.

Armed the plane to do a quick test hover, which was fine, then tried to disarm - and it would not!
Eventually was able to disarm with Mission Planner, tried to arm again and got an error that the trim values were lower than the minimum values.

So I checked, and all 16 channels trim values were set to a value of 874! The original values for all 16 channels was 1500.

How on earth does that happen? First time it’s booted in weeks and somehow all the trim values change?

Or is this just another idiosyncrasy of Ardupilot that we must accept?

Posts: 1

Participants: 1

Read full topic

Can I download a log in flight via Mavlink to my PI3?

$
0
0

@Brian_Duvall wrote:

Hello all,
I see that there are messages to get logs on the Mavlink site but I don’t understand how to use them.
More specifically this message: LOG_REQUEST_LIST

Any examples would be greatly appreciated.

I am running Pixhawk 1
Arduplane 3.8

Posts: 1

Participants: 1

Read full topic

Build Problems for uavcan when building rover

$
0
0

@bjw678 wrote:

Hi,
I’m building the rover on cygwin from the latest ardupilot source and am having problems building uavcan as seen in below error.

Compiler failure
Traceback (most recent call last):
File “/home/PowerUsermodify/newtest/ardupilot/modules/uavcan/libuavcan/dsdl_compiler/libuavcan_dsdlc”, line 61, in
dsdlc_run(args.source_dir, args.incdir, args.outdir)
File “/home/PowerUsermodify/newtest/ardupilot/modules/uavcan/libuavcan/dsdl_compiler/libuavcan_dsdl_compiler/init.py”, line 63, in run
run_generator(types, output_dir)
File “/home/PowerUsermodify/newtest/ardupilot/modules/uavcan/libuavcan/dsdl_compiler/libuavcan_dsdl_compiler/init.py”, line 112, in run_generator
die(ex)
File “/home/PowerUsermodify/newtest/ardupilot/modules/uavcan/libuavcan/dsdl_compiler/libuavcan_dsdl_compiler/init.py”, line 90, in die
raise DsdlCompilerException(str(text))
DsdlCompilerException: line 16, col 17: invalid syntax (, line 1)
line 16, col 17: invalid syntax (, line 1)

My build configuration output is below if it helps.

$ ./waf configure --board=CubeBlack
Setting top to : /home/PowerUsermodify/newtest/ardupilot
Setting out to : /home/PowerUsermodify/newtest/ardupilot/build
Autoconfiguration : enabled
GCOV code coverage analysis : no
Setting board to : CubeBlack
Using toolchain : arm-none-eabi
Checking for ‘g++’ (C++ compiler) : /cygdrive/c/Program Files (x86)/GNU Tools ARM Embedded/6 2017-q2-update/bin/arm-none-eabi-g++
Checking for ‘gcc’ (C compiler) : /cygdrive/c/Program Files (x86)/GNU Tools ARM Embedded/6 2017-q2-update/bin/arm-none-eabi-gcc
Checking for c flags ‘-MMD’ : yes
Checking for cxx flags ‘-MMD’ : yes
Checking for program ‘make’ : /usr/bin/make
Checking for program ‘arm-none-eabi-objcopy’ : /cygdrive/c/Program Files (x86)/GNU Tools ARM Embedded/6 2017-q2-update/bin/arm-none-eabi-objcopy
Including /home/PowerUsermodify/newtest/ardupilot/libraries/AP_HAL_ChibiOS/hwdef/fmuv3/hwdef.dat
Adding environment OPTIMIZE -O3
Removing PB0
Removing PB1
Setup for MCU STM32F427xx
Writing hwdef setup in /home/PowerUsermodify/newtest/ardupilot/build/CubeBlack/hwdef.h
Writing DMA map
Generating ldscript.ld
Adding defaults.parm
Checking for env.py
env set DEFAULT_PARAMETERS=/home/PowerUsermodify/newtest/ardupilot/libraries/AP_HAL_ChibiOS/hwdef/CubeBlack/defaults.parm
env set MAIN_STACK=0x400
env set APJ_BOARD_TYPE=STM32F427xx
env set IOMCU_FW=0
env set APJ_BOARD_ID=9
env set HAL_WITH_UAVCAN=1
env set FLASH_RESERVE_START_KB=16
env set CHIBIOS_BUILD_FLAGS=USE_FATFS=yes MCU=cortex-m4 ENV_UDEFS=-DCHPRINTF_USE_FLOAT=1 CHIBIOS_PLATFORM_MK=os/hal/ports/STM32/STM32F4xx/platform.mk CHIBIOS_STARTUP_MK=os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32f4xx.mk
env set CPU_FLAGS=[’-mcpu=cortex-m4’, ‘-mfpu=fpv4-sp-d16’, ‘-mfloat-abi=hard’, ‘-u_printf_float’]
env set OPTIMIZE=-O3
env set PROCESS_STACK=0x2000
Enabling ChibiOS asserts : no
Checking for intelhex module: : disabled
Checking for HAVE_CMATH_ISFINITE : no
Checking for HAVE_CMATH_ISINF : no
Checking for HAVE_CMATH_ISNAN : no
Checking for NEED_CMATH_ISFINITE_STD_NAMESPACE : no
Checking for NEED_CMATH_ISINF_STD_NAMESPACE : no
Checking for NEED_CMATH_ISNAN_STD_NAMESPACE : no
Checking for header endian.h : not found
Checking for header byteswap.h : not found
Checking for HAVE_MEMRCHR : no
Checking for program ‘python’ : /usr/bin/python
Checking for python version >= 2.7.0 : 2.7.16
Checking for program ‘python’ : /usr/bin/python
Checking for python version >= 2.7.0 : 2.7.16
Source is git repository : yes
Update submodules : yes
Checking for program ‘git’ : /usr/bin/git
Gtest : STM32 boards currently don’t support compiling gtest
Checking for program ‘arm-none-eabi-size’ : /cygdrive/c/Program Files (x86)/GNU Tools ARM Embedded/6 2017-q2-update/bin/arm-none-eabi-size
Benchmarks : disabled
Unit tests : disabled
Scripting : disabled
Scripting runtime checks : enabled
Checking for program ‘rsync’ : /usr/bin/rsync
‘configure’ finished successfully (40.426s)

Posts: 1

Participants: 1

Read full topic

World's Smallest Brushless Octocopter?

$
0
0

@iampete wrote:

This is my latest build, the worlds smallest brushless octo-copter (as far as I can tell) running Arducopter (of course) on the kakute f7 AIO.

Build is very simple, custom frame laser cut out of ply. Eight E-Max RS 1106 4500kv with 2.5 x 3.4 four blade props. Two generic blheli32 four in one ESC’s. A Kakute f7 AIO, M8Q-5883 compass from Matek and a FrSky R-XSR.

The f7 processor is the key to this build it allows FrSky telemetry to work without the need for a inverter and it’s versatile pin functionality allows extra pwm outs to be added. A bit of trail and error with the hwdef.dat allowed two extra pwm outs to be added using the led and buzzer pins. The LED pin works straight away however to get the eighth pwm on the buzzer pin you must bypass the amplifier transistor. I soldered a 220 ohm resistor to the left pad of the transistor and the other leg to the esc wire. Resistor is probably not absolutely necessary but are built into most flight controllers for protection. I have all eight motors running Dshot with esc telemetry.

Next step was to get the motor order worked out, test flight and then autotune. It flys very well straight off the autotune giving just over 5 mins on a 1400 mah. It is full capable of doing missions but is missing a full telemetry link.

I’m quite pleased how it turned out, not the most practical of craft but a fun build and good to fly. Not quite race quad power but surprisingly close for such small motors. Some more fine tunning of parameters to be done in the future, maybe i’ll add telemetry, or 3D print a ‘lid’ so the flight controller is less exposed.

Posts: 1

Participants: 1

Read full topic

EKF 2 Multiple sensors fall over and recovery

$
0
0

@BFM1 wrote:

Hi, I am trying to fully understand something with the EKF 2 and multiple sensor redundancy like in the Pixhawk or the Cube/ other controllers with multiple IMUs as I have seen a lot of chatter on this since the cube bulletin and the changes added to PR.

Iv got my head around the EKF failsafe and that is as I understand it a failure it can’t recover from and there are no others it goes into landing mode but this is the last resort as I see it and not normal behaviour .

With regards to having multiple IMUs this is where I am still not fully clear.

As standard the cube for instance sets the EK2_IMU_MASK to 3 so this means there are 2 EKF2 Cores running in parallel, one using IMU1 and the other IMU2, if one fails then it can switch to the other EKF as I read it.

If you set the mask to 1 this means there is only one EKF core and its using IMU1, my question is can the EKF still change IMUs with in the core and not triggering EKF switch or failsafe with or without having multiple cores running ?

Further to this If your using either single EKF or duel EKF’s does it have the ability to switch to the unused 1 or 2 unused IMU/‘s depending on the mask setting but not actually change the whole EKF core ?

What I’m trying to understand is, Does the EKF2 and or 3 have access to all of the addition sensors when only one instance is running like a voting system of the best data with all the available sensors with in the whole single process running if that makes sense.

Posts: 1

Participants: 1

Read full topic

Dev Call May 06 2019 2300 UTC

$
0
0

@CraigElder wrote:

Issues & Pull Requests







GSOC

  • Student are announced

General

  • New Bootloader

Plane

  • Release Update - Should be a new release in a few days

Copter

Rover

Posts: 1

Participants: 1

Read full topic

Sudden crash in Auto mode (Uncontrolled descent to hard landing, UGCS)

$
0
0

@autopiloton wrote:

Hello, all. I was hoping somebody can shed some light on why my heavy-lift platform fell out of the sky during an auto mission. Here are the particulars. The drone is a large (1600mm) hexacopter with U8II 85kv motors running on 12S. It usually flies great in all modes especially stabilize. This was the first test of auto mode using UGCS for the mission control. If you look at the logs you will see two flights in the same log. The first one is just flying around in stabilize mode a few minutes, then on the ground for a bit and then the start of the auto mission. During the second flight line of the mission (heading south, flying at around 20m AGL) the drone suddenly yaws (maybe 1 full rotation if I remember correctly) and descends. I managed to switch to POS Hold and apply full throttle to arrest the descent just before it hit very hard on the landing gear (breaking the gear) and bounced maybe about 5 feet before landing again very hard. I can not see any reason for this from inspection of the hardware as well as the flight logs. Any ideas from this log? Thanks very much.

Posts: 1

Participants: 1

Read full topic


Frustration about mission planer and arducopter

$
0
0

@bowie1304 wrote:

Hello,
I’m new here, but I have a big problem and nobody could help me till now.
Problem description.
I crashed my drohne and had to buy me a new arducopter module, because the crashed one did not react anymore.
Now I received the new one and tried to setup it via the Mission planner (ver.1.3.66). I tried to load the firmware and it seems to work. Message said that the upload was DONE.
Now I tryed to connect to the board, the connection symbol turned to green but the appearing window “Connecting MavLink” sait that he is trying to connect after a timeout count down.
But it isn’t successful “No Heartbeat Packets received”
Disconnectiong the new ARDUCopter board for at least 1 minute and reconnecting it, brings up the same result.
I tried everything I know. loading firmware with the wizzard stops with the windows “getparams… sysid…” Nothing happens anymore afterward, so I had to cancel the process.

Could anyone here tell me what is wrong here, I know it worked with the old one, but know???

Kind regards
Willi

Posts: 1

Participants: 1

Read full topic

Suggestions on how to power 12v solenoids from Pixhawk please

$
0
0

@bigfinger wrote:

I have 3 solenoids to power for something in the range of a second or so. one singularly and the other two as a pair.

Ideally, they should give an external LED indication of operation (not a deal breaker if they dont)

the solenoids are

ZANTY SDK-0622-12A2
Type: Linear Solenoid
Total weight: about 32g
Plunger weight: about 7g
Size: 22.13014mm
Magnetic Holding: 80-0gf
While 50% duty cycle
Max on time: Pull≤1S, Relax≤100ms
Power(20℃): 8W
Rated voltage: DC12V

whats the best way to power these ? should i just use a std RC with or can i get the pixhawk to do this for me and control it through ardupilot properly?

Posts: 7

Participants: 2

Read full topic

DSHOT protocol in ArduPlane 3.9.8

$
0
0

@maciek252 wrote:

I can’t find any parameter for configuring DSHOT mode in ArduPlane 3.9.8. None of these described in the ArduPlane docs are present among my parameters.

[MOT_PWM_TYPE], [SERVO_BLH_OTYPE], or [Q_M_PWM_TYPE]

My plane is not a tailsitter, just a “normal” twin-motor airplane. Do I need to enable the tailsitter and then somehow (how?) disable most of it functionalities, but have access to the Q_M_PWM_TYPE parameter?

I use the DSHOT support in my copter, works really great, now I would want to move to the planes with this.

Posts: 2

Participants: 1

Read full topic

Three motors spin faster than the other during throttle take off

$
0
0

@timmy_tori wrote:

Hello,
I am trying to demo for my supervisor this week and I need Help. I custom built an X frame Quadcopter with an APM 2.8 flight controller DJI E800 motors with compatible DJI ESCs, anytime I tried to throttle only three motors spin fast enough to take off and the other one spins very slowly , when I move yaw and pitch stick while trying to throttle with the transmitter the motor opposite to the direction of yaw and pitch begins to spin slow respectively. I tried motor test with mission planner and all motors spin perfectly. When I increase throttle and test motors with propellers attached in mission planner it lift off.
Pls I need directions on how to solve this, I have changed ESCs and done all troubleshooting I could think of.

Posts: 2

Participants: 2

Read full topic

Skywalker X8 Quadplane Build 4

$
0
0

@darrell wrote:


Almost two years ago I posted about my first adventures with building quadplanes. I’m up to my fourth build of a Skywalker X8 quadplane now having tried a few different approaches.

This time around I wanted to move from using slower vertical motors with large props, such as I would use in a multirotor build, to smaller faster lower voltage motors with smaller props. I’m still using separate power circuits for the vertical and forward motors to ensure I always have enough battery power left to land with. I did have to upgrade the wiring to handle the additional current required by using 4S rather than 6S batteries for the vertical motors.

I’m also staying with wing extensions rather than under the wing mounting of the motor bars. The next few weeks I’ll be doing some flight tests of auto missions and testing how long and far this build will go. Here are the components I used this time around.

  • Single HobbyKing graphine 5.0A 45C 4S battery for vertical motors
  • Mach current monitor. 60A draw during hover, 90A peak.
  • Approximately 5 minute flight time
  • Single or dual HobbyKing Multistar 8.0A 10C battery for forward motor
  • HobbyKing current sensor
  • 14 Amp current draw during cruise with 40 amp peak
  • Forward motor – HobbyKing SK3 4240-740kv
  • HobbyKing 85A ESC
  • 13x8 forward prop
  • Vertical motors – SunnySky 3120-1100kv with 12x4.8 props
  • Droidworx multirotor motor mounts (designed for round tubes, modified for square tubes)
  • HobbyKing 40A Plush ESCs
  • Wing extensions. 180mm width. Allows for use of up to 15” props. Increases wing area from 80DM^2 to 96DM^2 – 980mm 15x15 square carbon fiber booms joined in the middle with a 12x12 aluminum insert to strengthen area that carbon spars pass through.
  • Digital air speed sensor mounted in 3D printed mount available from thingiverse.com web site
  • Custom balsa mount to fit Sony A6000 camera with 16mm lens mounted near center of gravity
  • Pixhawk 1 flight controller (upgrade to the amazing Cube if you can)
  • ArduPilot 3.9.8
  • Ublox GPS / Compass
  • RFD 9000X radio modem data link
  • FRSKY X8R receiver
  • Additional 5V BEC to Pixhawk power rail and to power Mach power sensor module
  • Wing tips connected with posts and magnets
  • Empty weight 5kg. MTOW 7kg.
  • Max flight time with two 8A batteries approx 60 minutes
  • Max flight distance ~60 kms
  • Cruise speed 18-20m/s – Stall speed 14m/s
  • Vinyl covering, same as used on cars
  • Wing tape on top and bottom of wings for additional strength
  • Elevons connected with hinges and tape
  • Elevons controlled with dual digital servos (one additional to stock airframe)
  • Two canopy latches added to rear of canopy

Posts: 2

Participants: 2

Read full topic

Apsync image & usb camra h.264

$
0
0

@Devel0per11 wrote:

What I must change on APSYNC “ArduRover” image to use ELP Low illumination USB camera module SONY IMX322 cctv pcb board H.264 MJPEG 30fps 1920*1080 ???

Posts: 1

Participants: 1

Read full topic

Second Crash on a X8,now directly after starting AutoTune

$
0
0

@Copter_Newbie wrote:

Dear all,

I need some help from you specialists. We have a new build with the general properties:

  • Cube black on “Kore Carrier Board”
  • Firmware 3.6.8
  • latest Mission Planner Update
  • X8
  • MN605-S (170KV) Motors
  • 20inch propellers
  • 12s
  • TOW: about 12Kg

After a first crash (a few days ago), today we would like to start AutoTune. At first, we was hovering ad flying a little bit in AltHold and everything was “okay”. Okay, enough for starting AutoTune.

Directly after starting AutoTune, we had strange movements left and right. I would say more than 45degrees. The copter was not able to come back to level and so the copter was loosing altitude during left/right movements. We directly stopped AutoTune, but no chance!

The first crash had the same behavoiur, but we thought it was from to fast moveent on RC stick without good PID values.

We started the AutoTune with PID values from a very similar X8 (17inch propellers) but the same weight and configuration.

Please help me to identify the problem and to avoid an additional crash.

Thanks a lot!!!

https://drive.google.com/open?id=1TR7pF7qQsu0nL11oztU0A00tmUuu69XM

Posts: 1

Participants: 1

Read full topic


Acro collective to match Stab collective

$
0
0

@Nadman1 wrote:

Hi all,

I have been trying to figure out a way to make the center stick Acro mode collective curve to match Stab collective curve to no avail.
My Stab collective is set to -3.5 to +12 with center stick at 5.5 (hover) using the IM_STAB_COL_1-4.
H_Col_MAX is set to +12 and H_COL_MID is set to zero and H_COL_MIN is -3.5, so max and min Acro collective matches Stab mode, however center collective in Acro is +4. This results is altitude change when switching between Acro and Stab modes.
Is there a way that I can set the center stick in Acro mode to 5.5 so it matches Stab center collective?

Posts: 1

Participants: 1

Read full topic

Weird issue with Cube Black mapping from main to AUX 4in1 ESC

$
0
0

@gnitzan wrote:

Hello,
I have probably made a mistake somewhere along the configuration but I can’t find it.

I have installed T-Motor F55A 4in1 ESC, wired the esc1-4 to Cube AUX 1-4.
disabled SERVO1-6
mapped SERVO9-12 with 33-36
set MOT_PWM_TYPE=4
rebooted
When I go to Motor Test than A and B are not working, however now I see B,C,E,F are working.
When I connect with BLHeli suite it complaints esc 1 and 2 not found.

Any insights?

Best,
Gal

Posts: 1

Participants: 1

Read full topic

Mission planner extended tuning problem

Question about ekf with different sensors' sample rate

$
0
0

@ZhuYuhan wrote:

As I known , MPU6050’s sample rate can up to 1KHz , now I want to write a ekf algorithm ,use mpu6050 and underwater GPS (is a product from the waterlinked),the question is the underwater GPS’s sample rate is only 4hz, that means when I have one data from underwater GPS ,I will have 250 data from MPU6050, how can I handle these data to fuse with data from underwater GPS?

Posts: 1

Participants: 1

Read full topic

What happened to RCxx_OPTION?

$
0
0

@ekliptiko wrote:

After updating to 3.6.8, I cant find the RCxx_OPTION parameter for any RC channels. I tried searching the Standard params, Advanced Params, Full Param List and Full Param Tree.

RCxx_OPTION is still shown in the documentation:

http://ardupilot.org/copter/docs/parameters.html#rc9-option-rc-input-option

RC9_OPTION: RC input option

Function assigned to this RC channel

Here is what comes up when I search “RC9_”:

Here is what comes up when I search “RC10_”:

The results are the same regardless of which ch I search for.

Ultimately, I am trying to set Map RC9 to a Camera Trigger, but i cant find RC9_OPTION to assign it to the camera trigger.

Am I missing something? Did this setting move? or get depracted?

Posts: 1

Participants: 1

Read full topic

Viewing all 46194 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>