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

PX4Flow and Pixhawk 2 (Cube)

$
0
0

@faresa2 wrote:

I’ve gone through so many posts and have tried connecting the PX4flow module to the Pixhawk in different configurations with no favorable results. These have included connecting the module through the GPS1 port and through the I2C 2 port. I’ve also tried every possible number (0-7) for each of the ports for FLOW_ADDR. The best I’ve been able to do so far is to get an initial reading that freezes when I have the module connected through I2C 2 port and FLOW_ADDR. Changing any of the former causes the Bad Flow message.

I’m running out of ideas and would greatly appreciate any guidance on this.

Posts: 1

Participants: 1

Read full topic


Where do I position the throttle for auto takeoff?

$
0
0

@wsalopek wrote:

I have looked and looked (and looked and looked) for this answer…but can’t find it…

Where do I place the throttle for auto takeoff? Indeed, what is the procedure? The docs don’t address the actual procedure…like step one, do THIS, step two, do THAT.

I loaded a mission starting with auto takeoff (which the docs call NAV-TAKEOFF, but which doesn’t exist, as far as I can tell in Mission Planner).

But when I switch to AUTO, and raise the throttle, and even though I have set the other parameters correctly (so the prop doesn’t start before certain conditions exist), THE PROP STARTS.

I’d love to know what I am doing wrong, but even thought about 10 million words have been written on the subject of auto takeoff, NONE address the actual procedure.

Pardon me for sounding frustrated, but like many others who have invested untold hundreds of hours into building and trying to understand ardupilot, there are still enormous (ENORMOUS) gaps in what the docs say vs how the system actually works in the real world.

Posts: 1

Participants: 1

Read full topic

New 3D printed vibration mount for the Cube

$
0
0

@GuyMcCaldin wrote:

I’d like to start this post by apologising to those who have been waiting patiently for this design to be released for a long time now. Without getting into the details, expired CAD software licences that I couldn’t afford to renew, cheap and unreliable 3D printers, and unrelenting pressure from work got in the way. I’m hoping “better late than never” still applies.

With that out of the way, I’d like to introduce the next generation of anti-vibration mounts designed for the Cube:

Design features:

  • Centre of rotation inline with IMUs to ensure rotational vibration is not translated to lateral acceleration
  • Less than 25g including mounting hardware
  • Easy to print, and uses widely available parts

IMPORTANT, PLEASE READ BEFORE USING THIS MOUNT
All version of the Cube with the exception of the low profile purple version include internal vibration dampening. You should not need a seperate vibration management solution for the vast majority of applications. Before considering this mount, it’s highly recommended that you do the following:

  • Enable IMU logging, and confirm you have excessive vibration
  • Inspect motors and props for damage, and check that props have been properly balanced
  • Ensure motor retention bolts are properly secured and held in place with Loctite
  • Make sure there is sufficient slack on all cables going to the carrier board to prevent vibration transmission
  • Check that camera gimbals, spinning LiDARs, and any other sources of vibration are properly isolated

This mount may degrade performance when used in situations where it is not needed!

Print Instructions
The design has been optimised for 3D printing using a 0.4mm nozzle, 0.2mm layer heights, and no supports. Suggested materials are PLA or PETG. ABS can be used, but you might have a problem with the parts lifting from the print bed unless you have an enclosure.

Two versions are provided, a topology optimised version that may be challenging to print with certain materials and machines, and a simplified version that’s slightly heaver but easier to print. Each version has mounting patterns for 45mm x 45mm, or 73mm x 42.5mm (compatible with the Tarot 680 Pro). If you would like a version with a custom mounting pattern, I’d be happy to assist. All I need is the dimensions of the mounting holes, and any cutouts or features I need to include.

Parts Required

  • 13mm x 9mm⌀ silicone dampeners (Example)
  • 25mm x 50mm double sided tape (Preferably 3M VHB, but you can also include what was included with the Cube)
  • 4 x M3 bolts

Non-Commercial Licence
The files are being released under a Creative Commons 4.0 Attribution, Non-Commercial, Share-Alike licence. This allows hobbyists, researchers, and operators to print their own mount (or have someone print it for them) and benefit freely from the design. Users can also modify the design to suit their own purposes as long as they share their design with others under the same licence. You’re welcome to print the mount for others and recover material costs.

