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

RTL speed explanation

$
0
0

@Vaclav_Demeter wrote:

Hello.
Can please someone explain me a difference between LAND_SPEED / LAND_SPEED_HIGH in RTL mode ?
I know that one is for first stage, and the other for final stage.
But what exactly is First/final stage of RTL?
Do i understand it correctly than first stage is when drone goes up to reach RTL height and final stage is the speed which drone maintain while going down even if its above / below RTL altitude?

Posts: 1

Participants: 1

Read full topic


Compiling and running in a verbose mode to capture program trace

$
0
0

@ahmadadam96 wrote:

Hi, is there an option to compile and run Ardupilot in a verbose state that logs the program trace? I want to output specifically when a function is invoked and when. I want to do this for all functions.

Posts: 2

Participants: 2

Read full topic

Mavproxy not connecting to my raspberry Pi and pixhawk to my laptop mavproxy gcs my

$
0
0

@Zero_to_One wrote:

I connect pixhawk to raspberry Pi and routed to ground but I can’t connect to my mavproxy in my laptop but successfully connecting to qgc and mission planner

Posts: 1

Participants: 1

Read full topic

How to remote a lot of drones together?

$
0
0

@alberto.munizaga wrote:

hi!

We need to develop a PC sofware where we could control and see several drones from a computer, i think similar to the software used to this drone shows.

There are any software to do that? If we want to develop that, where we need to start?

Thanks!

Posts: 1

Participants: 1

Read full topic

Création de waypoint impossible avec rc7

$
0
0

@chrisdu74 wrote:

Bonjour, je suis débutant avec un pixhawk 2.4.8, je suis à peu près arrivé à programme tout ce qu’il faut sauf la création de waypoint avec un interrupteur, j’ai respecté la procédure et les plages pwm pour l’inter, mais quand je le bascule cela ne créait pas de waypoint.pouvez vous m’aider svp.merci beaucoup

Posts: 2

Participants: 2

Read full topic

Have to cycle power to ARM Quad

$
0
0

@acsrandd1 wrote:

Quad, Pixhawk Clone (v2.4.6), MP v1.3.74 bld 1.3.756327684, Copter legacy v4.0.5. (i.e. <1M mem), plastic props and plastic frame, Taranis X9D+ TX, Taranis X8R RX (SBUS from RX to Pixhawk clone). Conducted the mandatory setup, no issues.

Nearly every time I power up my quad I have to cycle the power before the quad will ARM. I have conducted several flight tests including RTL (auto land) and all have gone very well. I have recalibrated the compasses a couple of times but that does not seem to resolve the ERR’s I am seeing, nor does it fix the issue with power cycle before ARMing.

When I review the logs I always see the same EKF error (red text) at the top of the graph. See attached example.


Also, .bin file: https://drive.google.com/drive/u/0/folders/1oJu4VgNgmyL_zD6jq1j20pBN_rVmGqK6

Does anyone have some suggestions on what I might do to rectify this situation?

Posts: 1

Participants: 1

Read full topic

Limit Wind fighting in Auto mode

$
0
0

@jasonM wrote:

Hello there again :wink:

Our LTE Long range Quadcopter build and configuration is done and we made the first long range (14km) auto mission today.

The mission was through a valley and i wanted to do exactly the same mission twice, once with the 10Ah battery (6S) and once with the 18Ah battery (6S) The first mission at 01 Pm succeded perfectly, the Auto mode was set to a speed of 14m/s (50km/h)

then after some reviewing of the logs and changing the battery, mission 2 started at 03:30 PM. after a few 100 meters i noticed lot of shaking on the HUD, GPS Glitch and High Z-Axis vibration.

i returned to Loiter mode and manualy fly back to the Launchpad. luckily without any damage or data link loss.

After reviewing the log and weather data from the local weather station i noticed that the wind increased meanwhile.

In the first flight the copters Pitch was about -20 degrees to reach target and -10 to come back. the -20 seems to be close to the limit before vibrations will rise.

in the second flight the pitch raised up and up to -30, i then canceled the mission because i felt unconfortable. so back in loiter pitch was still at -10 degrees in hover.

