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

Disable compass?

$
0
0

@aldofad wrote:

Dear all,
normally I like using the Antenna Tracker without GPS as I pinpoint manually the exact home location.
I’d like to disable the compass too as I’m sure where to point the frame toward north when powering it up.
Does it make sense to disable the compass? Is it possible/supported?
If I use a 180° servo for pan, I don’t see any reason to use compass if I know that the pan in its neutral position is pointing north. In this way I don’t need to calibrate the compass and I should have a much more reliable tracking

Kind regards,
aldo

Posts: 1

Participants: 1

Read full topic


Copter sometimes flips on auto-land

$
0
0

@nikhildixit wrote:

Hello,

Since upgrading to v4.0 we have seen multiple incidents of copter’s flipping on landing (in auto mode). The copter will touch down, but will not disarm on it’s own and will violently oscillate until it flips.

The really strange part is this: Even when we send a MAV_COMPONENT_ARM_DISARM command to force disarm (with the correct magic packet), the copter still flips. The flips also consistently favor one side of the drone (suggesting that some of the motors are not idling).

We have not seen this issue in previous versions of ArduCopter and have replicated it on 3 drones. When we downgrade to 3.6.11 the issue goes away.

Any help debugging this would be appreciated.

Initial log (more to come soon):

Posts: 10

Participants: 3

Read full topic

[GSoC] Kirogi Ground Control Station

Starting contribution for Gsoc 2020

$
0
0

@nishant-sachdeva wrote:

Hi, I am Nishant Sachdeva. I am looking to work with you guys for GSoc. Could you give me pointers on how to start ? ( or where to find issues to start getting used to the eco system )

My github id usename is nishant_sachdeva. I have worked with Python , linux and c++ . I am currently working with the Robotics lab at IIIT - Hyderabad ( I am a student there ) . I have minor experience with drones ( just started working with ROS ) .

I am willing to work in any form helpful

Posts: 2

Participants: 2

Read full topic

Very strange crash, help needed to find root cause

$
0
0

@Verloop wrote:

A few weeks ago, we had a very strange crash which we have a hard time to determine the root cause of the problem.

We took off, hovered to our start altitude and started forward flight. When we reached transition speed, the plane started banking left and right violently and within a few moments, crashed.

From analyzing the log file, we come with 2 possible scenarios:

  1. One of the multi rotor motors had a failure
  2. Ailerons didn’t get signal, maybe due to cable connection problem

Of course we would like to understand what went wrong so we can take actions to avoid this to happen again.

The .bin file is here:

Please help.

@tridge2 Can you please have a look if you have time?

Posts: 1

Participants: 1

Read full topic

Cube Orange cannot detect Here2 Compass on UAVCAN

$
0
0

@rmackay9 wrote:

This is a new topic created to discuss issues with AP Copter-4.0.3 (and higher) being unable to receiver compass and/or GPS data from the Here2. This topic is split from this earlier discussion.

Please report issues below ideally with log files and any other information you may have. To keep the investigation focussed please keep reports focused on CubeOrange and Here2 connection issues.

Posts: 2

Participants: 2

Read full topic

Here2 Compass on UAVCAN doesn't initialize consistently on Cube Orange

PixHawk 2.1 and 2 x Here GNSS GPS setup

$
0
0

@iSkyMaster wrote:

Hi,

I am struggling to find clear documentation on how to setup two Here GNSS GPS with PixHawk 2.1 cube while using mission planner.

is there a place where complete wiring diagram is provided down to nuts and bolts and how to set whatever parameters are need to be set inside mission planner?

thanks for your help.

Posts: 1

Participants: 1

Read full topic


Controlling Parrot drones using SkyController2

$
0
0

@lucasdemarchi wrote:

Hey, it’s been some time I’m writing a new RC software to run on the Parrot SkyController2 to use with ArduPilot on the supported drones from Parrot. The video above is the current progress. End goal is to control the Parrot Disco fixed wing, but on my travel to Brazil unfortunately it didn’t fit in my bags. So, in order to test the RC implementation I revived an old Bebop 1 I had. The project I’m talking about is called dema-rc and can be found on my github: https://github.com/lucasdemarchi/dema-rc.

