Quantcast
Channel: ArduPilot Discourse - Latest posts
Viewing all 250427 articles
Browse latest View live

PIXHAWK4 has problems using SBUS

$
0
0

I use the Pixhawk4 brush RC 12, the effect is very good, but there will be a SBUS signal jump caused by the crash, is there a solution?


SkyRocket and ArduPilot

$
0
0

i read some info on the web link of skyrocket.the scout could hover indoor with the surface scan tech. is this drone suitable?

Precise landing with vision view

$
0
0

Hi!
I’m in need for very precise landing system where orientation is also important. I have surfed the internet quite through and haven’t seen any plug n play systems. Or does anyone know any already developed system for sale?
What is the compability between pixhawk 2 and lets say Intel realsense cameras? Is it possible to use Intel “machine view” camera to operate with PH2.1 and missionplanner?
Do I need Arduino or Rasberry to get PH2.1 and camera to communicate with each other?
Or does anybody know maby similar system to use?
I have purchased IR-LOCK system too, but this doesn’t provide to change the orientation.

PreArm: check steering and throttle config error

$
0
0

No, I don’t get any error.
Anyway even when I get prearm errors, simply using the arm button will enable all servos.
On the param list I have all prearm checks enabled and battery cut off voltage set.h

Features available in ArduPlane on an Omnibus F4 Pro v3 ...?

Pixhawk Auto Tune not working? Help with a log please! =)

$
0
0

You have posted this in the “Hardware” forum, but you may get more response posting in the “ArduCopter” forum instead.

What is the default baud rate between Sonix and STM32 flight controller?

$
0
0

Hi. I am experimenting with a white SkyViper 2450 HD/GPS drone. I am working on a custom WiFi board based on the ESP32 that will substitute the Sonix board. What is the default baud rate between Sonix and STM32 flight controller?

Position Hold with VISION_POSITION_ESTIMATE and ATT_POS_MOCAP for indoor localization

$
0
0

Another test with my system for indoor localization (more info some post above):

Here I don’t used the RC, all the flight is controlled by a python script, a modified version of this.
Takeoff in guided mode, 4 setpoint in a square, land.
As can be seen the setpoint are reached with instabilities in x and y axis, the z axis is always stable.
I don’t know how much of this instabilities are due to some Arducopter parameters that I have to tune better and how much are due to suboptimal position estimation from the aruco marker.
I will investigate further.


KevinG's Autonomous zero-point turn Lawn Mower

$
0
0

I still have some tweaking to do to try and get straighter lines and get the mower back on the path faster. Do you know if I can tune the parameters while on a mission and have it take those parameters without restarting? I was going to let it run a long mission and tweak it while it runs.

Nimbus Tricopter VTOL

$
0
0

Hello, I have yet to translate the manual and the video tutorial in English but I have not had time yet. Excuse me, my English is not very good.

You can also download the backup of my parameters. >> they speak an international language

Let’s see if soon I take time to translate.

Atico from BILBAO

Log database utility

$
0
0

@Georacer v.interesting!
So the Maverick analysis front-end is simply grafana with some custom dashboards, that get written to by a backend python process (mavlogd). Grafana is connected to the backend influxdb database where it gets all of it’s data. influxdb was chosen because it can store non-averaged data down at the nanosecond level.

The main work is parsing the log files and getting the data into influxbd. Once the data is there, you can query it at will with a rich query language as well as through language bindings. You can tag each logfile and then select the data by logfile, vehicle, time etc, which sounds close to what you’re looking for. Here’s the script that translates the log files into influxdb - it uses pymavlink dfreader for the underlying log reading/parsing:

Log database utility

$
0
0

ps - this has been my dilemma for the next step for this project. Tools like plot.dron.ee are cool because there’s essentially no installation needed - it’s all done in the client. However, you’re limited to client-side technology (which is improving by the day) and it’s much more difficult to do large scale analysis across flights/vehicles.
I’ve been trying to think of how to do a tool that will cater to both.

Log database utility

$
0
0

I intended to create specs/structure document to gradually flesh out this log database module, in something like Google docs or Dropbox paper.

Do you have a favourite format for this kind of thought sharing, so that you can see what I have in mind and maybe talk more in-depth?

Test bldc motor

$
0
0

Hi all, I have a project to create quadcopter control model in simulink. First of all, i use arduino to get data IMU and motor, then applied to simulink ( without using mission planner, because lecturer order it). I am using apm 2.5 and firmware arducopter 3.0 to work it.

