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

Uart/tap yuneec esc

$
0
0

@yonie wrote:

I am trying to replace the stock firmware of a typhoon h with ardupilot because the stock firmware refuses to lock gps. But now I need to reverse engineer the esc protocol. I think it uses the so called “TAP” uart esc protocol (as mentioned in RCOutput_Tap.cpp) but i could not find any information about using this protocol. Does anybody know how to use tap escs or have more information about the protocol?

Posts: 1

Participants: 1

Read full topic


TF Mini Plus - Distance jumping

$
0
0

@zarmomin wrote:

Hi there,

I have successfully set up a TF Mini Plus with the latest stable arducopter version and am getting measurements as expected. I noted however, that the reported distance jumps by as much as a meter in either direction every now and then. This happens even though I have the sensor laying flat on my desk and pointing straight at the ceiling. I am getting these kinds of jumps about 4 times per minute.

I investigated a bit further and hooked it up to an oscilloscope to rule out a driver issue on the copter side. The ardupilot codebase is correct, the sensor output is simply garbage. The packages are not corrupted, the checksum is good as well. It’s simply a wrong measurement.

Has anyone else experienced this? I got this kind of error on a couple of sensors running FW 2.0.3 and some running 1.9.x on an arduino. When I ran an arduino with the sensor connected in UART mode, there were no such problems.

Posts: 4

Participants: 2

Read full topic

Altitude hold tuning - PSC values

$
0
0

@ZvikaF wrote:

Finally i have the heli pitch,roll and yaw functioning correct without fluctuation and prompt response.
Now i’m doing the ALT HOLD and POS HOLD tuning …
seems that the altitude command is rapidly drifting up and i have to compensate by taking down the command yill i have to disengage the mode and go back to stabilized which is a bit cranky, as i have to flip quick up the collective command.

I found no process notification on the tuning document, is there one ?
following is the graph that shows the collective (c3) command and servo behavior


And here is the data on the PID the altitude target is getting up ??

Posts: 3

Participants: 2

Read full topic

Smartrtl Deactivated buffer full

$
0
0

@rickyg32 wrote:

I got a weird error today.
Was just sitting at the field…Had just powered up the quad when a minute or so later I got the announcement Smart RTL disabled Buffer full. What the heck. I have never run into that one before.

|19:00:55|ArduCopter V4.0.4-rc3 (d70e75b3)||—|---|
|19:00:55|ChibiOS: d4fce84e|
|19:00:55|fmuv3 001C002A 33375110 31313537|
|19:00:55|Param space used: 1656/3840|
|19:00:55|RC Protocol: SBUS|
|19:00:55|New mission|
|19:00:55|New rally|
|19:00:55|Frame: QUAD|
|19:00:55|GPS 1: detected as u-blox at 115200 baud|
|19:00:55|u-blox 1 HW: 00080000 SW: 2.01 (75331)|
|19:01:54|EKF2 IMU0 in-flight yaw alignment complete|
|19:01:54|EKF2 IMU1 in-flight yaw alignment complete|
|19:02:50|SmartRTL deactivated: buffer full|

Posts: 5

Participants: 3

Read full topic

Some compatibility issues with u-blox NEO-M9N GPS

$
0
0

@anbello wrote:

I am testing this GPS that use this u-blox module (NEO-M9N) with Pixracer and ArduCopter V4.1.0-dev.

It is recognized and I see this msgs:
[MAV 001:1] GPS 1: detected as u-blox at 230400 baud
[MAV 001:1] EKF3 waiting for GPS config data
[MAV 001:1] u-blox 1 HW: 00190000 SW: EXT CORE 4.03 (6c5018)

But the configuration is not saved even with GPS_SAVE_CFG=1 and I have the following repeated msgs:

PreArm: GPS 1 failing configuration checks
GPS 1: u-blox solution rate configuration 0x10008

I cannot takeoff in LOITER but I was able to take off in ALTHOLD and then switch in LOITER with success.

The number of seen GPS was 16, that I think is low for this kind of GPS but it could be related to unsuccessful configuration.