If you want to include the design in a commercial product that is sold to others, or use a 3D printer or service to produce and sell the mounts separately, please contact me. In order to support continued development and innovation, as well as recover the initial development costs, there is a one-off licence fee of $199 USD which grants perpetual commercial usage rights, or alternatively a 10% fee for each individual mount sold. Custom design enquiries are also welcome.

For the next 2 months, all proceeds will be going towards the charity Raleigh International. In September, I’ll be heading to Costa Rica for 3 months to volunteer my skills to manage education and sanitation projects that benefit marginalised indigenous communities. If you’re interested in tipping me for the work that’s gone into this design, you can do so here. Donations qualify for Gift Aid and Tax Relief for UK residents.

If you’re based in Australia, I’ll send a mount your way for donations of any amount. You can donate to my fundraising campaign here (all donations made via this page are transferred directly to the charity):
https://uk.virginmoneygiving.com/fundraiser-portal/fundraiserPage?pageId=1087146

Please send me a private message with your address details to claim your mount. I have enough components for a dozen or so immediately, but there may be short a delay if I get a significant number or orders.

Feedback
If you have any constructive feedback on the design, suggested improvements, or would like a customised version to suit a popular flight controller or airframe, please feel free to comment below or contact me privately at guymcc at gmail dot come.

Posts: 1

Participants: 1

Read full topic

Printer not printing

About gimbal control

$
0
0

@111167 wrote:

Hi.
I am using pixhawk2. arducopter 3.6.9
I want to control the tilt and fan of the gimbal.
Is it possible use main out or aux out port without using RC?
I tried to output pwm to main out and aux out using mavlink, but it failed.

help me please.

Posts: 3

Participants: 3

Read full topic

RC_CHANNEL_OVERRIDE command doubts

$
0
0

@Airman01 wrote:

Goodmorning community, i’m trying to fully understand mavlink and i’m facing a problem.

I have a plane that i want to control using arduino by sending command to my PX2 (cube).

The control surfaces are elevons as the model i’m using is the skywalker (see picture below)

To control them i want to use the MAVLINK_MSG_ID_RC_CHANNELS_OVERRIDE #70 as i want to have direct control on their actual angular deflection.

My question are basically 3 :

  1. in the header file related to the message, in the struct of mavlink_rc_channels_override_t is written:

uint16_t chan1_raw; /*… A value of UINT16_MAX means to ignore this field.

Does that mean that i have to write literally UINT16_MAX instead of the channel value if i want to ignore this field?

  1. Are those channels the same that i set with my taranis to manually control the aircraft? is there a way to understand which channel is used or i can just try using the stream from MAV_DATA_STREAM_RC_CHANNELS?

  2. Does the command need any particular aircraft mode to be activated? or i can just recall it and use it as i need?

Right now the function i wrote to recall the command is the following (please note that “x” is placed just to indicate where i will insert the 18 PPM values)

void elevon_control() {

mavlink_message_t msg;
uint8_t buf[MAVLINK_MAX_PACKET_LEN];

mavlink_msg_rc_channels_override_pack_chan(2, 200, &msg,1,0,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x);
uint16_t len = mavlink_msg_to_send_buffer(buf, &msg);

#ifdef SOFT_SERIAL_DEBUGGING
pxSerial.write(buf, len);
#else
Serial.write(buf, len);
#endif

}

Kind of a long post, but i’d love hear your answers to improve my understanding with mavlink. :blush:
Thanks,
Gianluca

Posts: 1

Participants: 1

Read full topic

Pixhawk 4 GPS no fix issue

$
0
0

@louistwiice wrote:

Hi
I have a pixhawk 4 with it GPS module. After successfully calibrating the compass on mission planner, I have the following message:
GPS: no fix.

Could someone help me please? I don’t know what to do

Posts: 2

Participants: 1

Read full topic

Where are stream rates specified?

$
0
0

@xfly wrote:

Hi all,

I have a python script which sets up a stream of certain MAVLink parameters and uses those. The problem is now that the data rate is not what I specified and also somehow not predictable.
My setup is as follows: A Raspberry Pi is connected to the Pixhawk as companion computer. It runs Mavproxy. Further I use a python script which connects to MAVProxy over UDP. The python script starts a data stream by REQUEST_DATA_STREAM with a specified stream rate. To prevent MAVProxy from setting another stream rate I start the application with the --streamrate=-1 option.
What I experience is that the stream rate is sometimes close to what I set, e.g. when I set 3 Hz I get 4Hz, setting 23 Hz results in either 20 Hz or 25 Hz and setting 35 Hz in about 50 Hz. Does someone have an idea where this behaviour comes from?

And also does someone know what the stream rate parameters exactly do. I read somewhere that SR0 is realted to USB, but what are the others? And how do they behave when setting the stream rate by REQUEST_DATA_STREAM?

I hope someone can help. Thanks in advance.
-Fabian

Posts: 1

Participants: 1

Read full topic


Can't calibrate Compasses on Mission Planner

$
0
0

@Deafro wrote:

I’m working to debug a Ground Control Station(GCS) that won’t calibrate its compasses. When I try to start the calibration process, the percentage bar does not appear and the green bar doesn’t fill up. Looking at the status tab on the flight data screen, I am not seeing magnetometer data coming from the Pixhawk. From my troubleshooting, I’m confident its something to do with the GCS. I’ve tried calibrating on other GCS’s and was successful. I’ve tried different Pixhawks with different firmware versions on the problem GCS, and saw the same issues. What on the GCS side could stop magnetometer data from updating?

Posts: 1

Participants: 1

Read full topic

How can Ardupilot navigate with noisy GPS positions?

$
0
0

@acebrianjuan wrote:

Hi all,

How does Ardupilot manage to navigate when GPS positions are noisy?

For example, say that the GPS unit reports a position at a given time, and a second later it reports a new position which is 25 meters away from the previously reported position, but the drone did not move 25 meters in reality.

How would Ardupilot decide what is the actual position of the drone?

Thank you.

Posts: 3

Participants: 2

Read full topic

FYI for Arduboat enthusiasts

Pixhawk reboot after fast rising from min throttle to nearly max throttle

$
0
0

@mauris wrote:

I rebuild my flying wing due to summer update…

During motor test (on ground, manual flight mode), the board has restarted after fast rising from min throttle to nearly max throttle (not just disarm but reboot).

I reproduced the failure multiple times.

I don’t know where the problem comes from, powering problem ? I checked the wiring all seems to be ok…

Posts: 4

Participants: 3

Read full topic

Quadcopter starts yawing immediatelly after takeoff

$
0
0

@lospalos wrote:

Hello,
I got problem with my quadcopter and writing here to 3.6 section but I guess it is not related only to this version. I flew with this configuration many times without problems but after some upgrades (guess the problems started with 3.6.7) the copter started yawing without rc-input or another symptom was it didn’t yaw at all even with full left/right rc-lever.
Situation:
Arducopter with fresh loaded (all params reset to defaults) 3.6.10 running on RBPi 3 + PXFMini on it.
On the field I just did Compass callibration and motor/compass calibration.
Then I tookoff in stabilize mode, but right after copter elevated bit above ground it started yawing notable in CW direction. And because yaw couldn’t be corrected with my radio I only landed somehow with little damages on the frame.
So I downloaded the log but only thing I could read from it is the channel 4 out was not corresponding to my rc-input (RCIN-4). In fact it didn’t react to my rc-input 4 at all.
One can see it on the graph here:


Where the blue curve is my rc-4 input (at the begin very high - as I armed the copter with yaw lever) and then after approx. in the intersection of red and blue lines I started with correction - opposite to yawing, but the red line is still rising up and I really don’t understand what’s wrong with my setup.
Perhaps the driver for my compas changed default alignemt of the sensor so I checked also compass when yawing the frame in my hands - in the MP it seemed the rotation is correct. Please can somebody here check my log from this flight and point me what happened to my copter?
2019-08-07 11-02-34.zip (209.4 KB)

Posts: 2

Participants: 2

Read full topic

Pixracer Flight Controller Questions - Best Firmware, Orientation Setting Sat receiver voltage

$
0
0

@1piece wrote:

Hi Folks,

Due to very limited space constraints, I’m leaning towards buying a Pixracer R15 for my traditional 450 heli. Questions:

  1. I plan to use QGC software. On the firmware issue - Does it matter if I load the Pixracer FC with PX4 or Arducopter firmware if both are offered during first set up?

  2. I plan to mount the FC 180 degrees (roll axis) from standard mounting (upside down, gel or foam mounted (with safety zip tie loosely placed) to the bottom part of the heli frame. IF I do all my initial orientation calibrations with the FC in the aircraft…do I still need to set the QCG parameters to tell QGC that the controller is mounted 180 degrees (roll axis) from standard…or will the software pick this up during my orientation set up phase of QGC set up? Any other things to be concerned with?

  3. Does anyone know if Pixracer 15 has the voltage step down circuitry built into the board to run the 3.3v Spektrum Satellite receiver? The board DOES have the physical satellite port…just not sure if its stepped down to the correct 3.3v. Is it OK to use the satellite receiver as the ONE and ONLY receiver for this small-ish heli or am I courting disaster?

Thank you.

Posts: 1

Participants: 1

Read full topic

Cant connect ar 2.o drone

$
0
0

@m_karns wrote:

Hi, i got QGC to work for my bebop2 drone but i can not get my old ar drone to connect… it just says waiting for connection… i tried an older version and it never updated the map to my location it displays the default location. Is there something im missing here? You can only make one way point at a time in ar free flight app it sucks… thanks@

Posts: 1

Participants: 1

Read full topic


Obstacle avoidance help me

$
0
0

@blueberrywaffle wrote:

Hi everyone. Write here for the first time.
Currently, I’m a beginner and I’m aiming for rover’s autonomous driving.
However, I am facing various problems in progress.

One of the problems is that the sonar sensor responds in manual mode but The sonar sensor is not recognized in auto mode.
I’ve tried using the parameter values ​​of Dodge Avoidance and simple Avoidance described in the Ardupilot, but It didn’t stop or avoid them in front of the obstacles.
As a beginner I can’t figure out what’s wrong.
Please help me how to change parameter values

I need your help.
thank you.

I’m working on the Pixhawk 2 Cube and Lightware’s SF11.
The parameter values ​​I changed are:

RNGFND_TYPE = 7 (LightWareI2C)
RNGFND_ADDR = 102
RNGFND_SCALING = 1
RNGFND_MIN_CM = 5
RNGFND_MAX_CM = 12000

RNGFND_ORIENT = 0
PRX_TYPE = 4
AVOID_ENABLE = 7

RNGFND_DEBOUNCE = 2
RNGFND_TRIGGR_CM = 100
RNGFND_TURN_ANGL = 45
RNGFND_TURN_TIME = 1

Posts: 1

Participants: 1

Read full topic

Drone wobbles a lot in Loiter mode

$
0
0

@mango_apps wrote:

Hi!

I just finished building my drone and I took it out to fly a couple times and every time that I put the drone in loiter mode, the drone wobbles a lot. When I take it even higher, above the height of trees, it wobbles even more. I have tried auto tune 2 times and it didn’t finish either time because suddenly it started to get windy which messed it up and I landed and then disarmed. I was thinking that maybe some of the partial tune would have been saved? But I’m not sure.

When I try to click on the advanced tuning tab, it won’t load the advanced tuning page. I tried this on a couple computers and no luck.

I can’t find out what is going on and any help would be great! Here is a link to a folder with the log from the latest flight and an image of my drone: https://drive.google.com/open?id=1Udu0llzfJcyGb_ZJP-jdGcD0HZ6ixTIb

Posts: 1

Participants: 1

Read full topic

Fly to (Guided Mode) instruction from external program

$
0
0

@DavidBain1234 wrote:

HI there I need to find out how I can get fly to Guided mode from an external program. I have a program that can send me GEO tags. I need mission planner to read that GEO tag and fly to that location automatically. Does any one know where I can get a python script for this kind instruction set.

Posts: 1

Participants: 1

Read full topic

Problem left steering tank ardurover 3.5.1

$
0
0

@Fabio85 wrote:

I have a problem with the pixhawk controller’s output signal. the rover is set with channels 1 and 3 with 73 74. everything works correctly, except the steering to the left from a standstill (I disabled the GPS and I have no signs whatsoever on problems).
on the movie you can understand better. I think it’s a problem of code, I did various tests to change the settings and read various posts but I couldn’t solve!
I thank you now for the help !!!

to see the video download from http://gofile.me/2YpI4/iwEw5i9e7

(it’s on my home NAS)

Posts: 3

Participants: 2

Read full topic

NMEA GPS not working

$
0
0

@Adam_Makin wrote:

So I’m trying to use my Teseo LIV3F GNSS module with My Drotek Dropix flight controller. I’ve configured the GPS type to NMEA, the baud rate to 38. However no GPS is recognised and using an oscilloscope I can see no data being exchanged between the FC and the GPS. The GPS definitely works as using an FTDI cable I can see the positioning data sending over UART. Is there something I am missing?

Posts: 1

Participants: 1

Read full topic

Viewing all 46545 articles
Browse latest View live


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