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

Flight simulation with Mission Planner and RealFlight 9 on two computers

$
0
0

@YumaMike wrote:

I’m a newbe to this programming the Simulator firmware in Arducopter. My first question is, can you change the TCIP addressing so I can use two computers for Flight Simulation? I have been using one computer for Mission Planner windowed with Realflight 9 for some time now and want to setup one computer for Mission Planner and another computer for RealFlight 9 display. My second question pertains to what or how can you IP and PORT select for the two computers? Address 127.0.0.1 works for both the Mission Planner and RealFlight 9 software packages to run on one/same computer. My desktop computer IP address is 192.168.0.3 running Mission Planner and my Laptop addtess is 192.168.0.11 running RealFlight 9. I can PORT each computer without problems.

I have been looking through all the documents on the WEB pertaining to ArduPilot and in particular the ArduCopter Flightaxis setup. Any help or suggestions would be helpful, thanks, YumaMike

Posts: 1

Participants: 1

Read full topic


ESC Telemetry Options

$
0
0

@lowlyelevated wrote:

Hi all, I was hoping to gather some information on ESC options, as the existing documentation isn’t entirely clear.
I’m hoping to have ESC telemetry on some of my builds, and want to explore the different options on what I can use to get that.
I know that BLHeli32 ESCs are an option at the moment, but what else is there?
UAVCan, KDECan, and ToshibaCan all have support for feedback on the ESC end, but I can’t seem to find any info on it on the ardupilot end. Has any of this been implemented?
In addition, Spektrum has recently released a line of ESCs using SRXL2 telemetry feedback. Seeing as Spektrum has also released code for implementing SRXL2, are there any plans to implement this in Ardupilot?
Thanks in advance for the help.

Posts: 1

Participants: 1

Read full topic

Failsafe and servo settings

$
0
0

@Mogway28 wrote:

Hi,
is there simple way to set servo on aux when failsafe is activated?
When SBUS is in use and failsafe ocure for ex. aux is set for ch 10 to 14 for gimbal movement, it would be great to set chanels to set gimbal straight foreward.
It could be something else then gimbal that it should be set when FS - for safety reason.
FS delay for copter would be also usefull thing.

Posts: 2

Participants: 2

Read full topic

Need Help On Analyzing What Cause the Crash!

$
0
0

@banjing wrote:

Hi Experts, needing your assistance please on checking what causes the crash last day.

I saw Flight Mode Change Failed, but i need further details.

Scenario was: I was manually operating the Drone, pixhawk F450 frame, in ALTHOLD, armed it then push the throttle up. It stay for a few second, then suddenly crashes.

Heres the log:

Posts: 1

Participants: 1

Read full topic

Where in the code do the flaps get managed...?

$
0
0

@Andrew_Rabbitt wrote:

I’m trawling through the code to figure out how the flap control works but I can’t find a mention of it anywhere despite my lousiest of grep searches. Can anyone wiser than me point it out please?

Grateful from Gateshead.

Posts: 3

Participants: 2

Read full topic

Motor speeds keep increasing

$
0
0

@copter wrote:

I have a hexarotor(Tarot X6) with a pixhawk FC. In my first flight in stabilize mode and had the following issues

  1. When the motors are armed and while the throttle is kept constant(drone still on the ground) the motor speeds keep increasing. When I checked the servo output from the mission planner, the pwm values for some motors(Not all) keeps gradually increasing.

  2. While flying, it takes some time for the drone to respond to the transmitter. Is this a radio problem or a problem with my esc

  3. Some motors spin faster than other motors while on the ground

Posts: 7

Participants: 4

Read full topic

Antenna tracker mechanism from AT homepage?

Gimbal limits with SToRM32 backend (MAVLink) not applied correctly?

$
0
0

@VDLJu wrote:

Hi,

I’m having trouble with a MAVLink controlled gimbal (basecamelectronics firmware) with AC4.0 where the applied angle commands from RC are limited to a wrong range. Same setup works well on AC3.6.12.

The parameters are following:
MTN_ANGMIN_TILT = -9000 (-90 degrees)
MTN_ANGMAX_TILT = 1000 (+10 degrees)
MNT_NEUTRAL_X = 0
MNT_NEUTRAL_Y = 0
MNT_NEUTRAL_Z = 0

Software limits on gimbal:
Tilt axis low: -90 degrees
Tilt axis high: +15degrees

On 3.6.X the gimbal works like expected with these settings mentioned above. On tilt axis, it can point -90 degrees down and +10 degrees up.

On 4.0 the gimbal range is limited to -90 deg to -40 deg with these same settings. Note that I don’t know if the autopilot is commanding angles lower than -90 deg as it is limited by the gimbal software and hardware.

Using MTN_ANGMAX_TILT = 11000 (+110 degrees) and MTN_ANGMIN_TILT = -9000 (-90 degrees) gives the wanted control range of -90 to +10 degrees.

Posts: 3

Participants: 1

Read full topic


Position Horizontal Variance error with Vicon system

$
0
0

@nevangeliou wrote:

