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

NVIDIA Jetson Nano for Pixhawk

$
0
0

@dorukcapraz wrote:

Hello all,

I have a NVIDIA Jetson Nano. I want to use it as autonomus flight controller. Is it possible like Jetson TX1&TX2? At the ‘Companion Computers’ link, there is no information about that. At TX2 Link suggests Jetpack 3.3 but Jetson Nano has Jetpack 4.2 Is it compatible for my purpose?

I’m waiting your helps and opinions…
Thanks in advance…

Posts: 4

Participants: 2

Read full topic


Adding custom flight mode Qgroundcontrol

$
0
0

@AWE_student wrote:

Hello everyone,

i got a custom flight mode, which runs fine in in SITL using jsbsim.
Now i would like to make it seen in QGroundcontrol to use it in a real flight. However i am not succeeding.
I already added the flight mode to the ArduPlane/Parameters.cpp as described here:
http://ardupilot.org/dev/docs/apmcopter-adding-a-new-flight-mode.html

I am probably still missing something. Any hint would be highly appreciated!!!

Thanks a lot in advance and cheers!

Posts: 3

Participants: 2

Read full topic

Rover 3.6 release

$
0
0

@kkarl wrote:

Hi @ all,
have any a Roadmap and a Feature list for the Rover 3.6 ?

Kind Regards
Daniel

Posts: 1

Participants: 1

Read full topic

Catastrophic chrash with 4.5 kg Quadcopter X

$
0
0

@BrunoBagarini wrote:

Hello guys, Bruno from Brazil here.

We were flying a big 4.5kg Quadcopter X with 4 Turnigy G60 500kV and 18x6.5 props for the first time. Something went really bad. All normal calibration and setup was done, nothing changed from PID gains, just the original values that come with ArduCopter.
Some guess on how this turned into a big chrash?
It took off roughly in Loiter mode, started to drift a little but we managed to bring it back. When trying to land we couldan’t.

Do you have any ideas and advice on what to do with our next flight?

log_9_2019-8-15-10-31-38.bin (885.6 KB)

Video: https://youtu.be/SOqYN_seOmk

Posts: 2

Participants: 2

Read full topic

Roadmap Rover 3.6

$
0
0

@kkarl wrote:

Hi @ all,
have any a Roadmap and a Feature list for the Rover 3.6 ?

Kind Regards
Daniel

Posts: 1

Participants: 1

Read full topic

(FALSE) Low Battery Warning - Still have proper voltage

$
0
0

@TexAcoon wrote:

Hello Everyone …
Seems I need some help on the battery management… Seems my drone flies for about 2 to 4 minutes at the max - then battery warning sounds …
Yet my voltage is still at 11.??? volts and wants to land.

Below is what I have on board…

  • Running 2212-970 motors with 30 Amp ESCs …
  • At first I had 5100 11.1 @ 8C battery
    THEN SWAPPED
  • 6000 11.1 @ 50C battery (same amount of flight time as the 5100/8C)

So I have something that I’m missing in my parm setting(s) that does not make any difference on battery capacity ratings causing my fail-safe to kick in and very short flight time.

Chased down topics on the forum and notice where there were some changes in the battery management parms … I too went ahead and selected the following parms on my unit, but have not tested this changes on any flights yet. I would like to see if someone has any additional ideas before I go out again for test => (SHORT 3 min TEST)

I have set the following parms from statements on the forum at:
BATT_CRT_VOLT 3.43
BATT_FS_CRT_ACT 2

Any help would be appreciated …

Thanks
Doug

Posts: 4

Participants: 2

Read full topic

Bi-diractional communication between ArduPilot and an Android device via the transmitter

$
0
0

@r.rakshak wrote:

Note: Not sure if this is the right spot to post this, but I couldn’t think of where else to post it.

I am trying the see if it is possible to establish bi-directional communication between Ardupilot and an Android Device via the transmitter.

To be more specific, I would like an Android device to have access to the telemetry information(like GPS position of the drone, battery voltage, waypoint status etc) that a compatible transmitter would receive from a drone.

And I would like the Android device to send information (Like waypoints, commands like start mission, stop the mission, return home etc) to the drone via the transmitter.

