Quantcast
Channel: ArduPlane - ArduPilot Discourse
Viewing all 7861 articles
Browse latest View live

I lost connection from the plane suddenly in the middle of the mission. no log after that

$
0
0

@Artem_Skorsky wrote:

HI,
for some reason, i lot the plane suddenly when it was doing surveying mission.

suddenly i lost the telemetry, while it was around 500 m away from me. and there was no data link so ever after that. luckily i found the plane,

log also stops recording from some point. and no error message, Do you have any idea what might be the problem?

image

Log on the link below

https://plot.dron.ee/CaVy

Posts: 1

Participants: 1

Read full topic


Matek 405 wing loging

Safety switch activated in flight

$
0
0

@air-tito wrote:

Hi, last thursday I did the maiden flight of my Believer on Arduplane 3.9.6 with the Cube. It took off (auto takeoff) and 2 or 3 seconds later switched to safe mode, and obviously it crashed as servos and motor deactivated. BRD_SAFETY_MASK was set to 0 (my mistake) so I couldn’t take the control with the RC.
My question: is there any wrong parameters setting that could have caused this behavior or it was strictly a hardware failure (the button located on the GPS activated itself)?

I had set:

BRD_SAFETYENABLE = 1
BRD_SAFETYOPTION = 7
BRD_SAFETY_MASK = 0
ARMING_CHECK = 0
ARMING_REQUIRE = 1
ARMING_RUDDER = 0

Thanks!

Posts: 2

Participants: 2

Read full topic

Adding mavlink statustext to FrSky passthrough telemetry

$
0
0

@juichi wrote:

So I’ve been messing around with companion MCUs/Computers and ArduPilot. One of the things that I would like to do is send a statustext message from the companion machine to the flight computer and have that message then be piped down through the FrSky passthrough telemetry. The Frsky telemetry code already has the capability to send a statustext to the Tx. So I started noodling around with the code, which was my first foray into editing and compiling ArduPilot, and found the section of the code that handles the status text from an outside source (or at least I think that is the piece of code) in the /libraries/GCS_MAVLink/GCS_Common.cpp file. I thought that adding a call to the frsky.queue_message function to that handle_statustext function would move the text to the passthrough telemetry stream. I should point out that I do see the message in mission planner, so I know that much is working, but I do not know how it is getting to mission planner.

I set up my machine to compile Ardupilot and made the code adjustment and got a compilation error. The error was that frsky is not declared but in the same file it is declared, I lack the Kung Fu to make sense of this.

I decided then to write a feature request to add this functionality but before hitting submit, I decided to give it a go in the forums.

I am looking for wisdom on finding a way to get the statustext sent via MAVLink from a companion computer to be routed to the FrSky Passthrough Telmetry. I have appended the feature request below and you can see where I simply added the the frsky function.

Thanks!
Neal

Feature request

Is your feature request related to a problem? Please describe.
Mavlink status text from external sources (companion computers) are not routed to the FrSky passthrough telemetry.

Describe the solution you’d like
I would like that properly formatted Mavlink status text that originate from a source other than the flight computer or GCS to be routed to the FrSky passthrough telemetry stream.

Describe alternatives you’ve considered
I have not considered any alternatives, but I did attempt to adjust the GCS_MAVLINK::handle_statustext function in /libraries/GCS_MAVLink/GCS_Common.cpp (lines 2681 to lines 2708ish) to include a call to the frsky.queue_message function. Alas, this failed to compile because “frsky was not declared…” See below:

void GCS_MAVLINK::handle_statustext(mavlink_message_t *msg)
{
    AP_Logger *df = AP_Logger::get_singleton();
    if (df == nullptr) {
        return;
    }

    mavlink_statustext_t packet;
    mavlink_msg_statustext_decode(msg, &packet);
    const uint8_t max_prefix_len = 20;
    const uint8_t text_len = MAVLINK_MSG_STATUSTEXT_FIELD_TEXT_LEN+1+max_prefix_len;
    char text[text_len] = { 'G','C','S',':'};
    uint8_t offset = strlen(text);
	

    if (msg->sysid != sysid_my_gcs()) {
        offset = hal.util->snprintf(text,
                                    max_prefix_len,
                                    "SRC=%u/%u:",
                                    msg->sysid,
                                    msg->compid);
    }

    memcpy(&text[offset], packet.text, MAVLINK_MSG_STATUSTEXT_FIELD_TEXT_LEN);
	frsky.queue_message(7, text);

    df->Write_Message(text);
}

I lack the Kung Fu at the moment to attempt any further attempts at compilation.

Platform
[ ] All
[ ] AntennaTracker
[ X ] Copter
[ X ] Plane
[ X ] Rover
[ ] Submarine

Posts: 3

Participants: 2

Read full topic

Can't arm rear motor on vectored yaw tricopter

$
0
0

@pfaudette wrote:

I’m using a Pixhawk 2.4.8 with Arduplane V3.9.6, and can’t seem to get the rear motor going. I’ve got it setup on SERVO7_FUNCTION,35. But in MP under the Servo Output tab, I only get PWM showing on positions 1-6, nothing on 7. Motor 3 shows as a function for position #7.

