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

Two rangefinders with hereflow not working

$
0
0

@Idan_Fiksel wrote:

I recently got the Hereflow sensor to do GPS-less navigation. Since the lidar on the module is only good for 2m I added an LW20 as a secondary lidar. When I connected it and set the parameters as noted in the wiki, it didn’t work. I tried multiple combinations and it seems like you only can use one rangefinder with the optical flow, not both. I can, however, use both rangefinders at the same time without optical flow.

I’m using the pixhawk4. HereFlow uses the CAN1 bus and the LW20 is connected to the I2CA.

Params:
LW20:
RNGFND1_TYPE = 7
RNGFND1_ADDR = 102
RNGFND1_SCALING = 1
RNGFND1_MIN_CM = 5
RNGFND1_MAX_CM = 9500
RNGFND1_GNDCLEAR = 18

HereFlow:
FLOW_TYPE = 6
CAN_P1_DRIVER = 1
CAN_D1_PROTOCOL = 1
RNGFND1_TYPE = 24
RNGFND1_MAX_CM = 300

Can someone explain why this is as well as a fix?

Posts: 1

Participants: 1

Read full topic


The servo of AR WING can't get right trim value in arduplan 4.0

$
0
0

@xingxing wrote:

My ARWING can’t get the right trim pwm output in arduplane4.0,please see the attached pictures.all the sticks has put on center.but the servo output keep on lowest pwm value with trim at 1500,I flash the firmware back to arduplane3.9.9,it works fine now,I guess this an issue above firmware4.0

Posts: 1

Participants: 1

Read full topic

What in DataFlash logs can indicate a sun storm?

$
0
0

@Jaaaky wrote:

I’ve an incident where two planes suddenly lost attitude almost when reaching the same coordinates. I really doubt some electromagnetic jamming - sun storm? - they were flying same mission but few minutes delay between both, both suddenly at specific location started doing random maneuvers, stalling, then loosing GPS after a while. Both have been saved and landed successfully. No wdog resets, or iomcu reset. Where should I look at the logs to confirm some electromagnetic jamming or some other reason?

I can see some i2c traffic almost stopped for a while when reaching that location, GPS kept glitching until landing even when moved away from that location.

Posts: 1

Participants: 1

Read full topic

What Parameter GPS_NAVFILTER for boats? 5 for Sea-Ship? Default is 8 for extemely dynamic 4G-Aircrafts

$
0
0

@Quaxwilly wrote:

The parameter GPS_NAVFILTER in the documentations is explained a little poorly: https://ardupilot.org/rover/docs/parameters.html#gps-navfilter-navigation-filter-setting

I tried a deeper dive and found the following explanations in a russian wiki:
GPS_NAVFILTER.pdf (71.6 KB)

So I’m asking myself, if it would be useful to set that parameter to 6 or 5 e.g. for a boat?
I tested that, and in my opinion the GPS is ready in a shorter time and the position will be hold much better than with a value of 8.
But I don’t know the exact background of that parameter. Will it destroy any necessary functionality if I use 6 or 5?

So could anybody explain the background please.
And if my thinking is correct - what value makes sense for a boat?

Thanks in advance
Willy

Posts: 1

Participants: 1

Read full topic

Landing with strong wind using mRo x2.1-777 autopilot

$
0
0

@pemase wrote:

During some tests that we carried out autonomously of the mRo navigation systems, while we flew, the wind began to blow very hard and we decided to suspend the mission and land manually because the wind was increasing more and more and the gusts were erratic and unexpected.

To end the day, during the final approach the pilot made some low passes to be able to take some pictures of the plane from very close. Once the photos we achieved and we saw the circumstances complicated by the wind and the difficult landing, as fun we challenge the pilot to land with aim.

Due to the strong wind we couldn’t land at the first attempt, so we had to abort the landing on several occasions repeating the same flight pattern.

At some moments during the final approach phase, we switch to “Stabilized” flight mode to check the safety that the mRo autopilot (mRo x2.1-777) brings while corrects the plane banking very quickly.

The video quality is not at all the best, because vibrations are shown on the camera and this is because it is mounted on a pan/tilt system.

Best regards

Pedro Matabuena

Posts: 1

Participants: 1

Read full topic

RunCam serial driver - alpha testers wanted

$
0
0

@andyp1per wrote:

I have completed writing a driver for the RunCam series of cameras and my work can be found in this PR: https://github.com/ArduPilot/ardupilot/pull/12810
So far I am on the only one who has tested this and I only have a RunCam split micro 3, so rather a limited dataset :slight_smile:
I’m looking for people who would be willing to test this driver with their RunCam’s so that we can flush out any issues.
The driver uses the remote RunCam protocol so you would need to have your camera attached to one of your serial ports.
I can give more details and do firmware builds for anyone wanting to give it a try!