Hi all,

I am using a Vicon indoor positioning system as a positioning feedback for my quad, equipped with Pixhawk 1 (3DR) and ArduCopter 4.0 (parameters attached). In general I am following the indoor positioning setup discussed in https://discuss.ardupilot.org/t/position-hold-with-vision-position-estimate-and-att-pos-mocap-for-indoor-localization/29626/40 over mavros middleware. The pose message from /vrpn_client_node/quad/pose is fed to topic /mavros/vision_pose/pose at 10Hz and I get the “GPS glitch” and the “EKF using external nav data” messages.

Finally, I set the SET_GPS_GLOBAL_ORIGIN and SET_HOME_POSITION using https://github.com/thien94/vision_to_mavros/blob/master/scripts/set_origin.py.

The drone green trace is depicted in Mission Planner and the EKF status is the one in image [2]:

Now the problem is that after 2-5 seconds the position variance is zeroed in the EKF and the pos_horiz_abs parameter switches to off as in image [3]. From that point I am unable to switch POS_HOLD mode:

The problem occurs randomly in 8 out of 10 position hold attempts, whereas in 2 out of 10 I can switch to POS_HOLD mode and fly normally. I experimented with the EXTNAV_DELAY parameter but I don’t seem to get a definite solution for this. Any suggestions would be appreciated.

Thank you in advance,
Nikolas
params.param (17.2 KB)

Posts: 1

Participants: 1

Read full topic

Hereflow sensor test

$
0
0

@MartyMcFly wrote:

Hi I just done my 1st test of the Hex HereFlow,it was good except when I switch to optiflow the quad was really nervous for about 15/20 secs then settle down nice and held position well this was over gras at about head height with a lidar fitted

Posts: 1

Participants: 1

Read full topic

Pixhawk with jumper R8 and FrSky telemetry passthroug not work

$
0
0

@atila666 wrote:

Hi,
I can’t get telemetry from the pix in yaapu widget,
Does anyone have it working and can you help me?

-Receiver is Jumper R8
-Horus transmitter with opentx version 2.3.4 with the yaapu version1.8.1 widget
-pixhawk 2.4.8

Yaapu I used this guide https://github.com/yaapu/FrskyTelemetryScript/wiki/How-to-run-the-Yaapu-script-on-X10-and-X12-as-a-Widget#how-to-access-the-script-configuration-menu-while-in-widget-mode.

The jumper R8 receiver is linked to the station

In the ardupilot I tried
SERIAL2_BAUD 57
SERIAL2_OPTIONS 0, 4, 7
SERIAL2_PROTOCOL 10

The connection between pix and the jumper R8 receiver is direct like here: https://www.jumper.xyz/portal.php?mod=view&aid=21

Thanks

Posts: 1

Participants: 1

Read full topic

ALThold strange behaviour

$
0
0

@Erfan_Jamshidi wrote:

Hello,
I have a copter with following details.
the firmware is fmv3 , pixhawk.
DJIF550 , motor 2312 E , ESC 420 Lite
when I FLOW IN stabilize it was fine , but switching to althold mode the copter landed automatically (without changing any throttle) then I switch to auto land to be sure it is landed .

I don’t understand why in ALThold it started to land suddenly?

here is a log 76 23-01-2020 13-46-32.bin (267.7 KB)

Posts: 1

Participants: 1

Read full topic

Poor Yaw authority - 22" 12kg X8 Copter

$
0
0

@PatrickS wrote:

Hello,

We have a 22" X8 Copter with 12kg AUW and Arducopter 3.6.11 installed on it.

Motor: Tmotor MN501-S / 240kv
ESC: Tmotor Air 40A
Propeller: MF2211L
Battery: 2x 6S 16Ah in parallel

In the last days we have tried everything to make it fly smooth (main purpose is taking photos while cruising around in automission with 5m/s) but could not get yaw to work right.

I am happy with roll, pitch and the throttle management but if there is something to improve I would also try it out.

But the main problem is the yaw axis - it often feels sluggish, far from “locked in” and sometimes just does not turn at all - or even worse - turns in the opposit direction!
This does not happen if there is no wind but starts at very little wind speeds like 3m/s.

We made a flight to produce a logfile showing the problem good at 16:33:08 just before switching back to loiter mode for gaining control over the copter.
By comparing desired yaw vs. actual yaw you can see that it is not turning at all but even turns a little bit in the opposite direction.
Motor 6 just sits at idle for more than 10 seconds while this happens.
Also other motors are close to idle speed over that time.

I am wondering if it could be the weight/thrust ratio causing the issue (because it cant get enough torque to turn without gaining altitude)?

We tried almost everything that would affect Yaw Performance (P,I,D, yaw headroom, accelaration, rate, slew rate for automissions, etc.) and thats the best we could find…

A photo and the Parameter file are attached, the log file is uploaded to dropbox because it is to big - link attached.

We would really appreciate any help from you guys!
If there is something important that i did not mentioned please let me know.

best regards
Patrick


QX8_230120_2.param (14.7 KB)

Posts: 3

