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

Controlling UAV in FBWA mode

$
0
0

Hello everyone, first of all, thank you for your attention. I have some questions about controlling a UAV in FBWA mode.

First, I would like to know if it is possible to control the UAV without GPS. If so, is there a way to control it? Could you explain how, in short?

Then, I would like to know if an airspeed sensor is required when controlling the UAV without GPS.

1 post - 1 participant

Read full topic


Crash Analysis, Altitude Drop

$
0
0

Hello!

Could someone with more competence explain to me why the drone “crashed” from about 1m when I gave it a little more aggressive pilot input to see is everything is safe and sound?

I am using a dual antenna setup with RTK because the magfield is too stong for compass atm.

Log file too big, uploaded here: Unique Download Link | WeTransfer

Any tips are much appreciated!

1 post - 1 participant

Read full topic

Is the CubeOrange firmware open source ? If so, where can I find it?

$
0
0

Is the software that runs on Orange Cube open source ?

If so, where can I find it ?

And how do I build and flash the software if I were to modify it ?

6 posts - 3 participants

Read full topic

Diagnostics from Orange Cube

$
0
0

I want to read the diagnostics from the flight controller into my own microprocessor, which will act as a supervisor and handle fault reactions to certain diagnostic errors.

What interface does the Orange cube use to send diagnostic information, is it MAVLINK or DroneCAN or both ?

2 posts - 2 participants

Read full topic

Hexacopter is not stable

$
0
0

Hello, completely new to Pixhawk 2.4.8 and I tried to build a hexacopter with these equipments:

Pixhawk 2.4.8 Flight Controller
35 A BlHeli_s ESC
DYS 750 kV motors
1145 propellers
s550 frame
Mitoot M8N 8M GPS
3s 25C Lipo Battery

Already did all of the mandatory setups using mission planner, including the initial parameters

The Hexacopter struggles to take off, I have to input about 75% of my thrust and it takes off very low, when I try to move it, its very hard to control, when I try to input a movement, my copter wobbles in the air making it unstable. The movements are like doing a circular motion when I try to move the copter. The copter sometimes tries to move to the side during take off, double-checked the orientations and all is good including the propellers.

I also have a few questions in mind

  1. Do I need to tune the PIDs?
  2. Does the type of battery really affect my flight?

2 posts - 2 participants

Read full topic

PM07 to an Atlatl 5.8 VTX

$
0
0

I have a PM07 power distribution board with a Pixhawk 6C on a DJI F550 Hexacopter.
I want to add an Atlatl VTX.
Can I use a spare motor output - say Motor 8 - to power the VTX ?
Many thanks for any advice.
Dins

1 post - 1 participant

Read full topic

Vibration and stability issues with RPM based harmonic notch filter enabled

$
0
0

I’m working on a new build using a 4-in-1 ESC with BLHeli_32 and BD-shot.

I did my initial setup with the “initial setup tool” in Mission Planner. That produced really good results.

Today I set up the RPM based harmonic notch filter.

Following my understanding of what is outlined in the WIKI I enabled ESC telemetry, set the parameter for collecting raw IMU data and did a test flight.

Then I loaded the data into the IMU Filter Review Tool.
https://firmware.ardupilot.org/Tools/WebTools/FilterReview/

I set the peak of the first hump of the curve and approximated the bandwidth and had the utility calculate my notch filter values. I set the frequency to 83 and bandwidth to 50. I then did the re-calculate function, and saved the new parameters - and loaded them onto the copter.

I then went back to do another test flight.

The problem was that once airborne, the copter made a vibration sound - like something was out of balance on the props or motors. I landed to check the copter and found nothing. I did a power reset and tried again - same problem - only this time I had a little bit of stability issue and landed off kilter.

Here are the logs from those two files:

Then I disabled the harmonic notch filter and did one more test flight. No problems - flight was normal.

I’m guess I did something wrong with setting the notch filter parameters - but I was quite surprised that the error caused such a vibration and stability problem.

If someone could please look over my shoulder and help me find my mistake - I’d greatly appreciate it.

1 post - 1 participant

Read full topic

Follow the Leader in a networked setup

$
0
0

If have a multiple rovers connected in network in a STAR configuration (every vehicle connects directly to the GCS on the network), how do I then set up Follow the Leader?
The documentation pertains to an independent telemetry link between the rovers whilst I plan to have them all on a single network.

1 post - 1 participant

Read full topic


Unable to arm hobbywing Xmotor ESC without PWM wire plugged on the servo rail

$
0
0

Hello,
I am working on a build using Hobbywing Xmotor ESC with DroneCAN protocol. Everything is running fine when i plug both the CAN wire and the PWM wire on the pixhawk. Although, when I try to arm the ESC without the PWM plugged in at the beginning it doesn´t work at all. Is there any way I can bypass the use of the PWM wire and only utilize the CAN one?

1 post - 1 participant

Read full topic

ArduPilot EU Dev Call 2025-02-26

$
0
0

Attendees (max): 7

UTC0704