Posts: 1

Participants: 1

Read full topic

Cannot install/configure gstreamer with MP 1.3.70

$
0
0

@BlueMS wrote:

I am unable to get the video streaming configured with MP 1.3.70 installed version and archived version running on Win 10.
When I hit the gstream button in the extended menu (CTRL-F) MP starts downloading something and then runs into an unexpected error with the following details:

Posts: 1

Participants: 1

Read full topic

Loiter Mode, Took off stable, hover for 4-5 seconds, sudden Climb Up and Up and crashed

$
0
0

@Fahadjavaid wrote:

Log File C:\Users\Fahad\AppData\Local\Temp\tmpD2CC.tmp.log
Size (kb) 835.279296875
No of lines 10911
Duration 0:00:29
Vehicletype ArduCopter
Firmware Version V3.6.9
Firmware Hash 632be63f
Hardware Type
Free Mem 0
Skipped Lines 0
Test: Autotune = UNKNOWN - No ATUN log data
Test: Brownout = GOOD -
Test: Compass = FAIL - Large change in mag_field (1027.54%)
Max mag field length (2002.96) > recommended (550.00)

Test: Dupe Log Data = GOOD -
Test: Empty = GOOD -
Test: Event/Failsafe = GOOD -
Test: GPS = FAIL - Min satellites: 4, Max HDop: 4.58
Test: IMU Mismatch = FAIL - Check vibration or accelerometer calibration. (Mismatch: 7.07, WARN: 0.75, FAIL: 1.50)
Test: Motor Balance = GOOD - Motor channel averages = [1355, 1306, 1320, 1340, 1312, 1348]
Average motor output = 1330
Difference between min and max motor averages = 49
Test: NaNs = FAIL - Found NaN in CTUN.DSAlt

Test: OpticalFlow = FAIL - FAIL: no optical flow data

Test: Parameters = FAIL - ‘THR_MIN’ not found
Test: PM = GOOD -
Test: Pitch/Roll = UNKNOWN - ‘BarAlt’
Test: Thrust = GOOD -
Test: VCC = UNKNOWN - No CURR log data

Posts: 1

Participants: 1

Read full topic


CH6 in AC 3.6.12 ?!

Navio2 : 3D acceleration failed

$
0
0

@Hesh_Dan wrote:

I’m a novice and am trying to put together a quadcopter using Navio2 and RPI. During the initial set up , I notice that the accel calibration failed. I tried several times but to no avail. Not sure where am I going wrong. Any help is appreciated

Kernel Version : 4.19.83-emlid-v7+
APM planner version: v2.0.24
Frame Class: Quad
Frame Type: X
Firmware Version : 3.6.11

Messages : [MAV 001:1] PreArm: 3D Accel calibration needed
[MAV 001:1] PreArm: Compass not calibrated
[MAV 001:1] PreArm: Compass not calibrated

pi@navio:~ $ sudo emlidtool test
2019-12-13 16:11:54 navio root[976] INFO mpu9250: Passed
2019-12-13 16:11:54 navio root[976] INFO ms5611: Passed
2019-12-13 16:11:54 navio root[976] INFO adc: Passed
2019-12-13 16:11:54 navio root[976] INFO pwm: Passed
2019-12-13 16:11:54 navio root[976] INFO rcio_status_alive: Passed
2019-12-13 16:11:54 navio root[976] INFO lsm9ds1: Passed
2019-12-13 16:11:54 navio root[976] INFO gps: Passed
2019-12-13 16:11:54 navio root[976] INFO rcio_firmware: Passed

I tried troubleshooting further by running AccelGyroMag.py and I see that the values are changing as I move the quad frame. So i guess the IMU ( Accelerometer, Gyroscope & Magenetometer) is working fine. Not sure why accel calibration is failing .

Posts: 1

Participants: 1

Read full topic

Pitch reversing advice needed

$
0
0

@TheTroll wrote:

Hello!
Now I am working on new reptile s800 flying wing and it is a time to configure servos.
I’m using left and right elevons settings. And this configuration works well in FWBA mode with no RC input.
But I’m worried about my RC pitch channel is reversed. So, I’d configured RC2 to be reversed amd this seems for me not ok.

I’m using omnibus f4 pro board in vertical position.
It could be incorrect board orientation but AHI moves correctly.

Please advice if reverting RC channel is good idea

Thanks!

Posts: 1

Participants: 1

Read full topic

Bait Boat for a first Project?

$
0
0

@Marc_Dornan wrote:

I wanted to make a boat for cruising around lake Michigan autonomously with a GoPro. I have lots of experience with Ardupilot and lots of equipment. I do not want to drop $800 on a hull or custom build one for a first dabble. How about a bait boat? With some 3D printing I can likely add a superstructure for electronics and a GoPro upfront.where the bait buckets are:
https://www.amazon.com/Goolsky-Flytec-Loading-Control-Fishing/dp/B07DFZT5LV

Love to find a bigger hull but they are not easy to find. These Russian ones look great. https://camarad.ru/
Check out the video. https://www.youtube.com/watch?v=LAv5W-sjDIA

Maybe for a second project…

Anyone have any other ideas about good Rc boats to convert? Most of the Rc models do not look ideal. Suprised to find there is not more blogging on this topic (yet!).

Posts: 1

Participants: 1

Read full topic

Boat problem in auto mode

$
0
0

@vlazzaar wrote:

Hello everyone!
I am a beginner and I would ask you to help me. I do not know what parameters need to be changed as I can move the boat in a straight line in auto or rtl mode.
Sorry for the spelling mistakes and thank you in advance.

Posts: 1

Participants: 1

Read full topic

New Consistent mission bug

Excesive Takeoff Speed QuadPlane

$
0
0

@Chad_Frazer wrote:

I have a tilt rotor (vectored yaw) Nimbus 1800. I plan a mission that has VTOL takeoff set to 50 feet. I hit AUTO and up she goes nice and smooth. She hits 51 feet and transitions very nicely. She then climbs to about 150 feet, dips down to about 115 and then climbs to the first waypoints planned 350ft altitude (Relative).

I don’t like the dip as I do not know where its coming from. Any ideas on that one?
I would also like to limit the airspeed gained by the auto mode after it has transitioned to full fixed wing mode to just 40mph max, right now she will transition and hit upwards of 54mph. She can handle that, but there is no reason to gain that much speed. I cannot find the right parameter to change this.

Can anyone explain these two behaviors?

Posts: 1

Participants: 1

Read full topic


Switching MOSFET with AUX pin

$
0
0

@neo2001 wrote:

I want to switch some 5 V LED lights using a spare AUX port on a Pixhawk Clone. I’ve set this up using the “relay” option and it basically works fine.

What I didn’t consider was, that the logic level voltage is only 3.3 V and the MOSFETs I have available, need more voltage on the gate to completely switch on (LEDs light only dimly now, not enough current coming through)

Now the most forward thing to do, is getting some logic level MOSFETs, which I most certainly will…

But I was still thinking of maybe solving this problem by using some components I already have.

First idea is using a NPN BJT on the gate, but then I would need to invert the signal (normally high not low) - is this possible by configuring the Pixhawk/Arducopter?

The documentation states, that the “relay” pin will use a voltage of either 3.3 V or 5 V. But I guess this doesn’t mean the voltage can be changed but refers to different boards? Or is this possible?

Any other/better ideas?

I was also thinking of using a Darlington transistor like the TIP120, which would work, but the downside is, that it will drop the voltage too much.

Posts: 1

Participants: 1

Read full topic

Two wheels Differential steering

$
0
0

@lumono wrote:

Is it possible to set one wheel spin another stop when turn run (left/right) using two wheels differential steering in Mission Plan by Auto model

Posts: 1

Participants: 1

Read full topic

Compass turning

$
0
0

@lumono wrote:

I am wondering why cellphone and car navigation does not need turning compass when using GPS navigation.
Because it is not easy job to turning compass if the vehicle move to different city.

Posts: 1

Participants: 1

Read full topic

Firmware for Holybro Kakute F4 V2

$
0
0

@JorgeGCab wrote:

Hello all,

New in this forum so thanks to everybody for support it.

After a little work with a F450 PixHawk copter with acceptable success, trying to fly with chibios firmware on a Holybro Kakute F4 V2.

Supported hardware talks about V1 version, but there are some threads here about V2.

Following instructions for installation with previous upload through Betaflight I can’t complete it. Connecting in DFU mode, firmware erased and uploading fails. The Betaflight version goes fine and all is working there, so no hardware issues.

Surely a novice error on my part so, please, someone can bring some light to me.

Thanks in advance.

Jorge

Posts: 1

Participants: 1

Read full topic

Bad Logging with Cube Orange Copter 4.0.0 Master and Copter 4.0.0 Beta

$
0
0

@Loris_Demetriades wrote:

I have this Bad Logging issue since i have purchased the Orange Cube and loaded 4.0.0 master. I tried changing sd cards (HC), reflashing it with arduplane, resetting it re-calibrate and i tried everything that i read as “possible solutions” to this matter. This drives me nuts and the only solution i find to make it arm is by disabling the logging when arming. some people say it not the right solution and i agree but they dont come with a suggestion. Is it possible to be a hardware failure?

Posts: 1

Participants: 1

Read full topic

Viewing all 46185 articles
Browse latest View live


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