Here the log:
https://drive.google.com/file/d/17pOy13ih4HvFz3kv3uj_pgOPlL2dC7gO/view?usp=sharing

Posts: 4

Participants: 2

Read full topic

Win 10 Laptop not seeing Sik radios

$
0
0

@stythys wrote:

I recently switched laptops and now have Windows 10. I installed Mission Planner on my laptop and plugged a mRo SiK Telemetry Radio into the USB port. The radio is not recognized on the com ports but is instead on the “Other Devices” tab in Device Manager as “FT230X Basic UART”, the FTDI chip in the radio. When I go to properties it says no driver is installed.

I’ve tried multiple mRo radios and an old 3DR radio, different USB ports, updating Mission Planner, uninstalling Mission Planner and reinstalling, installing QGroundcontrol, and uninstalling the radio in device manager and plugging it back in.

I’ve spent some time digging through forums trying to find a way to manually install drivers or to find out if Windows firewall is somehow blocking it with no luck.

Any advice would be appreciated.

Posts: 1

Participants: 1

Read full topic

Log filename format

$
0
0

@iter wrote:

I’m confused about the file manes MP uses for log files.

When I say “Download All Logs,” I get files in two different formats on my hard drive:

1 8-15-2020 10-35-26 PM.bin
8 8-19-2020 11-32-12 AM.bin

and

2020-08-20 13-11-25.bin
2020-08-20 13-19-24.bin

The first corresponds to what MP shows is available in the dataflash, but the second format seems to involve some time computation. Does the filename encode the start date in one case and the end date in the other?

log-names log-names2

Posts: 1

Participants: 1

Read full topic

Tandem Tiltwing with yaw vectoring supported?


Control LED driver on/off function using PWM6 Output on a Kakute F7 flight controller

$
0
0

@RonaldMeza wrote:

Good day guys,

I’m in need of help as I’m trying to set up one of the PWM outputs of the Kakute F7 to control an external LED driver PWM switch.

According to this link --> https://ardupilot.org/copter/docs/common-holybro-kakutef7aio.html, the Kakute F7 has the following structure:

Servo Output Mapping

The PWM outputs are marked M1-M6 in the above pinouts. The corresponding servo outputs are:

  • M1 -> Servo Output 4
  • M2 -> Servo Output 1
  • M3 -> Servo Output 2
  • M4 -> Servo Output 3
  • M5 -> Servo Output 5
  • M6 -> Servo Output 6

PWM Output

The KakuteF7 supports up to 6 PWM outputs. The pads for motor output M1 to M6 on the above diagram are for the 6 outputs. All 6 outputs support DShot as well as all PWM types.

The PWM is in 3 groups:

  • PWM 1, 2 and 3 in group1
  • PWM 4 and 5 in group2
  • PWM 6 in group3

Based on this info, I’ve been trying to set up the M6 output to be controlled by one unused Aux channel switch without much luck.

Has anyone of you successfully enabled a PWM output to control an external device?

Please shed some light this way, not sure where to go.

Thank you in advance!

Posts: 1

Participants: 1

Read full topic

Pitot Tube Calibration

$
0
0

@viper16 wrote:

Hello everyone, During the calibration of the airspeed sensor, is the state of the plane controlled according to the synthetic speed or according to the airspeed sensor? Thanks in advance.

Posts: 3

Participants: 3

Read full topic

LiDAR configuration

$
0
0

@iter wrote:

I installed a VL53L1X LiDAR sensor in my Bixler (on a Polulu breakout board). Looking at live telemetry values (data/status/sonarrange) it seems to give meaningful numbers on the bench. In the datalog, I can’t see it as clearly. Perhaps I’m looking the wrong value?

The log shows six short flights: launch, orbit, land. The barometric pressure is consistent with this flight profile. (I like how you can see me pick up the airplane and raise it to eye level before each launch). I’m not sure how to interpret the corresponding RFND values.

https://github.com/arikrupnik/ardupilot-config/raw/master/logs/FIXED_WING/1/2020-08-20%2013-19-24.lidar.bin

Posts: 1

Participants: 1