Peter Linux boards get hwdefs now. Instead of boards.py.

  • Some boards have small binary output changes.
  • The Aero board now compiles again.
  • For new boards you still have to modify RCInput.
  • Strangely some compilation symbols have been renamed.

Andrew Approved!


UTC0714

A We are getting a DMA timeout on the DShot.
- We then call the VT, and eventually RCOutput.cpp350 sets dshot_waiter to null. But VT is not reset.

  • This is the only place the waiter could be null.

Andy Oh, it’s the only place we don’t check if the lock has expired.

Peter The dma_cancl() should be resetting the lock, no?
A Perhaps the (!mask) check if failing.

  • Let’s wait for Feruccio to test my PR.

Andy I think I can see the race condition.
A Andy, can this happen to 4.5?
Andy Probably, we haven’t done changes in BDShot in 4.6.
A For the record, Ferrucio was getting the issue after arming, IIRC.


UTC0736

A Approved.
P Merged!


UTC0740

A That looks like an actual bug. Can we reproduce it and test this PR?

  • Approved but needs testing.

UTC0754

Andy I’ll ping Randy offline.


UTC0755

Sid I still have some review comments to merge.


UTC0800

Andy Fixed what was requested.
P There’s one more request to fix a comment.

  • We’ll merge after these short fixes.

UTC0804

Andy Your suggestion seems to work, tridge.
A Please also remove the now-unused code.

  • Would be nice to have some performance figures for the distance-from-fence calculations. For many fence points, it might bog down other parts of code.
  • They could also be on IOCallback.

UTC0815

P This is a step towards removing AP_HAL/RCinput.

  • Let’s ask Thomas to test.

A Let’s make sure he makes use of RCInput, not overrides.


UTC0822

Andy The board picture has been updated.
A Let’s ask Henry to approve.

1 post - 1 participant

Read full topic

How to add fuzzzy tunning feature to mission planner?

How to obtain the acceleration of a drone through MAVLink?

$
0
0

My gimbal camera wants to obtain the acceleration of the drone through MAVLink to suppress IMU drift, but I don’t know which MAVLink protocol to use to obtain it, nor do I know how to set the parameters of MissionPlanner to obtain this MAVLink protocol. If you know, please help me

1 post - 1 participant

Read full topic

How to use raspberry pi to follow a uav?

$
0
0

HI,
I have a project that I need to do,
I need to connect a raspberry pi with a camera and a thermal camera to a pixhawk,
I need the raspberry pi to say to the pixhawk where to fly (to crash inside the uav),
how can I do that? what language is the code? can I do that?
thanks for the help

3 posts - 2 participants

Read full topic

Wanted UAV Flight Test Engineer - Marble Aerospace

$
0
0

Marble develops cutting-edge UAV systems to gather real-time data about maritime environments with unprecedented speed and flexibility. We have recently won an exciting UK ARIA grant to work on developing artic-capable platform to help a team of international scientists forecast the “tipping point” of the Artic ice sheets. Marble is looking for an enthusiastic and adaptable flight test engineer to test & evaluate our new aircraft, sensor and ground equipment here at our Marble HQ.

Marble is looking for candidates who are familiar with Ardupilot and have experience flying UAV’s (ideally with a UK GVC already)

Marble wants you to be part of a fast-moving, high-impact team shaping the future of UAVs!

Full details of open positions are on our careers page. Careers — Marble

1 post - 1 participant

Read full topic

A few ExpressLRS questions and a plan to poke holes in

$
0
0