First, i can read IMU data and now i am work to acces bldc motor but i can’t. I am trying to direct connect esc to port output apm and then connect my lippo batery (3S) to connector xt60 quadcopter. when i’ve done upload a example (AP_test_motor) then i read serial, motor’s aren’t spin. I look tutorial in any source, they are using input device to test it. In this case, i not connect port input apm to rc, because my teacher forbid it. What is lacking or wrong so motor didn’t spin?

thx for answer and suggestion…

Features available in ArduPlane on an Omnibus F4 Pro v3 ...?

$
0
0

Both features work in ArduPlane on that FC.

Kelly


Ardupilog - A DataFlash log to MATLAB converter

$
0
0

Hello everyone!
Almost two years ago, @hunt0r and I needed to parse some ArduPlane logs. We are both on our track to get a PhD in UAV control systems and Matlab is a very common tool in our trade.

Sadly, at the time the only tool able to convert from DataFlash logs (.bin) to a format readable by Matlab was Mission Planner and it didn’t serve our needs well enough. It would work only on Windows, take a very long time to convert and would ignore all text fields.

So, we decided to create our own converter, Ardupilog. It is Matlab-based, meaning that you need Matlab to run it.
It can read all DataFlash logs, since they are self-defining, and create a versatile log object.
You can even “flatten” the log into a classic struct, if you want the information to be independent of our library.

Example Usage

Reading a log

Add the Ardupilog source code to your path.
Then,

log = Ardupilog()

will open a file browser, where you can select the log file you want to decode.
The variable struct log will be generated with the included message types as fields.
Its contents can be normally processed with Matlab commands:
image
image

Filtering messages

You can optionally filter the log file for specific message types:

log_filtered = log.filterMsgs(<msgFilter>)

msgFilter can be:

  • Either a vector of integers, representing the message IDs you want to convert.
  • Or a cell array of strings. Each string is the literal name of the message type.
    image

Slicing

Typically, only a small portion of the flight log is of interest. Ardupilog supports slicing logs to a specific start-end interval. For example, to keep log messages from boot time 1000sec to 2500sec:

sliced_log = log.getSlice([1000, 2500], 'TimeS')

Exporting to plain struct

Creating a more basic struct file, free of the Ardupilog dependency, is possible with:

log_struct = log.getStruct()

log_struct does not need the Ardupilog source code accompanying it to be shared.
image

More information can be found on the repo’s README.

Next Steps

While presently Ardupilog does not receive regular updates, features that we’d like to see supported at some point are:

  1. Support for MAVLink .tlog logs
  2. Incorporation of DataFlash units for messages fields
  3. Interpolation of message field timeseries, where applicable

We hope this little project proves useful to those who need it. :grinning:

How to modify firmware for motors power loss

$
0
0

Thank you for the fast answers. Unfonrtunately, we are not able to find MOT_FAIL_NUM and MOT_FAIL_PCT. Where are they? In the Mission Planner? Because we don’t see where they are supposed to be changed.
In any case, when the test will succeed, we will let you know the results.
Thank you!

Pixhawk Auto Tune not working? Help with a log please! =)

$
0
0

Thank you, didn’t think about that being a better place to post it

Parrot Disco FCU replacement

$
0
0

Hi!, Try to use ardupilot in CHUCK instead of factory supplied software.
Then as a ground station you can use QGroundcontrol. https://docs.qgroundcontrol.com/en/getting_started/download_and_install.html
for Linux. Then connect via wifi to UDP 192.168.42.1.
You can use a USB joystick, gamepad, or virtual joystick.
If the Parrot Disco is armed, it should spin.
You will also need to supply custom parameters, for example from here:
Parrot_Disco.param
https://github.com/ArduPilot/ardupilot/tree/master/Tools/Frame_params/Parrot_Disco
These should be loaded into qgroundcontrol.

Parrot Disco game pad control engine not spinning

$
0
0

@Wieland, Try to use https://docs.qgroundcontrol.com/en/getting_started/download_and_install.html
for Linux. Then connect via wifi to UDP 192.168.42.1.
You can use a USB joystick, gamepad, or virtual joystick.
If the Parrot Disco is armed, it should spin.
You will also need to supply custom parameters, for example from here:
Parrot_Disco.param
https://github.com/ArduPilot/ardupilot/tree/master/Tools/Frame_params/Parrot_Disco
These should be loaded into qgroundcontrol as well as placed on the Parrot Disco internal storage via ftp in the ardupilot directory.

Viewing all 250427 articles
Browse latest View live


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