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

Beta testing 3.6.12-rc1 but Copter-4.0.0-rc3 will be out next week

$
0
0

@rmackay9 wrote:

We’ve found a couple of issues with Copter-3.6 (see 3.6.12-rc1 release announcement here) so because we can only provide a single beta firmware at a time, Copter-4.0.0 will not available for download until next Monday (Dec 16th).

When it comes back next Monday Copter-4.0.0-rc3 will include several fixes though and we look forward to your continued help with beta testing.

If you’ve already got 4.0.0-rc2 loaded on your vehicle of course feel free to report any issues in this category and we will have a look, thanks!

Posts: 1

Participants: 1

Read full topic


Alt_ Hold crashed, need help!

$
0
0

@yansihua1096 wrote:

Sadly my octa crashed after 5 minutes of flying, everything seemed normal before switched to alt hold mode it suddenly increased the throttle and tipped . I have been flying the octa for many times without any issues.
But why FC increased the throttle after changed to alt-hold mode
I am very appreciated any help , what caused the throttle out up and crashed.?

Thank you all! thanks again!

Hardware information:

  • Pixhack V3X (Firmware Version V3.6.11)
  • M8N GPS GNSS
  • 12.6V 15~30C 3S 1P Lipo Battery (FC independent power supply)

Log files (dataflash log):here


Is it unnormal about the NKF6.Roll? What’s the reason?
Thank you all!

Posts: 1

Participants: 1

Read full topic

How to inspect on message send to ardupilot using mavlink?

$
0
0

@Runze wrote:

Hello there,

I am trying to use optitrack to send position and altitude to a bebop2 running ardupilot. I think the message is sent successfully, but the drone did not react to it. It keeps showing ‘EKF2 still initializing’. So I wonder if I can spy on messages sent to ardupilot? to make sure which part goes wrong in my project.

Many thanks in advance!

Posts: 1

Participants: 1

Read full topic

Anyone from Taiwan

$
0
0

@Charlie_Hua wrote:

I am looking for someone live in Taiwan and also programming the Ardupilot stuff to form a local community. Anyone, please?

Posts: 1

Participants: 1

Read full topic

Saving Joystick settings fails

$
0
0

@sailordude wrote:

Hello there. Not sure if this is an issue with the 4.0 or not. In any case it currently doesnt save the settings for the buttons (right coloumn). I did check if it writes it to the local folder and yes, it does (time stamp).
This logitech joystick controller just worked 5 days ago… strange that it suddenly doesnt work anymore!
Any ideas?

Posts: 2

Participants: 2

Read full topic

IR lock, precision landing - parameter in Mission Planner

$
0
0

@michal319 wrote:

HI.HI.
Im looking form name of parameter in QUICK tab from Mission Planner.
In log when drone see beacon parameter is “Target acquired” but in Mission Planner ??
Thanks.

Posts: 1

Participants: 1

Read full topic

How do I fly a mission in GUARDED/FBW(A/B)/MANUAL modes?

$
0
0

@sridharanNH wrote:

Hi, I am able to have a CL84-like experimental plane takeoff with SITL/X-Plane using MissionPlanner in “AUTO” mode, so long as the VTOL_TAKEOFF command has an altitude of 0 associated with it. In fact, it does not takeoff after Arming and pressing AUTO; I also have to press the Restart Mission button. However, I really want to fly using a flightmode other than AUTO. So, in my params file, I changed Q_GUIDED_MODE to 1, and set the altitude associated with the VTOL_TAKEOFF command to 50m. I then select “Guided” mode from the Actions drop-down list, and press the Set Mode button. Nothing happens in SITL. If I select “Mission Start” from the “Do Action” list and press “Do Action” then, AP/SITL sees the VTOL_TAKEOFF command, and the mode automatically gets set to AUTO instead of GUIDED. Plus, as mentioned earlier, it does not really takeoff until press the “Restart Mission” button. So, my questions are: (a) how do I use GUIDED mode to execute a flight plan? (b) why do I have to “Restart Mission” before AP/SITL allows it to takeoff? Thanks a lot in advance.

Posts: 1

Participants: 1

Read full topic

Instructions pdf

$
0
0

@Archie_Stafford wrote:

Is there an available link to download the entire arduplane “manual/instructions” as a pdf? We do a lot of testing in more austere environments that may not have useful internet access and being able to save the file and have it for reference would be fantastic. I know I can manually choose and print each page, but a comprehensive manual available to download would be very useful.

Thanks,

Archie Stafford

Posts: 1

Participants: 1

Read full topic


Cold weather producing strange flight behavior

$
0
0

@JDeForest wrote:

Last week I was doing some flying in some pretty cold weather. I think the coldest flight occurred while it was 7F/-13C. The aircraft I was using flew great all summer and hasn’t been flown much since then which is why it is still on copter 3.6.9. I expected worse endurance, which I definitely got, batteries were very unhappy with cold temps. What I din’t really expect was poor handling of the aircraft. Poshold worked okay after a bit, but right after takeoff and around the time I was first maneuvering the aircraft did not want to settle and moved around quite a bit.
The next weird thing was yaw once the aircraft was on mission. I noticed that it was off its heading about 30 degrees when starting its mission. The mission was a box pattern with around 1/2 mile legs. I tried to fix the yaw using my controller but it seemed to return to an offset position. This only got worse throughout the mission to the point where it was flying sideways. Strangely enough it seems like this behavior was desired by looking at yaw and desired yaw as they match up through the flight. But I can’t find anything that correlates as to why that was the desired yaw.
Vibrations were also higher than this aircraft normally sees but they weren’t severe enough for me to think that it was the cause.
Now I know the temp limit for the pixhawk 2.1 and the taranis x9d I was using are 14F/-10C but it was kind of the point of the flight to see what would happen in the colder temperatures. What I would like to know is what is causing the weird behavior other then it’s just cold and it did weird things.
here’s a log of the box pattern flight:

Posts: 1

Participants: 1

Read full topic

APMCopter control with MAVROS commands using ROS Kinetic

$
0
0

@anish wrote:

(topic withdrawn by author, will be automatically deleted in 24 hours unless flagged)

Posts: 1

Participants: 1

Read full topic

Dev Call Dec 9 2019 2300 UTC

$
0
0

@CraigElder wrote:

Issues & Pull Requests











Plane

Copter

Rover

Posts: 1

Participants: 1

Read full topic

Windows 10 Enterprise LTSC 2019

$
0
0

@Centomini wrote:

Dear community,

The new LTSC 2019, being a very stable version of Windows 10 Enterprise, should be the most suitable operating system for a GCS. I was wondering though if MP could be installed on this version of Windows. Any idea about that? Thank you for your help.

F.

Posts: 2

Participants: 2

Read full topic

MATEK F405 WING Serial Ports

$
0
0

@iw1904 wrote:

Been using 3.9 for over a year and very happy with it.
Just downloaded 4.0 (latest) to play with and found that UART 6 is missing from the parameter list, only Serial 1 to 5 are listed.
Is this intentional?

Posts: 1

Participants: 1

Read full topic

Can't Update firmware - CUBE

$
0
0

@charles_linquist wrote:

I have a black CUBE PixHawk2. It contains 3.5.5 firmware and I tried to update it. I can connect using MP and read and write parameters, so I know I have the correct COM port, but when I try to upload FW, it gets hung at the “determining board type”. When I go into TERMINAL and try to connect, is reports “cannot open COM port”. I even tried APM Planner in order to load the latest code, but that doesn’t work either. Ideas?

When I use update firmware manifest, it gets to the “scanning com ports and hangs”.

Posts: 1

Participants: 1

Read full topic

Skydroid T12--Solution for long range UAV

$
0
0

@Skydroiduav wrote:

Skydroid T12

Skydroid T12 is our most innovation product now. Currently used in the industry of plant protection , electric inspection and patrol robot, integrated with video transmission(over 20km) ,data transmission(over 30km) and remote control all in one while the power consumption is only 0.1 Watt! This advanced technolgy became the development trend of the drone industry since we support and compatible with all the open source protocol flight control in the market.

Here is some Youtube video for your reference : https://www.youtube.com/watch?v=qOEpxxcQumk&t=142s

Posts: 1

Participants: 1

Read full topic


Mavlink messages not parsing with Cube-Orange and RPi 3B+

$
0
0

@johannejvv wrote:

I recently got a Pixhawk Cube-Orange with Here2 GPS and I loaded the apj firmware for Arducopter using Mission Planner (version 1.3.70) and it connects just fine.

Now I’ve connected the cube to a Raspberry Pi 3B+ and I wanted to test the mavlink interface using this example:

I’ve cloned that repository onto the Pi which is running Ubuntu Core 18.04 and when I run the script it detects System and Component ID but then doesn’t detect the Cube’s initial position. I’ve done some debugging and can see that this function:

mavlink_parse_char(MAVLINK_COMM_1, cp, &message, &status); //Line 133, serial_port.cpp

always returns zero and so the program just stays in a loop waiting for messages to be parsed. The screenshot shows the output of the program and it just stays like that until I press Ctrl-c to exit.

I’m not sure how to proceed from here or why the messages aren’t being parsed, would anyone be able to offer some advice?

Thanks!
Johanné

Posts: 1

Participants: 1

Read full topic

Max altitude restriction and Mobile version of mission planner

$
0
0

@saiprasadsun wrote:

Hi ,

Is there any mobile version(android) of mission planner which is open source and can be customized as per requirements.
For example I would like to build ardupilot firmware which will restrict the max altitude to a prefixed value. The same(altitude) will be configured from mobile app based on the situation and need. To be more precise.

  1. Is there any way we can restrict the max altitude of the flight even if pilot gives full throttle.
  2. Can we build source with this restriction implemented
  3. Can we have a mobile application which can be customized to configure the said altitude

Regards,
Sai

Posts: 1

Participants: 1

Read full topic

Smallest traditional helicopter optical flow and lidar rangefinder indoor Loiter

Send Mavlink data to Telem1 and Telem2 simultaneously

$
0
0

@aharon.moto wrote:

Hi everybody. My first message here.
Just for redundancy I would like to send Mavlink data from GCS to both Telem1 and Telem2 ports of Ardupilot using different channels. The two ports receive the same data. Can Ardupilot handle this and choose only one message from the two sources by ignoring duplicate messages?

Because of clouds and bad whether our telemetry radio goes down.

Does my idea make sense?
Is there a something I can do different?
Should I ask this somewhere else?

Posts: 2

Participants: 2

Read full topic

Problems with logging arrays

$
0
0

@peterst wrote:

Hi everyone.
I have a map of some data that I took with a second rangefinder. this map is an array int16_t ground_profile[2000]. I am trying to log it every 1 sec. Before, I’ve successfully logged other messages, as described in https://ardupilot.org/dev/docs/code-overview-adding-a-new-log-message.html (using the method DataFlash_Class::instance()->Log_Write instead of the function mentioned in the site, which is probably deprecated for that matter) . But I have a problem logging arrays.

My idea is to log my 2000 cell array in chunks of int16_t[32] arrays, which are supported by the format specifier 'a' (according to https://github.com/ArduPilot/ardupilot/blob/master/libraries/AP_Logger/LogStructure.h).

I use the following code:

int i_map;                                    // global map index
uint8_t i_chunk, i_chunk_copy;                // index within a chunk
for (chunk_seq_no = 0; chunk_seq_no < (GPA_MAP_LOG_N_CHUNKS - 1); chunk_seq_no++) {
    // determine the map chunk
    for (i_chunk = 0; i_chunk < GPA_MAP_LOG_CHUNK_SIZE; i_chunk++) {
        map_chunk[i_chunk] = get_ground_profile_datum(chunk_seq_no*GPA_MAP_LOG_CHUNK_SIZE + i_chunk);
    }
    // log the map chunk
    DataFlash_Class::instance()->Log_Write("GPAM",                  // tag for Ground Profile Aquisition Map
        "TimeUS,MapSeqNo,ChunkSeqNo,XChunk0,ZArr,NValid",
        "s--mm-",
        "F--BB-",
        "QIHiaB",
        AP_HAL::micros64(),
        ground_profile_map_seq_no,                                  // gpa ground profile map counter
        chunk_seq_no,                                               // gpa ground profile map chunk counter
        (int) (chunk_seq_no*GPA_MAP_LOG_CHUNK_SIZE),                // first x of the chunk
        map_chunk,                                                  // gpa ground profile map chunk
        // no of valid values in map chunk array
        ((uint8_t) i_chunk)                                         // should have had a full chunk
    );    
}

and a similar code for the last chunk, where I count the number of valid cells and log this as NValid. I left out this code in the post to prevent from spamming you guys. However, please tell me if the code would help fixing the problem, then of course I’ll post it, too.

I let the code run for some time ant the map_chunk indices are calculated correctly, but the map_chunk is not logged correctly. Instead always the same map_chunk is logged:

 GPAM, 212758196, 2521, 0, 0, [160 9216 20592 0 0 -19456 -32678 49 699 17333 -23610 58 0 -13312 -10472 -20938 20439 -12234 21617 24886 -26390 -15935 -2118 -26439 3519 11577 18443 0 0 -9984 22168 0], 0
 GPAM, 212758196, 2521, 1, 32, [160 9216 20592 0 0 -19456 -32678 49 699 17333 -23610 58 0 -13312 -10472 -20938 20439 -12234 21617 24886 -26390 -15935 -2118 -26439 3519 11577 18443 0 0 -9984 22168 0], 0
...

All the other logged parameters of GPAM look fine. To me it looks, as the same random uninitialized array has been logged all the time.

How can I fix this?
Does the Log_Write method persist the array as soon as it gets called, or do I have to create 63 arrays of 32 cells each, so the function has enough time to persistently write the arrays’ contents? Is there some special stepping stone to consider, when logging arrays with Log_Write?

Thanks,
Peter

Posts: 1

Participants: 1

Read full topic

Viewing all 46227 articles
Browse latest View live


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