Participants: 3

Read full topic

Auto modes turns my motor off on bench test.

$
0
0

@Nihal_y wrote:

Recently I crashed my fixed wing.The motor was not spinning and I crashed my plane as I lost RC receiver mid flight. The throttle failsafe was set to RTL.
I am doing a bench test on my fixed wing for the fail safe.
But the motor shuts down if it loses RC connection. I understand that this is done on purpose in the previous versions for safety but even if I have modes like Cruise, Loiter, RTL etc on my switch and I try shifting to that the motor cuts down immediately. What might be the reason for this?
If these modes are not working on bench, how will I be sure that I won’t crash if it loses RC receiver again? How will I be sure that RC Failsafe is working?

I am attaching my flight log, any sort of help will be appreciate.
Thanks in advance.
Nihal Y.

Posts: 1

Participants: 1

Read full topic

Oneshot125/42 blhelis

$
0
0

@MarcK wrote:

Hi.
I wanted to ask when the oneshot 125 will be repaired because it hasn’t been working in the arducopter for some time. I understand that blheli32 offers 48khz engine timing which leads to increased performance, and blhelis are impossible with dshot on the arducopter … But now many blhelis controllers have the ability to upload firmware e.g. through the JESC configurator which also offer firmware with 48khz timing for blhelis and old controllers can be used with oneshot 125 or 42, oneshot 125/42 will certainly be faster and will not filter with signal delay, and 48khz timing will give less power consumption.
Regards

Posts: 8

Participants: 3

Read full topic


How do I log an enhancement request for NeoPixel Integration?

$
0
0

@Taipan wrote:

I don’t want to “open a can of worms” with a flood of enhancement requests, but I would like to request two small enhancements to the NeoPixel Integration:

  1. A parameter to select the number of NeoPixels connected to the output (this enhancement may be already implemented?).

  2. A parameter to select the colour sequence as either RGB or GRB or RGBW.

Could someone please advise me how I log an enhancement request?

Posts: 1

Participants: 1

Read full topic

[Errno 111] Connection refused sleeping

$
0
0

@pscg wrote:

I’m getting this error on Ubuntu 18.04 running ArduPlane with sim_vehicle.py when the script tries to connect to the tcp for mavproxy

However I’m only getting it on one user. When it works for one user, it looks like this, before continuing successfully:

Connect tcp:127.0.0.1:5760 source_system=255
Failed to load module: No module named adsb. Use ‘set moddebug 3’ in the MAVProxy console to enable traceback
Log Directory:
Telemetry log: mav.tlog
MAV> Waiting for heartbeat from tcp:127.0.0.1:5760

However, running the same commands as another user (the folder with all the python has open wx privileges), it throws an error when trying to hit that tcp, like this, before crashing:

Connect tcp:127.0.0.1:5760 source_system=255
[Errno 111] Connection refused sleeping
[Errno 111] Connection refused sleeping
Failed to connect to tcp:127.0.0.1:5760 : [Errno 111] Connection refused
SIM_VEHICLE: MAVProxy exited
SIM_VEHICLE: Killing tasks

Any ideas what’s up?

Posts: 1

Participants: 1

Read full topic

I need help Auto flight does not work

$
0
0

@Smith wrote:

Hi guys.
I installed two tfmini plus in the pixhawk 4 on the hexacopter, forward and downward. Changed “PRX_TYPE” from 0 to 4 Ranger Finder to activate the sensor. Oaths work well. But there is a problem.
Automatic flight is not possible with “PRX_TYPE” 4.
Do not perform the next mission because you have climbed to the starting altitude of Mission WP1.
Change “PRX_TYPE” to 0 to enable automatic flight.
But the sensors don’t work at all.
What’s the matter?
The log file is linked below.
I need your help.
Thank you.

Posts: 1

Participants: 1

Read full topic

Pixhawk CUBE 2 Getting Hot/Burnt?

$
0
0

@woosal wrote:

Guys, yesterday after many successful flights I have decided to take another one, and device smoked a little bit, but I was not sure as Raspberry, my Laptop 2 different batteries were connected to the device, so I was not sure which one was the cause. Today, I have been trying to connect to the Pixhawk Cube 2 with my laptop, with another one, whether it is Mission Planner or QGroundControl, I have a port problem saying it can not connect it. I have tried different ports, AUTO Connection, however, the result is the same. Can it be the reason of my CUBE 2 was burnt out?

Posts: 1

Participants: 1

Read full topic

Connection of two LiPos

$
0
0

@xfly wrote:

Hi all,

I want to use two LiPos on my copter to increase flight time and ensure some backup. According to forum posts many simply connect two batteries in parallel. However, this does not seem to be a good idea since you always have to ensure that both batteries are almost equally charged and none of them can fail. I was thinking about some approach using diodes but then recuperation currents can not be fed back to the batteries.
Any thoughts on this? In your opinion, what is the best approach for the connection of two batteries?

Thanks in advance.

Posts: 2

Participants: 2

Read full topic

Viewing all 46470 articles
Browse latest View live


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