The SkyController2, like the drones from Parrot use a custom Linux distro with influences from buildroot and Android. It has its own init system and it’s very streamed down. On SkyController2 for example you don’t have much space left, just a few megabytes. I made a blog post last year about the technical details of side-loading our own software on these kind of Linux boards: https://politreco.com/2019/09/side-load-on-embedded-linux-with-buildroot/. I see lots of projects just building the software statically to overcome dependencies issues, but I believe this is a better approach. Since that blog post I automated the way I build the software, integrating with Gitlab-CI, and making the toolchain available as a docker container (it’s available in my registry on Gitlab, registry.gitlab.com/lucas.de.marchi/dema-rc/armv7hf, but you can also just build your own with the Dockerfile. That container has all the dependencies to build the software plus the rootfs we use for side-loading additional software.

Once you have the toolchain, just configure and build dema-rc (in the case below I installed the toolchain under /opt/):

$ meson setup --cross-file /opt/arm-buildroot-linux-gnueabihf_sdk-buildroot/etc/meson/cross-compilation.conf build-armv7
$ ninja -C build-armv7

You also need bleeding edge version of ArduPilot running, containing this PR: https://github.com/ArduPilot/ardupilot/pull/13607

The best way I found to connect my computer to the Skycontroller2 is to find a compatible usb-ethernet dongle and connect it to the only USB port. Just a few dongles work out of the box, namely the ones that are USB 2.0 10/100 and use the asix chip. The Gigabit and/or USB 3.0 don’t work, even if they have the asix chip. This is the one I bought: https://www.amazon.com/gp/product/B00MYT481C/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

It’s also possible to connect to the SK2 by hoping through the drone if they are running the original flight stack (otherwise it will keep disconnecting). You will need to discover the IP the controller was assigned and also have adb server on the drone. I think using the usb-ethernet is much simpler, more reliable and in future will allow you to feed the GCS with mavlink data and video (this is currently not working). Once you have it connected, to your computer, then you just need adb on your computer:

$ adb connect 192.168.53.1:9050
$ adb shell

This gets you logged in the SkyController2. All the configuration files and scripts you need are in this directory: https://github.com/lucasdemarchi/dema-rc/tree/master/distro/skycontroller2. Copy them using the install.sh script on the same directory. Next you will have to push dema-rc (and dependent libraries) you just built to /data/ftp/internal_000/ardupilot/bin/. See the `install.sh script to check the commands to use.

After installing you have to reboot the SkyController2 using the power button. When it powers up again, it will still be using the original software. You have to press the “settings” button so it switches to dema-rc. After that you should see a blue LED blinking rather than a red one when it’s trying to find the drone’s network. The LED stays solid blue when connected. Differently from the original software, it doesn’t matter if the flight stack is running on the other side, it will try to connect (and reconnect in case the network connection is lost) to the SSID configured in /data/ftp/internal_000/ardupilot/bin/dema-rc.

Posts: 1

Participants: 1

Read full topic

Simulator update

$
0
0

@pmshop wrote:

So has the SITL simulator been updated to where it can simulate faster speeds than 1000cm/s?
Needs to be modeled after more recent aircraft.
Not the old 3DR IRIS +

Posts: 1

Participants: 1

Read full topic

Remote Safety Switch

$
0
0

@Helsing wrote:

Hello Everyone,
Is there a way to controlling safety switch from PC ? I don’t want to disable it. I just wanna control it from my computer. Because I have ready to fly 5 drones and I don’t want to push each one.

Posts: 1

Participants: 1

Read full topic

Skid Steering using Brushed Motors with Relay Issue

$
0
0

@Dennison wrote:

Hi, I am using ArduRover 3.5.2 on pixhawk 4 . There is a weird behavior when I used AUX 5 and AUX 6 for RELAY_PIN and RELAY_PIN2 and it only happens when reboot. The rover turn left when I push the throttle stick to right and turn right when I push the throttle stick to the left. It only happens once and everything will be back to normal until I rebooted the Pixhawk.

It only happens for AUX 5 and 6. I got no problem using AUX1 and AUX 2. But due to my application, I need to reserve AUX1 to AUX4 for servo applications.

Anyone managed to solve this problem?

Posts: 1

Participants: 1

Read full topic

How important is temperature control of the IMU?

$
0
0

@arsenix wrote:

I notice that the CUAV V5 does not have active temp control (heating) of the IMU like the Cube family. Why did you choose to remove this feature? You are also using different IMU components similar to the Cube Orange. Did you find that the heating feature was not necessary?

Posts: 1

Participants: 1

Read full topic

Adding parameters

Inputs with Companion Computer