Hey guys! I am planning to create a small flying wing plane running ardupilot, and would like some feedback on my plan and answers to a few hardware questions. PLEASE poke all the holes you can in my plan, as the more aspects I get fleshed out the better. Here’s the plan:

  1. A small flying wing made out of foam - Flik FPV Wing found here: Alight Wing - Flik
  2. A pixhawk 4 flight controller (previous project)
  3. ExpressLRS telemetry and control? see questions below
  4. m9n gps (from previous project)
  5. FPV system (I haven’t decided on what system yet, suggestions are welcome. Either way, it shouldn’t effect the other systems as it is a separate loop.
  6. Flysky fs-16x (from previous project) with expresslrs? see questions

My questions revolve around the use cases of expresslrs and how flexible the system is.

  1. I have seen someone use an external module with the fs-16x here, any suggestions on what module to use? there appears to be a lot of options.
  2. Is it possible to use expresslrs for both telemetry to mission planner on a computer AND use it for rc control with one reciever? Or would I have to buy two pairs of tx and rx to make that work? I have some cheap 50m telemetry radios but would like something with better penetration. I currently have zero expresslrs hardware so suggestiongs for tx and rx are welcome.
  3. Should I just bite the bullet and spend the money to purchase another tx that has an internal expresslrs module or will my hacked together fs-16x work fine?

All hardware and plan suggestions are welcome, you won’t hurt my feelings if you say my plan is trash and I should scrap the whole thing!
Thanks for your help!

4 posts - 2 participants

Read full topic


MOT_SPOOL_TIME not working as expected when drone is disarmed (v4.5.7)

$
0
0

I am currently having an issue where the MOT_SPOOL_TIME is not working as expected when the drone is disarmed. Based on the description, it is mentioned that

Time in seconds to spool up the motors from zero to min throttle

meanwhile there is another parameter which is MOT_SPOOL_TIME_DN which is from min to zero throttle instead as seen in the screenshot below.

I have at the moment set it up with the following parameters:

Test 1

Parameter setup

  • MOT_SPOOL_TIME = 2.0s
  • MOT_SPOOL_TIME_DN = 0.0s

Results

As seen in the plot above, you can see that it indeed takes 2 seconds for the motor to spool from zero to minimum throttle. However, as seen in the next image, for spooling down the motor, it takes 0.5s instead, which is not as expected. Instead of being 2.0s, which is the expected behaviour, it still defaults to 0.5s in this case. I have attached the .tlog below.

tlog file

2025-02-26 14-50-27.tlog (158.9 KB)

Test 2

Parameter setup

  • MOT_SPOOL_TIME = 2.0s
  • MOT_SPOOL_TIME_DN = 2.0s

Results

As seen in the image below, again, the motor spool up is working as expected with a duration of 2.0s.

However, the motor spool down is incorrect where it is still on its default 0.5s.

tlog file

2025-02-26 15-21-52.tlog (160.0 KB)

I believe this seems to be a bug in the latest ArduCopter? The following tests have been done on v4.5.7 and v4.7.0-dev and both shows similar results.

1 post - 1 participant

Read full topic

Autotune giving poor result in quadcopter i.e below 4.5 value of ATC_ANG_xx though aggr is 0.1

$
0
0

Hello everyone, I am using a quadcopter with T-Motor MF2211 propellers, MN6007-2 320KV custom-made silver-winded motors, T-Motor Flame 70A LV ESCs, and a 6S 27Ah solid-state battery. After making some minor changes to the PID settings, I ran the autotune, but the results were poor. The copter became too sluggish after autotune. My notch filter is working well, but I can’t figure out the issue. If anyone has any insights or suggestions, I would really appreciate your help!

here i am attching the before and after autotune logs

https://drive.google.com/drive/folders/1Qi9lrAVswKz0qwP1IybzFthfN_1o3Mka?usp=sharing

the link consists three logs before_autotune,autotune_flight and an after_autotune log. Please help me out of this. Let me know if you need more infoformation about my quad and my quad weight is 7.214kgs

2 posts - 2 participants

Read full topic

Yaw Oscillations with RPM Notch Filter Enabled - visible in video

$
0
0

For the sake of clarity with the new data, I’m starting a new thread about this.

Doing initial tuning, I enabled RPM based Dynamic Notch Filter. With it enabled the copter had an odd “clicking” sound - as if a prop were out of balance. I presented this on a thread yesterday.

It was noted that I neglected to set the INS_HNTCH_REF parameter to “1” so it was unpredictable what the firmware was doing.

I corrected my mistake setting INS_HNTCH_REF=1 and did another test flight. The test flight produced the same “clicking” sound.

To be safe, I reset all the initial tuning parameters again:

Then I conducted another test flight - and made a video. In the video you can see that the copter is oscillating in yaw - and appears to be what’s causing the clicking sound. Here’s the video:

Hover Flight Showing Yaw Oscilations

I then disabled the Notch Filter and flew another test. The oscillations are gone. I made a video to show this:

Hover Flight without Yaw Oscilations

I don’t know if I’ve made mistakes in setting parameters - or if there’s some sort of bug.

Here’s the bin file from the flight with the notch filter enabled - and the yaw oscillations.

Here’s the bin file from the flight with the notch filter disabled - and no yaw oscillations.

I haven’t tried using FFT for the notch filter.

I’d appreciate any advice or suggestions.

Thanks!

1 post - 1 participant

Read full topic

Notch filter review cross check

$
0
0

Updated log

filter (3).param (341 Bytes)

Looking for a sanity check on my filter settings. This is one of the first flights for this craft. I have reviewed several discuss threads, the documentation, the AMC docs. Someone had applied incorrect filter settings for this flight. Attached are the ones I chose using the filter tools.

Does anything look egregious here?

`

Post quicktune check flight

`

8 posts - 2 participants

Read full topic

Force next pivot turn CW or CCW?

$
0
0

How hard would it be to force pivot turns CW or CCW? There are some times, when mowing a perimeter strip, that I don’t want to pivot in a direction that would put the front wheels outside of the perimeter. For example in the below, if the red mower is going to make a pivot turn and back up the way it came, (out the bottom of the screen), I want it to pivot CW and not CCW (because CCW would put the front wheels outside of the red perimeter line). My companion computer knows which pivot it desires … so, how can it tell the mower? Maybe my companion computer can command a stop, then command headings clockwise??

Any ideas? Thank you in advance!!

1 post - 1 participant

Read full topic

Viewing all 46442 articles
Browse latest View live


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