Quantcast
Channel: Pixhawk - Discussion Forum for PX4, Pixhawk, QGroundControl, MAVSDK, MAVLink
Viewing all 859 articles
Browse latest View live

Limited Servo/RPM Range in 'Stabilized' Flight Mode

$
0
0

@FlyingHook wrote:

Hello PX community,

i am currently working on a project called the “Flying Hook” at a large aircraft company. It is a self-stabilizing augmentation system for hoist/longline operations on Helicopters. Basically a chubby looking drone-ish thing getting attached to the end of your rope.
Its no plane and no drone/heli setup as commonly used, so it has its own unique challenges :wink:

Nevertheless, one of the issues i have is that when i switch from “manual” to “stabilized” mode, the PX somehow limits the range of RPM i can use on my motors/engines.
I understand that this is to ensure that the controller always has reserves in both directions to stabilize, but the amount that gets blocked is just too much for our purposes, since its greatly reduces the area in which our vehicle can move.

is there a way to modify this limit?

Thank you all in advance and have a great day!

Posts: 1

Participants: 1

Read full topic


"//github.com/ArduPilot" or "// github .com / PX4 / Firmware "

$
0
0

@kaoch wrote:

I buy a Pixhawk4 flight controller, and am preparing to develop a new body, but I use “QGroundControl” to find that the firmware version is 3.6.11, so I don’t know if I should download “//github.com/ArduPilot” or "/ /github.com/PX4/Firmware ", can anyone tell me how to choose?

Posts: 2

Participants: 2

Read full topic

OSD configuration issue

$
0
0

@Tony_f wrote:

Looking for help with osd config using a pixhawk FC
Getting a bootloader communication error on my pc
And a “waiting for osd “ error when using my Mac
Need some help
Thanks

Posts: 1

Participants: 1

Read full topic

Connecting a pixhawk 2.4.8 to Nvidia Jetson Nano

$
0
0

@atmadeep wrote:

Hi, I’m making an autonomous drone using Nvidia Jetson Nano as onboard computer. I have the FC connected to GPIO pins (J41 pins) 8 and 10. But I don’t see any change in lsusb.
The rx-tx pair is named /dev/ttyTHS1. This setup is similar to raspberry pi setup (which I’ve never done!).

Posts: 1

Participants: 1

Read full topic

Cal_air_cmodel

KDE ESC calibration

$
0
0

@Tulip wrote:

Dear Comunity,
My setup:
PX4 Black Cube
KDE ESC
KDE Motors
Futaba T8FG
Firmware: 1.9.2 PX4
Frame: quad
How to calibrate KDE ESC? In arducopter no problems with calibration (OneShot, PWM_MIN PWM_MAX)

PX4 flightstack my settings:
Radio calibrated rc_min =1094us rc_max=1934us rc_trim=1515us
PWM_RATE=400
PWM_MIN=1100
PWM_MAX=1940
PWM_DISARMED=900
Fresh firmware in ESC with recommended range 1100 -1940
But after calibration 2 motors spin faster than the other 2 and all motors do not give full thrust

Posts: 1

Participants: 1

Read full topic

Here+ external compass not started

Unable to connect to remote vehicle through siK radio telemetry

$
0
0

@kvmanohar22 wrote:

I have completely setup my pixhawk. By manually connecting through usb cable, I have compelted calibration of the vehicle. Now I would like to communicate with remote vehicle through QGC using radio control. I have upgraded the firmware of SiK Radio telemetry. But I am unable to establish connection with pixhawk through SiK radio control. Any help will be greatly appreciated.

Posts: 1

Participants: 1

Read full topic


Pixhawk and 4G telemetry

$
0
0

@kpihus wrote:

Hi,

Since i have one Raspberry Pi Zero waiting for purpose of life, then i was thinking why not to use it with 4G telemetry.

As I understand at Raspberry, I can use for example mavlink-router to fetch info from pixhawk and expose it to the public interface of 4g stick.

