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

Control yaw during CIRCLE mode

$
0
0

@KimHyungSub wrote:

Hello folks,

I am little confused about controlling yaw during circle mode.
The documentation mentions that “The pilot can control the yaw of the copter, but the autopilot will not retake control of the yaw until circle mode is re-engaged.”. (https://ardupilot.org/copter/docs/circle-mode.html#circle-mode) it is meaning users cannot control yaw. Am I right?
Also, based on previous post (Unable to control yaw in CIRCLE mode), users cannot control yaw.
But, I can still control yaw on SITL.
After I turns on the circle mode, when I change the yaw value such as “rc 4 1000”. It increases rotation speed as well as making the drone unstable status.
is it normal or a bug?

Thanks in advance!

Posts: 1

Participants: 1

Read full topic


Sitl : sim_vehicle.py build failed

$
0
0

@TheGS wrote:

Hi!
I am new here and I am new to use cygwin and sitl. I am using cygwin on windows and I get this error:

$ sim_vehicle.py -v ArduPlane
SIM_VEHICLE: Start
SIM_VEHICLE: Killing tasks
SIM_VEHICLE: Starting up at SITL location
SIM_VEHICLE: WAF build
SIM_VEHICLE: Configure waf
SIM_VEHICLE: “/home/Alireza Omidi/ardupilot/modules/waf/waf-light” “configure” “–board” “sitl”
Setting top to : /home/Alireza Omidi/ardupilot
Setting out to : /home/Alireza Omidi/ardupilot/build
Autoconfiguration : enabled
Setting board to : sitl
Using toolchain : native
Checking for ‘g++’ (C++ compiler) : /usr/bin/g++
Checking for ‘gcc’ (C compiler) : /usr/bin/gcc
Checking for c flags ‘-MMD’ : yes
Checking for cxx flags ‘-MMD’ : yes
Checking for need to link with librt : not necessary
Checking for feenableexcept : no
Checking for HAVE_CMATH_ISFINITE : yes
Checking for HAVE_CMATH_ISINF : yes
Checking for HAVE_CMATH_ISNAN : yes
Checking for NEED_CMATH_ISFINITE_STD_NAMESPACE : yes
Checking for NEED_CMATH_ISINF_STD_NAMESPACE : yes
Checking for NEED_CMATH_ISNAN_STD_NAMESPACE : yes
Checking for header endian.h : yes
Checking for header byteswap.h : yes
Checking for HAVE_MEMRCHR : no
Checking for program ‘python’ : /usr/bin/python
Checking for python version >= 2.7.0 : 2.7.16
Checking for program ‘python’ : /usr/bin/python
Checking for python version >= 2.7.0 : 2.7.16
Source is git repository : yes
Update submodules : yes
Checking for program ‘git’ : /usr/bin/git
Checking for program ‘size’ : /usr/bin/size
Benchmarks : disabled
Unit tests : enabled
Scripting : enabled
Scripting runtime checks : enabled
Checking for program ‘rsync’ : /usr/bin/rsync
‘configure’ finished successfully (8.187s)
SIM_VEHICLE: Building
SIM_VEHICLE: “/home/Alireza Omidi/ardupilot/modules/waf/waf-light” “build” “–target” “bin/arduplane”
Waf: Entering directory /home/Alireza Omidi/ardupilot/build/sitl' Waf: Leaving directory /home/Alireza Omidi/ardupilot/build/sitl’
Build failed
Traceback (most recent call last):
File “/home/Alireza Omidi/ardupilot/modules/waf/waflib/Runner.py”, line 395, in task_status
return tsk.runnable_status()
File “Tools/ardupilotwaf/git_submodule.py”, line 75, in runnable_status
out = self.generator.bld.cmd_and_log(cmd, quiet=Context.BOTH, cwd=self.cwd)
File “/home/Alireza Omidi/ardupilot/modules/waf/waflib/Context.py”, line 461, in cmd_and_log
raise e
WafError: Command (’/usr/bin/git’, ‘submodule’, ‘status’, ‘–recursive’, ‘–’, ‘/home/Alireza Omidi/ardupilot/modules/gtest’) returned 128

SIM_VEHICLE: Build failed
SIM_VEHICLE: Killing tasks

Can anyone help me?

Posts: 1

Participants: 1

Read full topic

Need help in optimizing the hovering performance

$
0
0

@webmotions wrote:

I need some help in optimizing the hovering performance of a quadrocopter.
Weight 2,7 Kg,
Hardware: 4x T-motor antigravity MN4006-23 380Kv with 18" props. Cube Black, Here2, 2x Benewake TF-Mini, Hereflow or Canflow. Software: Arducopter 4.0.3.
On roll you can see slight twitches, in PosHold or Loiter the behaviour is more noticeable than in Stabilize and AltHold.
Autotune has been executed several times, the result is always the same on nick, on roll the values are different. I attach 3 log files, one of them with default parameters.I would also be willing to pay for a solution if someone can help me!

Posts: 1

Participants: 1

Read full topic

Mapping mission with Mission Planner.

$
0
0

@Speedaco wrote:

I try based on an identical version of Mission Planner as presented in the movie

configure the mapping mission but I have a problem with the lack of right-click context menu - shown in the video (1 minute and 47 seconds) - Survey (Grid).

I don’t have it.

There is only this:
image

Posts: 1

Participants: 1

Read full topic

Terrain Following using RangeFinder not working in RTL and Land

POSITION_TARGET_LOCAL_NED messages

$
0
0

@danielh wrote:

Hi,
Sorry, I pressed send too early by mistake.

The copter is in guided mode (based on CX-OF and Lidar)
I’m sending SET_POSITION_TARGET_LOCAL_NED with
coordinate_frame = 8;// (MAV_FRAME_BODY_NED)
type_mask = 1479/// (ignore position, ignore acceleration, ignore yaw)
vx=1;
vy=0;
vz = 0;
yaw_rate = 5;

The message is sent 20 times per second.
With arducopter 3.6.12 everything worked fine. Then one day the yaw_rate command started to be ignored.

As per your suggestion, I installed version 4.03 and requested POSITION_TARGET_LOCAL_NED messages with set_message_interval.
The resulting POSITION_TARGET_LOCAL_NED message returns
coordinate_frame=1
type_mask = 3049 (corresponds to ignore all but velocity)
vx = 0.99
vy = -0.1
vz = 0
yaw = 0
yaw_rate = 0

Posts: 2

Participants: 2

Read full topic

MinimOSD Streaming - No Pitch or Roll

$
0
0

@Naterater wrote:

Has anyone run the 4.XXX series firmwares with MinimOSD? All of the other values appear normal and live, but I cannot seem to get Roll or Pitch information to display on the OSD. The artificial horizon and the text roll and pitch values are stuck at 0degrees. Was there a mavlink spec change? A bug in the OSD firmware? I’m running the latest firmware from the MinimOSD Extra config tool by night-ghost.

Posts: 1

Participants: 1

Read full topic

Precision landing on copter 4.0.3 (IR-Lock)

$
0
0

@markb2309 wrote:

hello,

does someone have experience with the ir lock precision landing on copter 4.0
i have al the parameters set that i can find on the forums but the percision landing doesn’t work

when i put it in precision loiter the copter doesn’t do anything an if i press land it just lands in the place it fly’s

the parameters i have set are

PLND_BUS = 0
PLND_ENABLED = 1
PLND_TYPE = 2
PLND_EST_TYPE = 0
and for the precision loiter RC7_option = 39

Posts: 1

Participants: 1

Read full topic


"Failed to init cube Black" after update

$
0
0

@diego_supairvision wrote:

Hi everyone!

So today, after doing a regular flight, I have tried to update my quad to the latest version (from 4.01 to 4.03).

The installation (using mission planner) has not been problematic except at the end. When it says “wait for the tune before OK” I’ve waited for around 2 minutes and the buzzer has not made its regular sound. I’ve thought that the buzzer might have sounded earlier without me noticing it so I`ve clicked OK and proceed to reboot the Cube.

So now, when I power the cube (USB or battery) the buzzer does not do the initial sound and in mission planner it says “Check BRD_TYPE: Failed to init CubeBlack - sensor”. BRD_TYPE is se to 3. I have tried to reboot it multiple times, flash older firmwares and nothing.

I’ve checked the HW ID page and this is what it shows. Isn`t the barometer missing?

It is a pixhawk Cube Black that I bought nearly a year ago. I have updated the firmware multiple times with the same computer and I have never had a problem. Anyone knows the cause and how can I solve it?

Thanks in advance!

Posts: 4

Participants: 2

Read full topic

Help needed with setting up dodeca copter on the latest firmware

$
0
0

@Christian81 wrote:

Hello,

I hope someone can help me with a problem I have setting up a dodeca copter.

We use the Black Cube with Kore Board and 12 Canbus ESC´s. The thought was, because we would need the outputs 9-12 for other equiptment, we use the Canbus ESC´s.

But when we select the frame class dodeca, it changes the outputs 9-12 to motor outputs, which can not be changed, or these motors won´t work anymore.

Is there a setting we are missing?

Christian

Posts: 2

Participants: 2

Read full topic

Pixhawk 2.1 Orange Cube, holybro tekko32 f3 metal esc

$
0
0

@billthomas302 wrote:

Problem: I can’t program my holybro tekko32 f3 metal esc.

Configuration:
FC - Pixhawk 2.1 Orange Cube
ESC - holybro tekko32 f3 metal esc(65A)
Software: QGroundControl (ArduPilot), BLHeliSuite - both running on Mac.

I am able to make a connection, but I keep getting “Error - found no valid ESC configuration.”

Posts: 1

Participants: 1

Read full topic

Swarm Drones control system

$
0
0

@Udit_Sharma wrote:

The dream of flying is as old as the mankind. Having achieved this feat, lets take a step further and start thinking of automating it. Drones are very common these days. But imagine controling hundreds of these flying machine elegantly and efficiently. Well Thats what the future lies in. Drones for delivery, security purpose,etc.

Posts: 1

Participants: 1

Read full topic

mavlink-router 2 released

$
0
0

@lucasdemarchi wrote:

After some time without a release, I just released mavlink-router 2.

Mavlink-router allows you to route mavlink packets between different “endpoints”, like flight controller, companion computers, GCS, etc. It is used in APSync, Emlid’s RPI images and in other companion computer setups.

With version 2 we had some great improvements regarding handling flight stack log files and more minor improvements like reducing UART latency, sync()'ing the file system periodically, allowing components to filter messages they are not interested in to reduce bandwidth requirements, etc.

Full release notes can be found at: https://github.com/intel/mavlink-router/releases/tag/v2

Posts: 1

Participants: 1

Read full topic

Missing channels on extended tunning

First huge climb in AltHold flight mode

$
0
0

@AGurel wrote:

Hello,

I’m using Holybro Kakute F7 AIO and Arducopter 4.0.3 Quad.

When i fly first time in AltHold mode, with my throttle trigger, the copter climb approximately 5-6 meters although released the throttle stick.

But for second fly, without restart FC, there is no huge climbing. When i release the throttle stick, the copter keeps current altitude. If the FC restarted, the huge climb is happening again in first flight. Is there any bug?

My first flight log: https://drive.google.com/file/d/1GqB3pfk8NTQbOs6GswXvX3HjKZaRrhD-/view?usp=sharing

Posts: 1

Participants: 1

Read full topic


Weird Dshot Behavior on 4.0.3 and Cube Orange

$
0
0

@smartdave wrote:

Seeing an oddity with my Cube Orange using Dshot 300 with Tekko32 Metal F3 ESCs

When I boot up the flight controller and arm the motors 1 or 2 won’t spool up, It’s random everytime.

I tried re seating to motor connections and nothing helped. I finally changed to Dshot 150 and all my issues went away.

I am curious if there is a ransom corruption in the communication to the ESCs when you arm the motors.

Has anyone else seen this issue?

Particulars:

Cube Orange
Tekko32 F3 Metal ESCs
Dshot300

Thanks

Posts: 1

Participants: 1

Read full topic

Creating a mobile application to control the drone

Creatin an android app to control the drone

$
0
0

@kerimzhanov_a wrote:

Hello everyone, I am a student and I want to develop a mobile app for Android in Kotlin language. I have a DJI F450 drone with a Pixhawk 2.4.8 controller, also there is FlySky FS-i6-M2 2.4GHZ Transmitter with receiver and telemetry 433mhz(cp210x). My app should build a route(missions) for the drone, like in QGroundControl or Mission Planner and also should have joysticks for controlling.
The problem is that I cannot imagine the process of how a mobile app connecting with the drone. I know that it could work with the WiFi module or Telemetry, but I can’t imagine how exactly. So my questions are:
Could somebody briefly tell what scheme does the whole process go through? I mean step by step instruction. How to connect the smartphone with the drone through telemetry? How a MAVLink protocol (DroneKit API) sends data? If you know some topics which are better to cover, write pls.
Thanks in advance.

Posts: 1

Participants: 1

Read full topic

ArduPilot Conference 2020 Underway!

$
0
0

@james_pattison wrote:

The 2020 ArduPilot Developers Conference is underway!


We’ve moved everything online, due to global travel restrictions. Whilst the circumstances are unfortunate, this has provided a great opportunity to expand the number of people who can attend.
Check out the schedule (in GMT):

and feel free to join the Zoom conference https://zoom.us/j/8364629555 : please send a PM to me, @CraigElder, @tridge or @luisvale for the password (our first meeting was “Zoom Bombed”, so we’ve had to protect it).

Calendar link for schedule: https://calendar.google.com/calendar/ical/beo5365kh9ejs3gig4ngpvunlk%40group.calendar.google.com/public/basic.ics

https://discuss.ardupilot.org/t/ardupilot-developer-conference-march-2020

Posts: 4

Participants: 4

Read full topic

VTOL Airship Control Architecture

$
0
0

@Theo_Hoenen wrote:

Hey Guys,

Im currently working with a friend on an Airship. The goal is to make a vehicle that takes off and lands vertically and can tilt its motors horizontally during the flight. We chose to go for an architecture with 4 motor in H configuration for more stability during take off and landing and a reasonable speed (around 30km/h or 19mph). All the motors will be attached to the gondola below the balloon.

I have already started to look for motors, batteries and esc models.

But i have some remaining questions:

What about the controller hardware ? Any advices ?
What about the software ? I saw that arduplane include Vtol Plane but what about VTOL airship ? Would there be a lot of adjustments to do to accomodate the flight dynamics of an airship ?
Wouldn’t it be simpler and faster to simply rebuild the whole code from scratch rather than try to reuse bits of code made for planes of quadcopters ?

Thanks a lot,

Théo Hoenen

Posts: 1

Participants: 1

Read full topic

Viewing all 46272 articles
Browse latest View live