Read full topic

Noob GPS Questions

$
0
0

@shadow6818 wrote:

hey guys setting up a bird here. I’d like to know if I can use the CONS port in the pixhawk cube standard, to run GPS. I have a module but I don’t want to change connectors. I’ve seen people use the CAN1 or CAN2 port for GPS.

Posts: 1

Participants: 1

Read full topic

Initial Set up ploblems

$
0
0

@Duane_Bradley wrote:

Cube Orange w/ Herelink +
APM 2.0.27 on OS Catalina

I was having issues updating firmware as many people have been having. I loaded QGround Control up and update the firware there. Initially I was trying to install the PX4 stable firmware (1.10.1) which kept failing with the error
" Connected to bootloader:
Version: 5
Board ID: 140
Flash size: 1966080
Unable to find specified firmware for board type
Upgrade cancelled"

Instead, I choose Arducopter and updated to ChibiOS / Multirotor / 4.0.3

This one worked and I am now able to connect to APM Planner 2.0 and/or Qgroundcontrol however when I select ‘Update Firmware’ it does not detect the FC (it does when I’m on the main page, the orientation works,etc.)

In the Initial Setup tab, GPS calibration fails, I cannot select the type of craft it is and there are other little things that don’t work.

Where do I start with this?

Posts: 1

Participants: 1

Read full topic

GPS Tuning problems

$
0
0

@Tony_Johnson wrote:

Hi, I have a tank rover using skid steering. With a lot of help from members of this forum I have got it working from my Radiolink transmitter and it responds to controls. I then set up a simple waypoint GPS run, basically along a road with a slight curve so three waypoints. The rover seems to start out oK. The gps is green and it goes forward about 10-12 ft then it suddenly swerves left off the road. Can anyone help with config suggestions and ways to test?

Posts: 1

Participants: 1

Read full topic

Unable to correctly setup throttle failsafe

$
0
0

@JD_L wrote:

I’ve been setting up throttle fail safe according to the directions here: https://ardupilot.org/plane/docs/apms-failsafe-function.html. Failsafe seems to work fine according to the tests, however, I do not see a drop in the low ppm value when I turn off the transmitter. I should be seeing a drop below 982, but I am not apparently. Why would this be happening yet failsafe functions as expected?

Also, is it normal to have a slow beeping from the motor every few seconds while the plane is disarmed. On arming it stops, and all appears normal.

Thank you much.

Posts: 1

Participants: 1

Read full topic


Fine tuning my Quadcopter - log analysis, random oscillations, SiK radio disconnecting

$
0
0

@nn72 wrote:

Hello,
I have built myself a quadcopter with Holybro X500 frame, Pixhawk Cube, Holybro telemetry 433MHz SiK radio, 30A ESCs, 10-inch props. I use QGroundControl, Arducopter with ChibeOs.

Could you, please, help me fine-tune it, look at the latest log and try to find possible issues? This is my setup:

Initially, I crashed several times, broke legs and props in manual mode. Once the quadcopter even flew away in LOITER mode (the GPS pole broke). After I fix it, according to my layman’s opinion, I think it flies like a dream! Albeit I must say I do fly it in AUTO mode mostly.

1) Could you, please, help me look at the log from the latest (successful) flight? Even though everything went smoothly I do have some concerns.

http://padoli.com/flight/sample_log2.bin

I started in LOITER mode, let the drone hover for a few seconds and if everything looks stable I switch to AUTO mode.

2) My SiK radio does not stay connected. It frequently disconnects and I can barely see the location in QGroundControl. What could be the problem? I never had a flight where I would get the telemetry to my QGroundControl without interruption even for short flights.

3) I don’t know how to interpret this IMU chart from the given log file. Is it all good or do I need to be worried?

4) I have never done an AUTOTUNE. Is it something I need to do? Or is my quad good and safe to be used as-is?

5) I have imported the given log into MissionPlanner on my Windows machine and ran auto analysis tool which gave me this result. I don’t know how to interpret it well:

> Vehicletype ArduCopter
> Firmware Version V4.0.3
> Free Mem 0
> Skipped Lines 0
> Test: Autotune = UNKNOWN - No ATUN log data
> Test: Brownout = GOOD - 
> Test: Compass = WARN - WARN: Large compass offset params (X:28.38, Y:-246.97, Z:199.19)
> WARN: Large compass offset in MAG data (X:28.00, Y:-246.00, Z:199.00)
> mag_field interference within limits (9.33%)
> Test: Event/Failsafe = FAIL - ERR found: FS_BATT 
> Test: GPS = GOOD - 
> Test: IMU Mismatch = WARN - Check vibration or accelerometer calibration. (Mismatch: 0.96, WARN: 0.75, FAIL: 1.50)
> Test: Motor Balance = WARN - Motor channel averages = [1549, 1582, 1654, 1666]
> Average motor output = 1612
> Difference between min and max motor averages = 117
> Test: NaNs = FAIL - Found NaN in BAT.Curr
> Found NaN in BAT.CurrTot
> Found NaN in BAT.EnrgTot
> Found NaN in CTUN.TAlt
> Found NaN in CTUN.DSAlt
> Test: OpticalFlow = FAIL - FAIL: no optical flow data
> Test: Parameters = FAIL - 'MAG_ENABLE' not found
> Test: PM = FAIL - 67 slow loop lines found, max 7.67% on line 62667
> Test: Pitch/Roll = GOOD - 
> Test: Thrust = GOOD - 
> Test: VCC = UNKNOWN - No CURR log data

As you see, there are some fails and warnings and I have no clue how serious they are.

Conclusion. The quad flies well and besides the dropping connection to my QGroundControl over the 433MHz radio everything seems to be working. But I crashed in the past and I would like to avoid it and solve any potential problems that may arise now. Can you guys help me double-check everything? I want to have a dependable quad ready to fly safely at any time. Many thanks!

Posts: 2

Participants: 2

Read full topic

Failed to geotagging photo in mission planner

$
0
0

@hendrasaputramsc wrote:

anybody can help me. i want to do geotagging photo in mission planner. i get message like that "Using AMSL Altitude True Reading log for GPS Messages in order to get AMSL Altitude Log Read for GPS Messages Log locations : 12790 Reading log for CAM Messages Log Read with - 498 - CAM Messages found Read images Images read : 398 CAM Msgs and Files discrepancy. Check it! files: 398 vs CAM msg: 498. how the solution?

Posts: 1

Participants: 1

Read full topic

Custom Armable modes

$
0
0

@steve wrote:

In a nutshell we need the ability to select what modes are allowed to be armed.

For example currently RTL is not armable but I also want stabilize to not be armable as well. See below for reasons…

We are preparing here links to be sold with our drones. However the here link states that you can not assign a channel to mode selection.

It states you must use mavlink to assign the flight mode.

So with mode channel set to “0” the pixhawk boots into stabilize mode which is uber dangerous for clients and never used by then anyway.

We either need the ability to assign what modes pix boots up to… or even better assign what modes are “armable” so that the client can’t arm in a mode they are not familiar with accidentally.

Thoughts? And who can this be brought to the attention of as I feel it is a very important feature request as it has to do with safety. We can’t ship any here link drones to clients until this is resolved.

Thank you!

Posts: 6

Participants: 3

Read full topic

Strange movement

$
0
0

@hassani wrote:

Hi
I had several successful flights with my hexa, but on last flight it made a strange movement (alternative roll) in loiter mode. Vehicle didn’t fall, but I want to know the reason for that movement.
I think it is from loiter mode or booster scale or maybe from wind.
Log : https://ufile.io/v4hfbn4n
Thanks

Posts: 2

Participants: 2

Read full topic

Errors when updating from 1.3.70 to 1.3.73 on Windows 10

$
0
0

@rsilk wrote:

I switched off Avast anti-virus but still get these errors:

1 “Error getting param information”
2 “Updated failed file downloaded does not match hash: ar/files.html”
filename where error msg occurs is random if it matters

Posts: 2

Participants: 1

Read full topic

Viewing all 46460 articles
Browse latest View live


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