I know there are several posts on the internet hinting at extracting telemetry info from a transmitter onto an android phone using either Bluetooth or USB serial. But I haven’t seen a step by step tutorial anywhere. Has anyone here managed to achieve this? can you help me get started? or send me some links that I can look at to get started?

As for sending info from an Android Device to the drone via the transmitter, is this even possible?

Posts: 1

Participants: 1

Read full topic

Omnibus F4 Pro V2 build by using Zohd Nano Talon

$
0
0

@Nelson_Lee wrote:

Hi all master,

I am new for plane and just bought this ZOHD Nano Talon and Omnibus F4 Pro V2 try to build Arduplane, after flashed the Arduplane v3.9.9 and connect all the wiring and follow the instruction http://ardupilot.org/copter/docs/common-omnibusf4pro.html and V-Tail Plane configuration http://ardupilot.org/plane/docs/guide-vtail-plane.html, then power up to test all servo are working but the SERVO4_FUNCTION 80 right V-tail is no respond.

I wish some expert here give me a guideline to sold this problem.

Best regards,
Nelson

Posts: 1

Participants: 1

Read full topic


Break in latest master CubeOrange

$
0
0

@rbachtell wrote:

I just discovered a break in latest master. CubeBlack compiles without a problem but a CubeOrange compile gives this error:
In file included from …/…/libraries/AP_HAL_ChibiOS/CAN.h:32:0,
from …/…/libraries/AP_HAL_ChibiOS/CANSerialRouter.h:23,
from …/…/libraries/AP_UAVCAN/AP_UAVCAN_SLCAN.h:236,
from …/…/libraries/AP_UAVCAN/AP_UAVCAN_SLCAN.cpp:24:
…/…/libraries/AP_HAL_ChibiOS/CANFDIface.h:178:29: error: ‘virtual uavcan::int16_t ChibiOS_CAN::CanIface::send(const uavcan::CanFrame&, uavcan::MonotonicTime, uavcan::CanIOFlags)’ can be marked override [-Werror=suggest-override]
virtual uavcan::int16_t send(const uavcan::CanFrame& frame, uavcan::MonotonicTime tx_deadline,
^~~~
compilation terminated due to -Wfatal-errors.
cc1plus: some warnings being treated as errors

Thanks,
RB

Posts: 1

Participants: 1

Read full topic

RCInput_RPI.cpp segfault on Ubuntu, mmap call fails

$
0
0

@f_gh wrote:

Hello all,

I have an Erle-brain-2 with a Raspberry pi 3. When I run arducopter on the frambuesa Raspbian, it works fine. But when I run it on Ubuntu 18, it ends up in a segmentation fault. (I prefer Ubuntu 18 for running SLAM packages and development).
The segfault happens in the RCInput_RPI.cpp, in the Memory_table::Memory_table, when mmap is getting called.
I downloaded ardupilot and cross-compiled it, and used the same binary on both raspbian and ubuntu to compare them. (I tried master branch, and also checked out 3.2)

I have mentioned my findings here, anyone any idea why the physical mapping is not working on Ubuntu? What can I do about it?

Thank you to all the contributors.


Here is the gdb result when I run it on Ubuntu:

(gdb) run
Starting program: /home/erle/arducopter 
Cannot parse expression `.L1207 4@r4'.
warning: Probes-based dynamic linker interface failed.
Reverting to original interface.

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Raspberry Pi 3 Model B Rev 1.2. (intern: 2)
[New Thread 0x76cb0450 (LWP 19469)]
[New Thread 0x769ff450 (LWP 19470)]
[New Thread 0x766ff450 (LWP 19471)]
[New Thread 0x763fe450 (LWP 19472)]

Thread 1 "arducopter" received signal SIGSEGV, Segmentation fault.
memset () at ../sysdeps/arm/memset.S:35
35	../sysdeps/arm/memset.S: No such file or directory.
(gdb) bt
#0  memset () at ../sysdeps/arm/memset.S:35
#1  0x000a8b92 in Linux::Memory_table::Memory_table(unsigned int, int) ()
#2  0x000a9228 in Linux::RCInput_RPI::init() ()
#3  0x000a74b8 in HAL_Linux::run(int, char* const*, AP_HAL::HAL::Callbacks*) const ()
#4  0x00013450 in main ()
(gdb) 

I modified the Physical memory mapping code as follow, just adding printf() lines to check the result of the mmap line:

159     // Map physical addresses to virtual memory
160     for (i = 0; i < _page_count; i++) {
161         munmap(_virt_pages[i], PAGE_SIZE);
162         printf("_virt_page[%d] before: %#016llX\n", i, (uint64_t) _virt_pages[i]);
163         _virt_pages[i] = mmap(_virt_pages[i], PAGE_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_FIXED | MAP_NORESERVE | MAP_LOCKED, fdMem, ((uintptr_t)_phys_pages[i] & (version == 1 ? 0xFFFFFFFF : ~
164         printf("_virt_page[%d] after : %#016llX\n", i, (uint64_t) _virt_pages[i]);
165         printf("ERROR --- errno: %d\n", errno);
166         memset(_virt_pages[i], 0xee, PAGE_SIZE);
167     }   

On the Raspbian image, it runs fine and _virt_pages don’t change and there is no error:

Raspberry Pi 3 Model B Rev 1.2. (intern: 2)
_virt_page[0] before: 0X00000076FEF000
_virt_page[0] after : 0X00000076FEF000
ERROR --- errno: 0
_virt_page[1] before: 0X00000076FEE000
_virt_page[1] after : 0X00000076FEE000
ERROR --- errno: 0
_virt_page[2] before: 0X00000076FED000
_virt_page[2] after : 0X00000076FED000
ERROR --- errno: 0
.
.
.
.
_virt_page[59] before: 0X00000076B33000
_virt_page[59] after : 0X00000076B33000
ERROR --- errno: 0
MS5611 found on bus 0 address 0x00
MPU: temp reset IMU[0] 7347 0

But when I run the same on the Ubuntu image, it results in errno = 1, and failing:

Raspberry Pi 3 Model B Rev 1.2. (intern: 2)
_virt_page[0] before: 0X00000076FE7000
_virt_page[0] after : 0XFFFFFFFFFFFFFFFF
ERROR --- errno: 1
Segmentation fault

When I comment the memset call within the loop (line 163 of original code), it runs the loop, but segfaults after that (no surprise!)

Raspberry Pi 3 Model B Rev 1.2. (intern: 2)
_virt_page[0] before: 0X00000076FE9000
_virt_page[0] after : 0XFFFFFFFFFFFFFFFF
ERROR --- errno: 1
_virt_page[1] before: 0X00000076FE8000
_virt_page[1] after : 0XFFFFFFFFFFFFFFFF
ERROR --- errno: 1
_virt_page[2] before: 0X00000076FE7000
_virt_page[2] after : 0XFFFFFFFFFFFFFFFF
ERROR --- errno: 1
.
.
.
_virt_page[59] before: 0X00000076B6C000
_virt_page[59] after : 0XFFFFFFFFFFFFFFFF
ERROR --- errno: 1
Interrupted: Segmentation fault

Posts: 1

Participants: 1

Read full topic

Flight time calculation error!

$
0
0

@EricGamble wrote:

Hey guys, I am returning to Mission Planner but have an issue I cant figure out. The acreage shows correctly, but this is no where near a 47 mile map mission. It shows and 11 hour flight time. I have flown this using other planners and know for a fact this should only take about 14 minutes. What is going on here? Grid flight is set to go 7 MPH. Is there a setting somewhere I can change?

Posts: 3

Participants: 2

Read full topic

Trigger servo on Definite interval

$
0
0

@akhil wrote:

During mission planning i want to trigger extra servo regularly at A certain time interval. If anyone know about the parameter tell me
If provide the video of setup,awesome

Posts: 1

Participants: 1

Read full topic

Effect of Dshot ESC brakes on multi-axis takeoff

$
0
0

@okok wrote:

The effect of Dshot ESC brakes on multi-axis takeoff, slow takeoff will produce short-term jitter

Posts: 1

Participants: 1

Read full topic

Proper ESC Wiring

$
0
0

@kerrycorcoran wrote:

I have the Signal and GND wires plugged into S1 and GND on my Flight Controller. I don’t recall where I saw this, but I made sure I did NOT connect the red wire to the Flight Controller, just the Signal and GND. Can someone help me to understand if that is correct and what is the logic behind it?

Using this Flight Controller. https://www.banggood.com/FuriousFPV-F-35-Lightning-Flight-Controller-AirSpeed-Sensor-GPS-Module-Bluetooth-Module-p-1278861.html?rmmds=search&cur_warehouse=CN

Posts: 1

Participants: 1

Read full topic

New source for waterproof servos, thrusters, and cables/connectors

$
0
0

@Damon wrote:

Hi everyone, this is Damon McMillan, the creator of the solar-powered autonomous boat, SeaCharger. I’m going to make a shameless plug for my new business, Blue Trail Engineering.

As I was building SeaCharger, I was frustrated that I couldn’t buy many of the components that I needed most, in particular a truly waterproof servo, an efficient waterproof thruster, and inexpensive waterproof cables and connectors.

I founded Blue Trail Engineering to meet those needs, and we are now open for business. Please check it out! I’m hopeful that I can make it easier for others to build long-endurance boats like SeaCharger.

Damon McMillan
Blue Trail Engineering

Posts: 1

Participants: 1

Read full topic


Make px4 communicate only with custom gcs

$
0
0

@Naveen_Raj wrote:

how could i create condition such that the firmware connects only with my custom gcs. iam modifying px4 firmware and gcs code side by side and coudnt find any probable answers.

Posts: 7

Participants: 2

Read full topic

Grayed out options on mission planner

How to get time from gps

Spektrum satellite receiver not working with omnibus F4 pro

$
0
0

@Niels_Daemen wrote:

I want to use this spektrum satellite reciever with this Omnibus F4 pro v3

(Both flight controllers have the latest arduplane 3.9.9 OFFICIAL firmware installed)

When I first connected the reciever and tried to bind it using the spektrum bind buttons in mission planner, nothing happened. I also tried connecting the receiver to my pixhawk and tried binding. Again, nothing happened. After many hours of searching the internet for a solution(and not finding it). I decided to upload betaflight firmware onto the F4 pro and tried binding the receiver by using the CLI in betaflight configurator. It worked flawlessly! All channels where recieved properly and shown in betaflight configurator. Then I uploaded the arduplane firmware again. It still didn’t respond to the reciever, no channels recieved. Then I connected the reciever to my pixhawk again, It now did receive all channels properly.

So there are two problems:

  1. Satellite reciever cannot be put into binding mode by pixhawk
  2. Satellite reciever does seem to communicate at all with F4 pro

These must be pure software problems as everyting works fine with the betaflight firmware.

Please tell me if there is anything I can try because, if I can’t get ardupilot to work with this hardware I will have to start using betaflight.

Posts: 1

Participants: 1

Read full topic

Use Arduplane as EFIS in experimental or UL manned aviation

$
0
0

@flightzoomer wrote:

There was a thread some years ago, asking whether a Pixhawk could be used in a real airplane.

I can perfectly understand, why the feedback from the Ardupilot community was negative. But there is a big but. The guy asked to use the pixhawk as autopilot. But how about…

  • using Arduplane (+ a GCS) as an Instrument only?
  • use it strictly only for one of the unregulated aircraft classes (like UL or CFR Part 103 which actually have less regulatory obligations than drones, they e.g. don’t need to be registered and the pilot does not need any license). These aircrafts typically have little to no avionics requirements, their systems neither need to be certified nor to comply with any standard.
  • There is e.g. this page, https://experimentalavionics.com/ where people are building open source avionics by themselves, which could easily build as reliable, cheap and functional with a pixhawk as data source and a nice adopted GCS.

What do you guys think?

A bit of background
I am the developer of the GCS FlightZoomer (the one which looks like the cockpit of a real aircraft). Two times I was asked, to build a version, which would be suitable as EFIS (Electronic Flight Instrument System) for UL aircraft. My concerns, that were the same as yours in the linked thread, were answered by the reasons mentioned above.

What would the supposed system architecture look like?
Arduplane and the Pixhawk would play the role of a GPS+AHRS sensor box, e.g. like this AHRS module. Or the SP-X modules which are used in combination with a proprietory (and much more expensive!) EFIS system.

As the use case looks pretty compelling from my perspective (and could potentially be a large new opportunity for Ardupilot), I have started to answer one of the requests and am currently building a EFIS, which is fed with data from a Pixhawk.

To give an impression of the EFIS, here are two screenshots:


Posts: 1

Participants: 1

Read full topic

Viewing all 46537 articles
Browse latest View live


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