But how to fetch it with qgroundcontrol? As far as i know, i can not force QGC to connect to some specific ip address. Should i use for example mavproxy to fetch mavlink packets from the drone and then proxy this information to localhost where QGC knows to look this information?


Kpihus

Posts: 2

Participants: 2

Read full topic

Pixhawk and RunCam TX200U

$
0
0

@Nostalgia wrote:

Hi all,

I recently hooked up my RunCam 2 as an FPV, but I can’t understand where on the Pixhawk the green wire should go that’s on this diagram. It’s supposed to control power to the camera. I have a 2.6.8 and can’t identify the ‘TX4’ pin…

Should I set up telemetry before I do this, or can I just connect this to the flight controller and then associate a switch on the remote control to it?

Posts: 1

Participants: 1

Read full topic

Read throttle setpoint, actuator setpoints and Euler angle setpoints used in fixed-wing controllers?

$
0
0

@apoissant95 wrote:

I want to read the throtttle, actuator and Euler angle setpoints used in the fixed-wing position and attitude controller seen on the PX4 controller diagrams. I need these values to perform real-time stability and controllability analysiss of the UAV. How can I obtain these values? Would I use a MAVLink Mesaage?

Posts: 1

Participants: 1

Read full topic

PixHawk4 compatible Heated Pitot Static Tube

$
0
0

@Ayesha wrote:

I am looking for Heated Pitot Static Tube that is compatible with PixHawk4.Please advise any suggestions or trials that has been done with PX4 for Heated pitot tube

Posts: 1

Participants: 1

Read full topic

FMUv3 issue with pixhawk 2.4.8

Hardfault when trying to read ADC sensor on pixhawk 4

$
0
0

@michmich wrote:

Hi guys,

I connected a sensor to one ADC line, and I m trying to read the value in one of the rover control px4 app.
I have a pixhawk 4.

Here is my code:
In RoverPositionControl.hpp

private:
....
int		_adc_report_sub{-1};		/**< adc report subscription */

orb_advert_t *mavlink_log_pub;//to pusblish critical alert to qgc
int		_adc_report_sub{-1};		/**< adc report subscription */
adc_report_s			_adc_report {};	/**< adc report status */

struct {
.......
	float leak_v; /**< Voltage threshold to detect leak on adc 3v3 */
} _parameters{};			/**< local copies of interesting parameters */

struct {
	.....
	param_t leak_v;
} _parameter_handles{};		/**< handles for interesting parameters */

	void		adc_report_poll();

In RoverPositionControl.cpp
In the constructor
_parameter_handles.leak_v = param_find(“LEAK_VOLT”);

 void RoverControl::adc_report_poll()
    {
    /* check if there is a new message */
    bool updated;
    orb_check(_adc_report_sub, &updated);

    if (updated) {
    	orb_copy(ORB_ID(adc_report), _adc_report_sub, &_adc_report);
    }
 }

In the RoverPositionControl::run()

adc_report_poll();//polling the adc to check on 3v input
float thresholdLeakVoltage = _parameters.leak_v;  

while (!should_exit()) { 
....
adc_report_poll()
const unsigned adc_chans = sizeof(_adc_report.channel_id) / sizeof(_adc_report.channel_id[0]);
		for (unsigned i = 0; i < adc_chans; i++) 
		{
			if (_adc_report.channel_id[i] == 4 ) //3v3 adc in
			{
				if (_adc_report.channel_value[i] > thresholdLeakVoltage) 
				{
						printf("ALERT");
						mavlink_log_critical(mavlink_log_pub, "ALERT ");
				}
			}
		}
....
}

It crahes as soon as I exceed the threshold set above, but not systematically

Here is the error I have:

WARN [load_mon] wq:hp_default low on stack! (284 bytes left)
INFO [ecl/EKF] EKF aligned, (pressure height, IMU buf: 22, OBS buf: 14)
WAup_hardfault: Hard Fault:
up_hardfault: IRQ: 3 regs: 0x20030824
up_hardfault: BASEPRI: 000000f0 PRIMASK: 00000000 IPSR: 00000003 CONTROL: 00000000
up_hardfault: CFAULTS: 00008200 HFAULTS: 40000000 DFAULTS: 00000000 BFAULTADDR: 0da6ff00 AFAULTS: 00000000
up_hardfault: PANIC!!! Hard fault: 40000000
up_assert: Assertion failed at file:armv7-m/up_hardfault.c line: 148 task: rover_pos_ctrl
up_registerdump: R0: 00000013 081583de 20030908 081583df 0da6ff00 081583cb 20030f78 081583cb
up_registerdump: R8: 43c80000 20030f40 00000001 08140b64 080214ef 200308f8 0801409b 08129614
up_registerdump: xPSR: 61000000 BASEPRI: 000000f0 CONTROL: 00000000
up_registerdump: EXC_RETURN: ffffffe9
up_dumpstate: sp: 20021398
up_dumpstate: IRQ stack:
up_dumpstate: base: 20021400
up_dumpstate: size: 00000200
up_dumpstate: used: 00000158
up_stackdump: 20021380: 00000000 20030a78 20021398 20021400 0000068c 08009b09 000000f0 00000000
up_stackdump: 200213a0: 08140b64 080214ef 200308f8 0801409b 08129614 200213c0 08009645 00000003
up_stackdump: 200213c0: 08140b64 0800964d 40000000 00000000 0da6ff00 00000000 20021400 0800b327
up_stackdump: 200213e0: 000000f0 08008371 000000f0 20030824 081583cb 20030f78 081583cb 08008237
up_dumpstate: sp: 200308f8
up_dumpstate: User stack:
up_dumpstate: base: 20030a78
up_dumpstate: size: 0000068c
up_dumpstate: used: 000003f8
up_stackdump: 200308e0: 3eaaada5 3a83126f 3f800000 00000000 80000010 08129615 00000000 20030954
up_stackdump: 20030900: 00a5ee4f 00000000 52454c41 4f502054 42495353 4c20454c 004b4145 0801730d
up_stackdump: 20030920: 0000000e 2002e074 00000050 081995f0 20030f60 0001731d 080295f0 20030aa0
up_stackdump: 20030940: 20030f6a 20030aa0 20030f6a 080864f1 081583cb 200308b0 20004cf0 00000000
up_stackdump: 20030960: 00000038 200311b0 00000000 3d8d7ebc 3cbb8d4b 3de4f6b7 00000000 00000000
up_stackdump: 20030980: 00000000 00000000 00000000 00000000 3d8d7ebc 3cbb8d4b 3de4f6b7 00000000
up_stackdump: 200309a0: 3f7f6fc3 3d0a9e62 3c5ac19a 3d63137d 3f7e55cb bde0b9bd 3cf90399 3de46d5b
up_stackdump: 200309c0: 3f7dd70b bd87481f bcbb8919 3d8d5871 3f7f5285 000001c7 0000000c 0813e59d
up_stackdump: 200309e0: 00000000 00000004 00000001 00000000 00000000 2002dfd4 00000006 00000001
up_stackdump: 20030a00: 08158518 00000000 2002dff4 00000009 08150101 081a44e4 00000000 2002e024
up_stackdump: 20030a20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 20026fe4
up_stackdump: 20030a40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 08085e15
up_stackdump: 20030a60: 08085df5 2002dd90 00000000 0800c2f5 00000000 00000000 deadbeef 20030a84
up_taskdump: Idle Task: PID=0 Stack Used=0 of 0
up_taskdump: hpwork: PID=1 Stack Used=344 of 1260
up_taskdump: lpwork: PID=2 Stack Used=604 of 1516
up_taskdump: init: PID=3 Stack Used=2032 of 2604
up_taskdump: wq:manager: PID=4 Stack Used=384 of 1252
up_taskdump: sensors: PID=197 Stack Used=1456 of 1964
up_taskdump: wq:att_pos_ctrl: PID=198 Stack Used=4768 of 6596
up_taskdump: wq:I2C3: PID=167 Stack Used=820 of 1244
up_taskdump: mavlink_rcv_if1: PID=392 Stack Used=2520 of 3916
up_taskdump: wq:SPI4: PID=169 Stack Used=600 of 1396
up_taskdump: commander: PID=202 Stack Used=1944 of 3212
up_taskdump: wq:rate_ctrl: PID=203 Stack Used=984 of 1596
up_taskdump: commander_low_prio: PID=204 Stack Used=560 of 2996
up_taskdump: rover_pos_ctrl: PID=623 Stack Used=1016 of 1676
up_taskdump: px4io: PID=432 Stack Used=1048 of 1484
up_taskdump: uavcan: PID=209 Stack Used=1624 of 2380
up_taskdump: log_writer_file: PID=722 Stack Used=368 of 1164
up_taskdump: dataman: PID=19 Stack Used=752 of 1180
up_taskdump: wq:SPI1: PID=148 Stack Used=1040 of 1396
up_taskdump: wq:lp_default: PID=22 Stack Used=992 of 1700
up_taskdump: navigator: PID=632 Stack Used=896 of 1764
up_taskdump: mavlink_if0: PID=217 Stack Used=1760 of 2572
up_taskdump: wq:I2C1: PID=26 Stack Used=864 of 1244
up_taskdump: mavlink_rcv_if0: PID=219 Stack Used=2616 of 3916
up_taskdump: logger: PID=700 Stack Used=1240 of 3644
up_taskdump: gps: PID=317 Stack Used=1144 of 1620
up_taskdump: wq:hp_default: PID=30 Stack Used=1216 of 1500

