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

Collision avoidance using monocular vision

$
0
0

@bmatejevich wrote:

Hello all,

I am programming a rover to complete a mission in auto while also performing obstacle avoidance using optical flow. I have a companion computer running a python script calculating optical flow similar to a corridor following method (steer to side with less flow) ,but with a threshold so the rover can take commands form the pixhawk as well, and I want to implement this in my auto driving. The companion computer is running ROS so I am looking for the best method to temporarily override the mission plan with a ‘change heading’ or by creating a new waypoint in a safe direction and then return to the mission. I am new to ROS and MAVLink messages so maybe I am overlooking a very obvious solution here.

Thanks!

Posts: 1

Participants: 1

Read full topic


Fuel flow "battery" on aux pins

$
0
0

@TunaLobster wrote:

Figured this out today and thought someone else might want to use it as well. Setting a BATTx_CURR_PIN to an aux pin (50-55) allows you to use a hall effect fuel flow rate impeller. Some more details are in this commit by @tridge, but everything is working fine. The only thing that isn’t too great is on a CubeBlack 3.9.8 only has 2 battery monitor instances enabled. So this comes at the cost of loosing current sensing from one of the power modules.

Posts: 2

Participants: 2

Read full topic

Trim changes when flight mode changes

$
0
0

@mrivard wrote:

When in manual, I have been setting the proper trim for the aircraft I am using, however when switching into a new mode (like stabilize), the trim on the plane changes and is no longer what it should be. Is there any reason for this or any way that I can alter the trim to be dependent on the flight mode chosen?

Posts: 1

Participants: 1

Read full topic

Logging Error after downgrading from v3.7.0-dev

$
0
0

@rolyexpress wrote:

Hi Guys,

I was running ArduCopter v3.7.0-dev until now for the FrSky Telemetry hack but just recently noticed that it’s not a very safe firmware to run. I then flashed ArduCopter v3.6.9-stable. The copter flies fine but there’s no way to get a working log.

Errors:

  1. Error when trying to review log: “Log Browse will not function correctly without FMT messages in your log. These appear to be missing from your log.”
  2. Sometimes when downloading the logs it marks them as 0KB empty, but when reading the logs directly from SD card they are 1-8MB.
  3. Sometimes when connecting via Mission Planner / USB it gets stuck reading params like STAT_RUNTIME, when hitting ‘cancel’ it still connects to drone.

Troubleshooting:

  1. Formatted current SD card on FAT32, deleted all contents, started fresh
  2. Switched to a new FAT32 formatted SD card
  3. Tested logging while disarmed - this works fine
  4. Tested logging while quick hover test: Log review error -> “Log browse will not func…”
  5. Tested changing log_bitmask parm from 173821 to 830(default).
  6. Tested another standalone Pixhawk, logging on ‘disarmed’ and it logged well.
  7. Tested resetting params to default, loaded old params in and made sure they were all good.

Problem still persists: What could it be? Thanks!

Posts: 1

Participants: 1

Read full topic

Accurate elevations and geoid reference

$
0
0

@mtnsurveyor wrote:

Ucenter is using an averaged egm96 grid only ellipsoid related. This puts my surveyed elevations +/- 7 meters too high and on a skewed plane not relative to level. EGM96 geoid model is +/- 1 foot accurate to geoid 2012 but with the way ucenter averages the height it’s worthless MSL data.

I would like to see Ucenter implement geiod files like other GPS manufactures have but I do not see them moving forward in this direction yet. Is there any way for MP to use geoid files and do the MSL conversion from the elipsoid height? @Michael_Oborne

Posts: 1

Participants: 1

Read full topic

360 degree camera for quad copter

$
0
0

@muhammad.11072 wrote:

hey there!, in my pet project i was wandering to attach a 360 degree camera to my quad copter. Can anyone guide me which camera will be suitable and how to attach to drone.
Thanks in advance :slight_smile:

Posts: 1

Participants: 1

Read full topic

Pixy 2 CMUcam5 Image Sensor - Would it work with PixHawk for precision landing?

$
0
0

@iSkyMaster wrote:

Is this latest Pixy Sensor compatible with PixHawk?

For example IR-Lock.com two part solution for precision landing is comprised of “Pixy R1.3A” and MarkOne Beacon V3.0.

if Pixy 2 is better quality, I would rather use that one.

Has it been tested with PixHawk 2.4.8 and PixHawk 2 (Cube)?

pixy%201

Posts: 1

Participants: 1

Read full topic

How to create multiple drone for sitl


"Compass not healthy" in metal warehouse while trying to use SLAM

$
0
0

@dwiel wrote:

I am trying to provide a SLAM based position and orientation to the drone while operating inside a metal warehouse where the gps and compass do not work. I have disabled the compasses and the compass arming check, but i still receive the following error message when attempting to arm: CRITICAL:autopilot:PreArm: Compass not healthy. Here are some of the relevant parameters:

drone.vehicle.parameters["EK2_GPS_TYPE"] = 3
drone.vehicle.parameters["AHRS_EKF_TYPE"] = 2
drone.vehicle.parameters["EK2_ENABLE"] = 0
drone.vehicle.parameters["EK3_ENABLE"] = 1
drone.vehicle.parameters["GPS_TYPE"] = 0
drone.vehicle.parameters["AHRS_GPS_USE"] = 0
drone.vehicle.parameters["VISO_TYPE"] = 1
drone.vehicle.parameters["COMPASS_USE"] = 0
drone.vehicle.parameters["COMPASS_USE2"] = 0
drone.vehicle.parameters["COMPASS_USE3"] = 0

Is there something I am missing to make sure the drone realizes it doesn’t need the compass since it will be getting that information from the vision system?

I have tried supplying the same information via the MOCAP system as well, but have the exact same issue.

Posts: 3

Participants: 3

Read full topic

Beta uses mavlink 1.0.4.0 while master uses 1.0.2.0

$
0
0

@Corrado_Steri wrote:

@Michael_Oborne
It looks like Beta version already uses mavlink 1.0.4.0 while master uses 1.0.2.0
So if i develop my plugin with 1.0.4.0 than it doesn’t work when i test it with master, if i develop with 1.0.2.0 it doesn’t work with beta.

Maybe i am doing som e mistakes here but shouldn’t master using at least what is in beta and not behind it?

Posts: 1

Participants: 1

Read full topic

Problem with setting up SITL on window

$
0
0

@mingcheng wrote:

Hi, I followed the instructions on http://ardupilot.org/dev/docs/sitl-native-on-windows.html, than proceed to this page, http://ardupilot.org/dev/docs/building-setup-windows-cygwin.html#building-setup-windows-cygwin. Everything goes find but I stuck on “Build with Waf” stage.
When I finish installing waf base on https://waf.io/book/#_getting_the_waf_file, and I install it under C:\cygwin64\home\abc\ardupilot. However, when I key in the lines below into Cygwin(x64)
$ cd ~/ardupilot
$ python waf
the error message is:
Waf: Entering directory /home/abc/ardupilot/build' [1/1] Creating waf -> preparing 'tmp-waf-2.0.18' Waf: Leaving directory/home/abc/ardupilot/build’
Build failed
Traceback (most recent call last):
File “/home/abc/ardupilot/.waf-2.0.18-96675f149f50dab16c9e2e6aaf5e787b/waflib/Task.py”, line 350, in process
ret = self.run()
File “/home/abc/ardupilot/wscript”, line 262, in create_waf
for node in up_node.find_dir(‘waflib’).ant_glob(incl=[’.py’, 'Tools/.py’, ‘extras/*.py’]):
AttributeError: ‘NoneType’ object has no attribute ‘ant_glob’
I am unable to build and I am unable to ./waf configure --board Pixhawk1.
When I tried to type: ./waf configure --board Pixhawk1, I have the feedback below:
waf [commands] [options]

Main commands (example: ./waf build -j4)
build : executes the build
clean : cleans the project
configure: configures the project
dist : makes a tarball for redistributing the sources
distcheck: checks if the project compiles (tarball from ‘dist’)
distclean: removes build folders and data
install : installs the targets on the system
list : lists the targets to execute
step : executes tasks in a step-by-step fashion, for debugging
uninstall: removes the targets installed

Options:
–version show program’s version number and exit
-c COLORS, --color=COLORS
whether to use colors (yes/no/auto) [default: auto]
-j JOBS, --jobs=JOBS amount of parallel jobs (8)
-k, --keep continue despite errors (-kk to try harder)
-v, --verbose verbosity level -v -vv or -vvv [default: 0]
–zones=ZONES debugging zones (task_gen, deps, tasks, etc)
-h, --help show this help message and exit
–make-waf creates the waf script
–interpreter=INTERPRETER
specify the #! line on top of the waf file
–sign make a signed file
–zip-type=ZIP specify the zip type [Allowed values: bz2 gz xz]
–make-batch creates a convenience waf.bat file (done automatically
on win32 systems)
–set-version=SETVER sets the version number for waf releases (for the
maintainer)
–strip shrinks waf (strip docstrings, saves 33kb)
–nostrip no shrinking
–tools=ADD3RDPARTY Comma-separated 3rd party tools to add, eg:
“compat,ocaml” [Default: “compat15”]
–coretools=CORETOOLS
Comma-separated core tools to add, eg: “vala,tex”
[Default: all of them]
–prelude=PRELUDE Code to execute before calling waf
–namesfrom=NAMESFROM
Obtain the file names from a model archive

Configuration options:
-o OUT, --out=OUT build dir for the project
-t TOP, --top=TOP src dir for the project
–prefix=PREFIX installation prefix [default: ‘/usr/local/’]
–bindir=BINDIR bindir
–libdir=LIBDIR libdir

Build and installation options:
-p, --progress -p: progress bar; -pp: ide output
–targets=TARGETS task generators, e.g. “target1,target2”

Step options:
–files=FILES files to process, by regexp, e.g.
/main.c,/test/main.o”

Installation and uninstallation options:
–destdir=DESTDIR installation root [default: ‘’]
-f, --force force file installation
–distcheck-args=ARGS
arguments to pass to distcheck

Python Options:
–nopyc Do not install bytecode compiled .pyc files
(configuration) [Default:install]
–nopyo Do not install optimised compiled .pyo files
(configuration) [Default:install]
–nopycache Do not use pycache directory to install objects
[Default:auto]
–python=PYTHON python binary to be used [Default: /usr/bin/python]
–pythondir=PYTHONDIR
Installation path for python modules (py, platform-
independent .py and .pyc files)
–pythonarchdir=PYTHONARCHDIR
Installation path for python extension (pyext, platform-
dependent .so or .dylib files)
waf: error: no such option: --board

May I know is there any one can help with my problem so that I can get my SITL running on windows, thanks a lot.

Posts: 2

Participants: 1

Read full topic

PIxhawk 2.4.8 Chinese Clone Yaw Drifting

$
0
0

@banjing wrote:

Hello, I would like to ask from you experts please if you have any idea what am I missing? Already completed the calibration process, but upon throttle up my drone is drifting wont steady on hover. Also, the pitch of my Flysky Fsi6 is i think not responding. Please help. The light LED of pixhawk is YELLOW.

Posts: 2

Participants: 2

Read full topic

Pixhawk 2.4.8 Chinese Clone Always calibrating ESC upon armed

$
0
0

@banjing wrote:

Does anyone here experience that I always need to calibrate the ESC in order to arm my quadcopter? Or am i missing something like theres no need to calibrate i just need to on some things like what? Thank you.

Posts: 3

Participants: 3

Read full topic

How to modify route and boundary crossing mark

$
0
0

@QAQshangbuqi wrote:

I came across Mission Planner by chance. It’s great!

I recently wanted to number the routes, but I couldn’t find the code generated by the routes in the software, and the code generated by the intersection of the routes and regional boundaries, and the corresponding tables. It’s very presumptuous to disturb you here. I want to ask you this question. Can you teach me? Thank you very much.

Posts: 1

Participants: 1

Read full topic

Pixhawk Encoder Issue

$
0
0

@copterguy wrote:

Hi,
I have started on a new rover using the Pixhawk 2.4.8. I am using a Fly Sky TH9X with a R9B receiver. I have all of the channels connected. However, I only see channel 1 of the encoder in APM. I have tried various combinations, however, channel one is the only one registers.
Any help would be appreciated!

Posts: 1

Participants: 1

Read full topic


UAvionics ADS-B Integration inside Mission planner

$
0
0

@iSkyMaster wrote:

I think Integration of UAvionics ADS-B inside Mission planner is done on a fly and it is really poorly integrated. I would suggest the following enhancement asap:

  1. Under Mission planner HUD, there should be an option to display ADS-B Title.
  2. Next Display things such as as ADS-B is functioning or its “On”. Right now no one can tell once you are airborne if ADS-B is still functioning and its status or went bad etc. unless there is an aircraft nearby.
  3. Count the number of air craft detected recently within the defined radius.
  4. May be a circle around the UAV, so the pilot can visually see how many aircraft are inside the ADS-B receiving range. Yes, I understand avoidance algorithm is automatic, but have a visual view is always good.

As an operator such information is crucial inside the ground station.

Posts: 1

Participants: 1

Read full topic

Config/Tuning page for Quadplane parameters

$
0
0

@darrell wrote:

Assuming it’s not already there, are there any plans to have a page display for the quadplane config/tuning values like the page that shows these values for forward plane flight?

Thanks for the great work!

Posts: 1

Participants: 1

Read full topic

How to Upload FW 3.2.1 to Pixhawk 2.4.8?

$
0
0

@banjing wrote:

Hello, anybody here in this time able to upload FW Version 3.2.1 to pixhawk 2.4.8? How did you do it? Thank you.

Posts: 1

Participants: 1

Read full topic

PEALSE HELP ME with suddenly twitch in stabilize mode

$
0
0

@XinChengGe wrote:

Hello guys!
I realy really need help with this issue, It’s been a very long time. It’s just suddenly start twitch in the sky, and most time It will recover. During the six months I and done everything I can do. reduce the vibration, replace the propellers, compass, ESC, motors and frame.
Hardware:
FC: pixhawk 2.4.6
ESC: hobbywing skywalker 40A
Motor: Emax 2212 980KV
Propeller: DJI 9450
Frame: S380
Compass: HMC5883 + QMC5883
Here is my crash log
I will stop trying until this problem has been solved.

Posts: 3

Participants: 2

Read full topic

APM 2.6 AC 3.2.1 parachute support

$
0
0

@hosein_gh wrote:

Hi
Is there anyone used parachute with apm 2.8 ?
I want to install parachute on my drone with apm 2.8 and i dont know that it supports parachute or not.

Posts: 1

Participants: 1

Read full topic

Viewing all 46603 articles
Browse latest View live


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