Once while connecting to MP I got the following message:
QuadPlane initialised
MotorsTri: unable to setup yaw channel
Motors: unable to setup motor 3

Not sure what to try next. I can arm with MP, and can get the front motors going, as there is a PWM going to outputs 5 & 6.

Parameter file:
https://drive.google.com/open?id=1NnIyUNbDAPuTjwPUd5uVMiLsf4f6JDP6

Posts: 1

Participants: 1

Read full topic

Can APM be used for a glider?

$
0
0

@allen2 wrote:

wanted to do some mission by dropping the glider motorless plane. just wanna ask if anyone here did the flight mission on pixhawk 2.1?

Posts: 2

Participants: 2

Read full topic

How to get the telemetry data on the mission planner?

omnibusf4v3 s.port only gps sensor

$
0
0

@oguzhan wrote:

hi. i installed last arduplane on my board. everythings works fine execpt telemetry. i have r9m and r9 slim+ set. r9 slim+ has inverted s.port out. i connected tx1 to inverted s.port(receiver pin rx1).set serial1_protocol =10 and serial1_options=4. it only shows the gps sensor. no other sensor. i tried deleted all sensor an re-adding new sensor. but still same.

Version

-latest daily

Platform

[ ] All
[ ] AntennaTracker
[ ] Copter
[x] Plane
[ ] Rover
[ ] Submarine

Airframe type

flying wing

Hardware type

omnibusf4v3

Posts: 1

Participants: 1

Read full topic


Hardware in the loop apm 2.6

Some question for ArduPlane3.9.6 chibios

$
0
0

@alphasion wrote:

just download and upload the ArduPlane-3.9.6 with ChibiOS
and i found there is 7 Serial Port in the param list.
so could someone can tell me which port is the Serial 6 in pixhawk v1,
and how can i do to get debug port back?
thanks very much.
btw :what args should i type to make chibios firmware in source code?

Posts: 2

Participants: 2

Read full topic

Plane 3.9 with OpenPilot Revo for gliding

$
0
0

@glassfish wrote:

Hello. A couple months ago I posted about an autonomous gliding project I am working on and I received some helpful tips on setting up Ardupilot for the mission. However, when it came to actually getting the hardware to work I ran into many issues. Since this glider is getting released from a carrier aircraft it is very small and space is at premium. The only option within our budget was the the OpenPilot Revo(not the mini). I feared that this board would give us issues but at the time it really looked like the best option. We successfully flashed the board with Autopilot and connects to MP over usb no problem.

The two main devices we need for this mission are the GPS and airspeed sensor. The GPS is the BN-220. I selected this as I saw a video where it was verified to work

The major issue with it is that you cannot power it over USB which is a problem for us as we are not using telemetry and we need to verify that the GPS works properly. The video does suggest a solution where 5V is provided via the other Main or Flexi port. We however would not prefer to do this. Is there a better solution?

The second issue which is far bigger than GPS is the airspeed sensor. We are using a MPXV7002DP analog senor as digital ones are outside of the budget. I have found resources that indicate that this sensors does work via the number 5 servo port in LibrePilot

https://librepilot.atlassian.net/wiki/spaces/LPDOC/pages/52264987/Configure+an+analog+airspeed+sensor

However this does not seem to be the case in Ardupilot and I was wondering if there is anyway to get this sensor to work?

Thank you,
Safa Bakhshi

Posts: 1

Participants: 1

Read full topic

Arduplane with Frsky R9 MM FC Omnibus F4 V6 or Frsky RXSR FC Omnibus F4 V6

$
0
0

@HighFlyer wrote:

Has any successfully used Arduplane with the Frsky R9 MM FC Omnibus F4 V6 or Frsky RXSR FC Omnibus F4 V6. The Frsky website only talks about Betaflight but I have a couple of fixed wing applications for these products with Arduplane. Thanks.

Posts: 1

Participants: 1

Read full topic

QuadPlane( 2 front motor tilt)transition yaw swing

$
0
0

@MarcoChan wrote:

Hello everyone,I build a quadplane which has 4 motor and two front motor can tilt.I follow the quadplane document to setup my aircraft. Now my quadplane work fine in QSTABLIZE and FBWA,but it cause yaw swing when I switch QSTABLIZE to FBWA. I try to open VectoredYaw,but the problem still exist.This problem is bothering me for a long time.Hope someone can help me solve this problem.

https://youtu.be/zK03TTM7YKI

here is my param
quadplane.param (20.6 KB)

Posts: 3

Participants: 3

Read full topic

Tight and Low Autolandings

$
0
0

@garlandk wrote:


Have not flown my Cube Anaconda in a while and decided to take her out today. I loaded the latest firmware and took her to the field. I decided to see if I can do low and tight auto landings. She does great!

Posts: 2

Participants: 2

Read full topic

Automatic Hatch Open/Close

$
0
0

@Matt_C wrote:

I have a camera mount system that I have 3d printed and it includes a cover for the lens. I remember reading that there was going to be a function for automatic landing gear that could be set at a specific altitude. I see this has been merged into master but I cannot find it anywhere. https://github.com/ArduPilot/ardupilot/pull/7893. Is this a function that is supported or might be in the pipeline?

Posts: 2

Participants: 2

Read full topic


Doing Autotune, flying wing almost crashed, entering in uncontrolled dive

Successful VTOL Transition! Would like help tweaking!

$
0
0

@Chad_Frazer wrote:

Today at 11:53AM Local Time I completed by first VTOL transition! Then I landed, swapped batteries and did it again! WOOOTT!!

Here are the telemetry and apm logs location.

What I’ve learned about VTOL:

  1. The BR2205 2300Kv racing motors, while light and delivering a whopping 1.53 lbs of thrust with a GEMFAN 6x4.5x3 prop burning 12 amps at hover, well, THEY BURN UP. The racing motors will tell you that they can handle 27-30 amps continuous but that is NOT true. They will burn up the insulation around the windings and can take out your ESC with them. It’s already happened.

  2. Despite following directions and using calibrated mulitmeters and power meters put inline with the battery and motors I still cannot get the voltage to read correctly (look at the logs and tell me that can be right).

Need help with:

  1. The aircraft seemed sluggish at 28mph and it should not of been, FBWA mode was checked on ground and servo throws seemed spot on
  2. I could hear the VTOL motors on the whole time even though the threshold was surpassed. Do I have a setting wrong? Should I just turn off Q Assist? Were they just windmilling?

I have chosen a different VTOL motor for this project that is 1400kv and will report back the stats on it in case anyone else wants to know.

If anyone sees anything they would tweak, please tell me! I’d rather have the advice and take it rather than learn from a crash!

Pic of the VTOL:
https://drive.google.com/open?id=118P436gMgxoBDOMkAbzg6erCaNOEUJpv

Posts: 1

Participants: 1

Read full topic

No GPS but the plane still continue the mission

$
0
0

@Hadits_Baroya wrote:

Hello guys,
i have a problem with the GPS.

so here is the detail :

  1. i want to test my plane before going to do some mapping job. (test the auto flight mode)
  2. i’m using The Cube with Here as a GPS
  3. i’m running arduplane 3.8
  4. this is not the first plane. this is the 4th plane, i have no problem with plane number 1, 2, and 3.

Problem detail :

  1. Preflight was done. no problem occurs.
  2. i did autotake off
  3. after the plane reach the first waypoint, the GPS status suddenly go to No GPS, with no sats and High HDOP. But the plane still on the track.
  4. switch to RTL, and the plane come home with correct home points.
  5. switch back to auto, the plane flying to the track again, and get some Sats.
  6. after few minutes, the GPS Sats change again to no gps until the rest of mission (Plane come back safely).

Here is the .bin file : https://drive.google.com/open?id=1aq8v-sgdYxtDQr-w6xNsICX3ojraKi02
Here is the .tlog : https://drive.google.com/open?id=1yWldpL2Nb7UoS2c7yKergaLwdkfNNIqn

Problem occurs on time 16:46
and if you want to see the tlog it start from 67.90%

i’m curious, what wrong with my rig ?
why the plane still on the track, even can go home safely, while there is no gps ?
i hope someone can explain this.

do i have a broken GPS ?

Thank you.

Posts: 1

Participants: 1

Read full topic

Plane 3.9.7 released

$
0
0

@tridge wrote:


This is a minor release to fix a single important bug in speed/height handling. The bug was in the TECS (total energy control system) and could cause a sustained pitch down due to a transient glitch in airspeed demand resulting in a large negative pitch integrator.

The log that found the bug was of a quadplane in CRUISE mode, and resulted in the aircraft forcing nose down for long enough to crash.

The fix includes both protections for the pitch integrator and a fix for the cause of the transient in airspeed demand affecting the TECS demanded airspeed.

Many thanks to ArduPilot partner FoxtechFPV for reporting this bug!

Happy flying!

Posts: 1

Participants: 1

Read full topic

Problem following the track

$
0
0

@bendead wrote:

Hi

I am using a Foxtech Nimbus VTOL on 3.9.5 and during my survey, the plane was nearly everytimes 10m on the side of the track.

You will be able to find the two kmz here :
https://drive.google.com/open?id=1A65ekYgjY6BhE9tTMgo6EIu4ETE0wP3Q
https://drive.google.com/open?id=1ANcP5mMKetISS81ChZEQjPWAB2jN_ZnT

I was wondering if anyone got this issue before, it was quite a long flight, following the terrain with 25-35km/h of wind from the west- south west.

If you need the logs, I can share it a bit later, my connection is very bad

cheers

Benjamin

edit : PS you will find the parameters list here, maybe some settings are not strict enough :

https://drive.google.com/open?id=12kTwjX5kLAN-gqwVY8d2J0Q9UssD-qAz

Posts: 1

Participants: 1

Read full topic

Viewing all 7861 articles
Browse latest View live