so here the question:
is there a way to set the max angle in Auto mode seperately or another way to limit the copters “wind fight behavior” to make sure the pitch will stay below -20?

i do not want to limit the angle overall, in RTL it can be important to go over that limit to reach home even when not flying stable…

any other suggestions about why virations are getting high at high airspeed would be highly appreciated. we are talking about a quadcopter with 17 inch propellers and BLheli ESCS (in D-Shot protocol)

Posts: 10

Participants: 5

Read full topic

Helicopter 4.0.5 tune HELP! :(

$
0
0

@Avro93 wrote:

https://drive.google.com/drive/folders/1fU8c0xhQaO-HrNlX1zlJmY2anlqdy8uq?usp=sharing
Hello guys,
I need your help to properly set up my helicopter.
It is an Allign 600 Electric.
It can be flyable but not very well. Some fluctuations and a strange response. I tried to understand something with the wiki but I have difficulty to understand what must happen by changing some parameters.
I leave you a link with the logs of the last day (with some canges in P I D).
Thank you for your help!!!

Posts: 4

Participants: 2

Read full topic


Rover with single quadrature encoder

$
0
0

@Citeone wrote:

I modified a Traxxas monster truck to work with Pixhawk and 2(blended) GPS units. Auto Mode and programming works well. I am now attempting to enhance the slow speed operation by adding a single quadrature encoder to the motor. The encoder is connected to WENC(not 2) and I am able to read the distance value and it appears to be calibrated properly per distance. Following process in Wiki. In order to use a single encoder for slow speed mode, should the encoder be connected to WENC or WENC2 or both? Any other special settings to tell the Pixhawk that it should use standard steering and not slip steering?

Posts: 1

Participants: 1

Read full topic

Compass calibration never completes!

$
0
0

@blakvette wrote:

Hi Guys:
ArduPilot Newbie here.

I’m rebuilding my Diatone Tyrant Quadcopter with a Matek H743-Slim FC (no onboard compass), and an external Matek M8Q-5883 GPS/Compass. Both are brand new, and properly wired together (good continuity), but not yet installed in the quad. I’m running the latest ArduCopter ‘Matek H743’ firmware, and have had no problem connecting my PC to the autopilot (using MP v1.3.7.4.1). I was able to calibrate the accelerometer, but have been unable to complete calibration of the compass.

I tried multiple times in multiple open-field locations with a lock on 12-14 satellites. The nearest building (my house) is at least 50 yards away. The compass is recognized as compass #1 (the only one), and the green bar moves to the right as it should, but when it reaches the end, it simply starts over again. I don’t have a buzzer attached, so no tones, but I never see the reboot message. I tried ‘default’ and ‘relaxed’ fitness modes as well as modifying the ‘COMPASS_OFFS_MAX’ parameter to 2000 and 3000 per the ArduPilot compass doc. No luck.

My procedure has been to stand with laptop in left arm, and compass in extended right hand. Pockets are empty. I hold the compass in upright position and slowly spin 360 degrees. I then hold the compass in each of the other five positions and spin 360 degrees for each.

I have no reason to believe this brand new FC or compass is defective. The compass shows up in Mission Planner and the calibration seems to work as designed… until it gets to the end. It just never completes! I searched the forum for help, but found nothing relevant. Any chance the calibration software is not playing nice with the two Matek devices… especially the new H743? Any suggestions? I’d love to resolve this before moving on to Rx setup.

Thanks and Best Regards,
Dennis

Posts: 3

Participants: 2

Read full topic

Cant update firmware

Average cell voltage on the OSD

$
0
0

@stavros wrote:

Hi everyone,
I have an Omnibus F4 and would like to see the average cell voltage (rather than the sum) on the OSD. Is there some way to do this? OSD1_CELLVOLT_EN doesn’t show anything for me.

Posts: 1

Participants: 1

Read full topic

Use INS position as backup/failsafe to GPS loss?

$
0
0

@wsalopek wrote:

I might not know what I am talking about here, but…

Can’t the INS position be used as a backup for when a GPS fails or becomes disconnected, etc? Just for long enough to perhaps LAND (without being blown too far by the wind), or even to RTL?

I remember seeing a plot of APM’s INS postion (this was a few years ago) as opposed to where the GPS said it was, and those two plot lines agreed with each other very well.

I’m assuming that the INS position gets updated from time to time with the GPS position because the INS “drifts” over time, correct?

But still, couldn’t it be trusted for some number of seconds or even minutes to pretty much get the airframe down without flying away too far?

I had a fly away a year ago or so…lost R/C control, and within a couple seconds, also lost GPS info (two wires had come loose from the flight controller).

But I was still receiving video and OSD information. One of the things that struck me is that the HOME arrow and the DISTANCE TO HOME seemed to keep working? The distance to home kept counting UP as the frame drifted away with the wind.

Now how did that number keep counting with no GPS position? Was it showing INS position? And if so, it seems that INS info is available? So why not use it to keep the frame from flying/drifting far away?

Thanks…

See the 553m in the upper right corner? It kept counting UP as the frame flew away, even though there was no GPS data.

Posts: 1

Participants: 1

Read full topic

Initial PID values for heavy lift copter

$
0
0

@Verloop wrote:

I’m in the process of designing a heavy lift drone. The target is to be able to lift up to 50kg. I’m starting with a smaller version to lift 15 kg, MTOW around 45 kg.

It is an octoquad design, dimensions 1.5m wide and 1.9m long. Empty weight will be around 25kg.

I’m not sure if the standard PID values will be a good starting point and I look for some help.

Thanks in advance.

Posts: 1

Participants: 1

Read full topic

RTL does not work with OA_TYPE,1 (BendyRuler)

$
0
0

@ulfbogdawa wrote:

Hi,

Every time I enable OA_TYPE,1, RTL does not work. My copter rises to the RTL altitude but does not return, stays at the waypoint forever. After I set OA_TYPE back to 0, RTL works fine. I use one Radar Rangefinder facing front. Currently running Arducopter 4.0.5 . I use LOITER, AUTO and RTL on my flight modes. My radar readings show up perfectly in Mission Planner’s proximity viewer.

OA_DB_BEAM_WIDTH,5
OA_DB_DIST_MAX,0
OA_DB_EXPIRE,10
OA_DB_OUTPUT,1
OA_DB_QUEUE_SIZE,80
OA_DB_RADIUS_MIN,0.01
OA_DB_SIZE,100
OA_LOOKAHEAD,5
OA_MARGIN_MAX,5
OA_TYPE,1

I tested with Cube Black and with versions of Arducopter 4.03, 4.0.4 and 4.0.5. All behave the same. Collision Radar works fine

RTL works fine in Simple Object Avoidance (Copter stops in front of obstacles).

PRX_TYPE,4
AVOID_ANGLE_MAX,3000
AVOID_BEHAVE,1
AVOID_DIST_MAX,2
AVOID_ENABLE,3
AVOID_MARGIN,2

What could be wrong for RTL not work with OA_TYPE,1?

Posts: 2

Participants: 2

Read full topic


Newbie putting a rover BOM together

$
0
0

@Max_G wrote:

Registered today after a few days of reading, yes, my head is spinning, as I am new to all of it.
I understand electronics and software; however, I never had or ealt with an RC controlled vehicle, not with any autonomous vehicle.

I live on 10 acres, with 5 acres needing to be mowed. While I like the place, I do not like mowing, which I consider a waste of my time… :slight_smile: so many things I want and need to do; mowing just does not fit the bill ATM.

So I read a few blogs on building an autonomous lawnmower; more specifically the MrMower blog. And here I am, wanting to build one of these.

I can weld and solder, hence, building the mechanics of it is not seen as a difficult task. However, the ‘controlling’ side of things is where I am kindly seeking input, which would help me to come up with a BOM I can order in confidence; meaning I have the right parts that work with ArduPilot and a system that works on a Linux Mint machine.

From what I gather, there are three main systems:

  1. A fixed GPS station to provide a defined reference to increase the accuracy of received GPS SAT signals.
  2. the autonomous rover with all its electronic bits
  3. some mission control and route planner software

MrMower had this block diagram:


… which agrees with me from a functional perspective.
The only thing missing are the three cutting deck motors, and linear drive rod thingy to adjust the height of the deck.

What components do I have to buy to get this system going?
My philosophy here is, while there is a limit to the budget, I’d like to buy brand gear simply to eliminate any compatibility issues, which would be hard for me to track down, given my current inexperience with these systems.

  • I have the batteries (a left over from a solar PV project) 8 LiFePO$ cells 3.2V @ 400Ah.
  • I have ordered two wheelchair motors,
  • a Sabertooth 2x60,
  • the Mauch 24/5V converter, and the Mauch I/V meter.
  • have the Linux PC and/or laptop

(…this was the easy part)

I also need (and I am hoping for your input WRT brand and place to buy):

  • a Pixhawk 4 FC (there are so many variants that I am not sure, which one exactly to buy)
  • telemetry radios; 300m LOS will be fine; since I am in Australia it needs to operate on 433MHz
  • RC transmitter and receiver; here I am not sure, firstly how many channels (given the block diagram) do I need.
    • I figure start/stop for the deck motors is one channel;
    • higher/lower the deck another.
    • The drive motors may be one channel;
    • so is left/right
    • I am really lost on this one; locked at a bunch, but have no knowledge to make even an educated guess on what to chose. all I know it has to be a ‘stick’ controller.
  • then there is that PPM encoder, which translates a number of RC channels into a single stream (of sort) for the Pixhawk to decode (I guess)
  • I just realised the block diagram does not show the Pixhawk 4 power board; since an image is connected to the Pixhawk 4 and other things.

I had a look at ArduSimple, but do not know what to buy. I reckon the ground/base GPS station can do with Survey performance antenna?!

As for the mission planner type software; I could run the MissionPlanner in a MicrosoftVM on Linux, or chose GroundControl instead. Have no experience with either.

Any hints/input appreciated. Thank you.

Posts: 4

Participants: 2

Read full topic

AutoTune does not get triggered

$
0
0

@Nezumi wrote:

https://drive.google.com/file/d/1aD48We9QL4KcskRw_0xRi6KFucRxTgxS/view?usp=sharing

Hello guys,

I’ve been trying to do AUTOTUNE which I assigned to channel 7 on switch SA on the Taranis, my transmitter is calibrated and my left throttle stick is configured for spring center I also unticked trim on my channels. The issue I have is when I take off in ALTHOLD and flick the SA switch it will not go into AUTOTUNE and on the Taranis screen it gives the message autotune over ride. I’m not too sure what the issue is. I have also uploaded my first logs from my CUBE.

Posts: 2

Participants: 2

Read full topic

Auto VTOL mission without heading to WP when doing transition to fixed wing mode

$
0
0

@mirkix wrote:

Hello,

is it possible to create an Auto VTOL Mission that takeoff vertical and then when doing the transition to fixed wing mode will not try to change the yaw angle to the next waypoint while doing the transition? Heading to the first waypoint should only start after the transition is completed.

Thanks!

Posts: 1

Participants: 1

Read full topic

Steering in Acro works fine but in Auto it drives away from waypoints

$
0
0

@Koenstruction wrote:

Hi All,

Since last week, I have the new CUAV X7 with Neo V3 Pro on my rc car.
I took me a few days to get the GPS working and tuning some parameters (mostly for limiting throttle of this 60kmh rc car and tuning steering). Currently it is driving quite good in acro mode.

When I save a waypoint in manual or acro mode and (after driving it a few meters away from this waypoint) put the vehicle in Auto mode, it won’t drive towards the waypoint, but it drives ‘perfectly’ away from is.

The only strange thing I’ve been able to discover so far is during tuning, the desired and achieved steering data are inverted related to each other. I have tried to solve this by enebling RC1_Reverse and turned the board orientation to 180deg, but this doesn’t help (it makes it even worse because acro stops working properly either).

Is there anyone who has the same experience and has successfully solved this problem?
I have added some attachments of my parameters and image of tuning.

Kind regards,
Koen


Posts: 1

Participants: 1

Read full topic

Searching for Plane/Multicopter Log files

$
0
0

@ManInNight wrote:

i am searching for flight logs from a fixed wing and multicopter (position, speed and acceleration are the most interesting). They should flight in a straight line on windy conditions. I am happy for any help :slightly_smiling_face:

Posts: 1

Participants: 1

Read full topic

Viewing all 46724 articles
Browse latest View live