$
0
0

@Iain_Ross wrote:

Hi, I’m relatively new to the ardupilot scene and am looking for some advice. I’m developing a drone with some additional trajectory tracking features. It needs to go clockwise or anticlockwise around a waypoint. The code is working. However, it requires a user input when I run it on my laptop (i.e to specify cw or acw). How can I input this information when its running on an on-board companion computer?

Posts: 1

Participants: 1

Read full topic


Vision based precision landing

$
0
0

@NiltonMadede wrote:

Hello everyone, I am developing a drone with the integrated fmuv5 and I wanted to implement vision-based precision landing and not infrared blocking, since most of the pads have the letter H i want to the drone detect the pad and thus perform the precision landing, but I don’t know what would be the best system to perform such action on a complementary computer, any help ??

Posts: 2

Participants: 2

Read full topic

Redundant receiver configuration with telemetry

$
0
0

@cindella wrote:

Hi! I am a student researcher, and need to be able to communicate with my plane over a small hill that blocks line of sight. The setup is effectively this:

The plane takes off from the ground station, then follows automatic Mission Planner waypoints to do some surveying on both sides of the hill. On the far side, we lose line of sight with the airplane, and therefore also lose any signal connection.

I have been trying to construct a “network” that will repeat the RC and Telemetry signals over the hill, using the Multiple Receivers configuration:
https://ardupilot.org/copter/docs/common-multiple-rx.html

But, these seems to only apply to the RC IN channel? Seems like the RC IN will switch based on whichever signal is strongest. I would like to use that same functionality to also determine which Telem port (1 or 2) the Pixhawk sends information out of such that I we receive the correct data back at the ground station. Is this possible?

Hardware:
Pixhawk 4: https://docs.px4.io/v1.9.0/en/assembly/quick_start_cube.html
Dragonlink RX/TX: http://www.dragonlinkrc.com/instructions/v3equipment/v3completesystem/#

Please let me know if there is additional information I need to provide!

Posts: 1

Participants: 1

Read full topic

Log Analysis Help - Start to land in auto mode

$
0
0

@dronar wrote:

Hi Everybody!
It´s my first post here… I need help with a log analysis. If anyone has a free moment, a little log analysis help would be much appreciated. I am very new to log analysis, I did indeed read the “common-diagnosing problems using logs” as noted in the ‘please read before posting’.
A brief overview of my fail flight:

I created a mission and write it on the plane. The mission has the following events: takeoff, waypoints, start to land and land. When I change from manual to auto mode, plane go to the land start secuence. I have never flown with this aircraft… Im setting everything up for my first flight.

Link to log file:
https://drive.google.com/drive/folders/1ZGAicMq3OyfW9H1blEFAVk5blF-9LaIQ?usp=sharing

Thank you! Greetings!

Posts: 1

Participants: 1

Read full topic

Basic Rover setup

$
0
0

@Oscar_Wallace wrote:

I was just wondering if anyone could give me a list of things I would need to get for a basic rover setup including the Ardupilot stuff. (maybe even links to the pieces).

Posts: 1

Participants: 1

Read full topic

Problems with T200 and Holybro Pixhawk 4

$
0
0

@nuballawalla wrote:

Hi Everyone- I posted part of this on the Blue Robotics Forum, but no one over at BR has a Pixhawk 4 so they encouraged me to post my problem here. Any help is much appreciated.

I recently bought 2 x T200 and 2 x Basic ESCs that I want to use in skid steering with a Holybro Pixhawk 4 running ArduRover. For Tx/Rx I am using a FrSky X9 Lite and a X8R.

I configured everything in QGroundControl and here is a list of parameters that I’ve changed.

SERVO1_FUNCTION = 73
SERVO1_FUNCTION = 74

Currently, I have the ESCs connected to the Holybro FP07 power distribution board (motors 1 and 3) but I am not getting any response from the T200s.

When I apply power, the ESCs beep, but then absolutely nothing happens when I arm and move the sticks on the transmitter. I have calibrated the X9, both on the transmitter side and in QGC. I also tried setting subtrims so that PWM from channels 1 and 3 range exactly from 1100 to 1900. Still nothing from the T200s.

My question then- is this a power distribution issue, or something else? Before I unsolder the ESCs from the PDB and connect directly to the battery I thought I would get some feedback.

Posts: 1

Participants: 1

Read full topic

Viewing all 46111 articles
Browse latest View live