Thanks

Posts: 2

Participants: 2

Read full topic

Dshot protocol on pixhawk cube black

$
0
0

@nadav122 wrote:

hii,
I’m trying to set protocol Dshot on my pixhawk cube black.
after stting SYS_USE_IO=0, DSHOT_CONFIG=1200 and moving the ESCs from the MAIN ports to the AUX ports.
I’m lossing conection with the radio controller (i’m using R-XSR reciver).
error “Detected 0 radio channels. To operate PX4, you need at least 5 channeles”

Posts: 7

Participants: 3

Read full topic


PIXHAWK - ArduRover

$
0
0

@Shik238 wrote:

Hi all,
I am currently working on a project where i am using pixhawk hardware with ArduRover stack. As transmitter i am using FlySky Noble NB4 transmitter and flysky FGr4 receiver from which I am using only two channels on the receiver (1 & 2) where CH1 is connected to 1st wire & CH2 to 3rd wire on PPM Encoder.
With skid steering on both motors are spinning when i press the throttle(channel 2) which is fine. But when i simultaneously operate the steering their is no change in any of the motor speed (As it should work with skid steering vehicle). I would really appreciate help on this. Thanks in advance.

Posts: 5

Participants: 3

Read full topic

2 servos move when i move roll or yaw on my radio i am using QGC (BEGINNER

$
0
0

@Kimmy_Yimmel wrote:

i have my 2 servos connected to aux 2 and 4 but when i move roll or yaw they both move at the same time. i am using QGC and as i am a beginner and there is SOOO much random info out there i am completly lost.

Posts: 1

Participants: 1

Read full topic

Connector Pixhawk 4 GPS module does not match the connector of my PX4

$
0
0

@MarcP wrote:

Hi, I recently bought a PX 4 flight controller with a Pixhawk 4 GPS module. Unfortunately the connectors don’t match. Is there some kind of workaround?

Many thanks Marc

Posts: 1

Participants: 1

Read full topic

PX4 Analog to Digital Converter

$
0
0

@FalcioneE wrote:

I am new to using the Pixhawk, and I would like to provide the PX4 with a windspeed input via the ADC, and I have several questions.

Where can I find a pinout for this connector?

What is the maximum input voltage?

Also, how much current is drawn from the analog inputs?

Posts: 1

Participants: 1

Read full topic

PX4 Power Management Board

Viewing all 859 articles
Browse latest View live