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

No GPS with Adafruit Ultimate GPS Breakout v3

$
0
0

@stephane wrote:

Hello,
i am new to this forum and starting to build my own hexacopter.
I try to use the Adafruit Ultimate GPS Breakout v3, connected on my pixhawk 4, running on Mission Planner.
RX from the Pixhawk is connected to TX of the GPS
TX from the Pixhawk is connected to RX of the GPS

I always have the “GPS: No GPS” message.
I already tested my GPS with the GPS tool dedicated, and it works well, i know it communicates with 9600 baud rate, so i set it like that on the parameters:
SERIAL3_BAUD =9
SERIAL3_PROTOCOL = 5
Physically the GPS have a red led blinking every 15 seconds meaning there is a fix.
I am strugling with that for hours, that’s why i need your help to investigate.
thanks in advance,
Stephane

Posts: 2

Participants: 2

Read full topic


Strange behaviour of low RPM reporting (~1 Hz )

$
0
0

@akobelan wrote:

I’m using a reed-switch and magnet to track the speed of a slow moving wheel. I’d like to get down to a few Hz, and ideally below 1 Hz. All is well when the RPMs of the wheel approaches 60 rpm (1Hz). I observe around 140 rpm on Mission-Planner with my main focus on an oscilloscope tracking the period of the wheel. As the period of the wheel approaches 1 sec, all hell breaks loose and then the RPMs
on Mission-Planner climb to 4000+. I plotted the RPM readings from 900 ms to 5 sec and the exponential decay of the wheel speed is as expected. No noise at all. The exponential decay of the wheel from say, 500 ms to 900 ms is equally as expected.

If someone familiar with libraries/AP_RPM/RPM_pin.cpp can take a look and suggest what fix needs to be applied I would be most appreciative.

Posts: 3

Participants: 3

Read full topic

Problem with offline maps

$
0
0

@YuryArnold wrote:

Hello Ardu Community! I have problem with choosing offline maps. I downloaded some sets from qgc, did it on a certain scale. So I have some family of sets. See Picture below. I have problem with offline choosing of needed map from set. It’s not displayed on scene, I can only see, as cut piece, default set. QGC downloaded default set automatically, I can’t choose set manually. How can I do that, if it possible? When I removed default set, all other sets are removed automatically, how to avoid it? It’s to heavy pictures, can’t download them all.

Posts: 1

Participants: 1

Read full topic

New Frame Testing in Sitl

$
0
0

@PotatoesLegend wrote:

Hey everyone,

I’m trying to make my own frame and test it in Sitl first.
I’ve made a new frame class and frame type in the file “AP_MotorsMatrix” and also add this frame class and frame type to the file “AP_Motor_class”.
Then, I’ve edited the file “vehicleinfo.py” to add my model and also made a new .parm file in the folder “ardupilot/Tools/autotest/default_params” (copied the .parm from copter with the new name and changed the frame type and frame class).
When I try to launch my model with Sitl, he tell me that he doesn’t found my model. So I’ve tried to add model “+” to see if it help, but not much.

My questions are:
How do you make this “model” from Sitl? Is it different from frame type and frame class?
How can I configure the .parm file? Is there any tutorial out there about this topic? I’ve only found the “full parameter list” from ArduCopter and ArduPlane so far.
Here are the file I’ve modified.

AP_MotorsMatrix.cpp (50.1 KB) AP_Motors_Class.h (13.4 KB)
vehicleinfo.txt (15.5 KB)
penta.parm (2.0 KB)

Thank you for your help.

Posts: 1

Participants: 1

Read full topic

Cannot connect PixRacer using onboard ESP8266

$
0
0

@ScottR wrote:

I have a new mRo PixRacer with the ESP8266 wifi board. The PixRacer is loaded with the lates Plane firmware, and the ESP8266 has the latest. I can connect to the PixRacer wifi with my laptop, and can read it using the getdata webpage. However, when I try to connect to the PixRacer using Mission Planner it fails to connect.

I get a Listen box that shows the Port: 14550. When I click OK, the Connection Failed box comes up, and the details page says “Only one usage of each socket address is normally permitted”. I’m not a network guru, so this doesn’t mean anything to me.

Can someone tell me what this means, and what I need to do to set up the wifi connection?

Thank you.
Scott

Posts: 4

Participants: 2

Read full topic

CUAV V5+ flight controller

CUAV V5 series flight controller

$
0
0

@cuavRC wrote:

CUAV V5 series autopilot equipped with open hardware and source codeand its accuracy and reliability is created for the relevant industry

Posts: 1

Participants: 1

Read full topic

Good cheap "slave" flight controller to function as sensor pack

$
0
0

@mikishapiro wrote:

Hello

I’m looking to use a raspberrypi-4b-running-ardupilot + FC combination, where core flight control (maintain altitude, land, motor control, etc) logic and functions are handled on ardupilot/linux/raspberry.

I’m looking at a selection of sub-$40 flight controllers… here: https://www.banggood.com/search/flight-controller.html?from=nav

I still want a flight controller on board because it’s a cheap and convenient way to grab all the sensors I need in one tidy package (but not because I want it to control flight, I /need/ (for what I’m trying to do) ardupilot to do that).

Is this possible?
What should I look for in FCs when approaching things this way?

Posts: 5

Participants: 2

Read full topic


Traditional Heli with Matek F405-STD

$
0
0

@RoMe82 wrote:

Hi,

after solving some issues with an old traditional helicopter setup I finally have everything ready on a Matek F405-STD FC.
The FC recognizes GPS, compass and RC.
All calibrations are done, the FC arms.
And then nothing…
On the FC I configured:
Servo1 - Motor1
Servo2 - Motor2
Servo3 - Motor3
Servo4 - disabled
Servo5 -HeliTailRSC
Servo6 - HeliRSC

RC7IN - Flight modes
RC8IN - Motor Interlock

Servos 1 - 3 operate as the RC tells them.
Nothing at all on 5, servo6 indicates min pwm but does not operate ESC.
RCIN’s follow switches.
Motor4 is disabled but shows trim pwm.
Matek states: no servo and motor on same TIM.
So when I disable motor4 again and reboot then servo4 is motor4 again.
All changes on full parameter list lead to the same issue.
When I use Servo6 with RC3IN motor spins but is not really controllable.

Does the Matek F405 have any restrictions that I missed?
Thanks for your help.

Rolf

Posts: 1

Participants: 1

Read full topic

Copter's GPS_GOOD_HDOP and radius geofence in Plane

$
0
0

@maciek252 wrote:

Hi everybody,

I can’t find in the docs, could you please clarify the following problems:

-is there a parameter in Plane with a functionality similar to Copter’s GPS_GOOD_HDOP? Where to setup the HDOP threshold?

-is there a radius-defined geofence in Plane? Or one needs to draw the polygons for every location? (inconvenient and likely to cause problems). I would not expect the radius-based geofence to be very precise in sense that the aircraft would never leave it, triggering the RTL after crossing the “tin box” border would be perfect.

-from the docs about SERVO_AUTO_TRIM:

https://ardupilot.org/plane/docs/auto-trim.html

such that when flying in MANUAL mode, the plane will be in the same flying attitude as when flying in throttle controlled modes (AUTO, CRUISE,etc.) or FBWA.

where STABILIZE goes here? To MANUAL, to “throttle controlled modes or FBWA”, or is not relevant?

Posts: 1

Participants: 1

Read full topic

Hereflow was not detected problem

$
0
0

@cube_purple wrote:

Hi
I want to use hereflow for Pixhawk 4 mini with arducopter 4.0.3
So I did as instructed on ardupilot’s HereFlow OPtical Flow Sensor page
connect to CAN port, change parameters
but my FC could not detect optical flow
I want to solve this problem

Thanks

Posts: 1

Participants: 1

Read full topic

Rangefinder 2 does't show any data in the the "Quick" and "Status" tab

$
0
0

@buckker wrote:

Hi

I have configured the second rangefinder for object advoidance. If I try to check the actual value in the “Quick” and “Status” tab I can see nothing (0). But If I open the proximity window I can see the acutal distance from rangefinder2.

Is there maybe a bug?

Michael

Posts: 1

Participants: 1

Read full topic

Flight Planner - new function "search and replace"

$
0
0

@buckker wrote:

Hi

I’m working with missions who are created in advanced. This helps me to be as efficient as possible on the field. But sometimes I need to adjust the flight altitude and the altitude mode (Terrain, Relative). It’s very time-consuming to modify every column individually. To improve this situation maybe a “search and replace” tool could be the way to go.

What you guys think about it? Maybe someone else have even better ideas…?

Michael

Posts: 1

Participants: 1

Read full topic

Internal errors 0x1000 and 0x3000

$
0
0

@Noajab wrote:

Hi all,

I have a big boat with Pixhawk 2.4.8 with Rover-beta-fmuv3 versión.

Everithing Works fine but sometimes I got a message Internal error 0x1000 or 0x3000 and the system
works bad (motors spin a full, etc) and I need to power-reset de system.

I am not sure what happends but maybe the problem could be about the compass because the boat in misión planner is not in the real orientation. I can not calibrate the compass on board because it is so heavy but I tried to adjust via “Large Vehicle MAg Cal” button putting the orientation with an auxiliary compass
and the orientation in static position turn to the correct one, but in navigation it is not ok ( not follow to the real one).

So I am not sure what is the problema because the voltaje is ok, the mag field is around 435, the GPS Works fine and sometimes I can sail in manual mode ok…sometimes apear the errors…

Any ideas?

thanks
parametros_30072020_San Mateo_doble_bateria.param (14.1 KB)

2020-07-28 12-33-31.bin (1020 KB)

Posts: 1

Participants: 1

Read full topic

Check BRD_TYPE Failed to update IO firmware pixhawk 2.4.8

$
0
0

@Rayaprolu_Sujit wrote:

I’ve been trying to update my firmware on pixhawk 2.4.8 it’s uploading but, on the board only Green light us popping up nothing else
When i try to force bootload it’s remaining the same
And there are no Beep sounds too
Safety switch isn’t also working

Can someone please help
Im sooo Frustrated

https://www.mediafire.com/file/x9y901f6tc38ik2/image.jpg/file

https://www.mediafire.com/file/9h8uujhq4n4odfh/image.jpg/file

These are the pictures of my board and led

Posts: 1

Participants: 1

Read full topic


Loiter behavious issues - boat

$
0
0

@oaamaas wrote:

Can the behaviour at loiter, which typically kicks in when target is reached, be tuned?

Reason for asking is that my boat behaves like crazy:
Shortly after target is reached (probably since the boat has glided past the target) it starts to correct the position - which is as expected.
However, this is done by driving motors at max speed. And with two strong brushless motors, the behaviour is anything but graceful. In addition I probably just dropped a bait at the target position, and having the boat roar the motors at this particular spot is really counter productive when fishing.
So I have begun to manually switch the boat over to hold. And I do the same after doing a depth mapping session, because this behaviour continues non-stop.

I really like the concept of loiter, it make a lot of sense to stop the boat from drifting off like it will in manual zero throttle and in hold. But the behaviour is really embarrasing:
I tried to override this by setting MIS_DONE_BEHAVE = 0 and use “hold”, but seems to me it still does loiter…
Param LOIT_SPEED_GAIN is set to 0.05, so there is not much left to reduce.
LOIT_RADIUS = 2, so boat should not do corrections straight away.
And LOIT_TYPE = 0 so it does not matter which part of the boat that aims at the reached target.
Boat has Ardurover 4.0 running on a Pixhawk 2.4.8

Anyone with some good advice?

Posts: 1

Participants: 1

Read full topic

Connecting a motor driver to pixhawk 2.4.8

$
0
0

@Steve1 wrote:

Greetings,
I’m wondering if I can connect the motor controller pictured above to the pixhawk 2.4.8.

Of all the wires coming out there is one labeled “throttle” that has a 3 pin connector (black, white and red), but the white wire is in the center. Does this connect to one of the the main outs on the Pixhawk? Will I need to make a cable to match up the colors? At the top of the photo is a grey and black 2-wire assembly labeled “reverse”. Is there a way access reverse from the autopilot? I’m not sure if jumpering the grey and black puts it in reverse mode.

Posts: 1

Participants: 1

Read full topic

MP error on LOG autoanalysis

CUAV Nora Aux GPIO Numbering

$
0
0

@crazy1pilot wrote:

I’m posting this to help anyone that is using the Nora autopilot from CUAV. I have found the Nora to be a good performer and great build quality. Definitely worth the money.

While setting it up I encountered one issue that took a bit of diving into in order to get it resolved. My current test platform is an X8 and I have it setup with their NEO V2 Pro GPS, PX4Flow using a Garmin V3 Lidar and two more Garmin V3 Lidars for Simple Object Avoidance

While configuring the Lidar I was unable to get it working. the Nora has 14 PWM ports and I made sure to configure the BRD_PWM_COUNT. After a bunch of testing and jumping between a Pixhawk 1 and Nora I assumed maybe the GPIO numbering was different on the Nora and was undocumented.

RNGFND1_PIN:
|Value|Meaning|
|-1|Not Used|
|11|PX4-airspeed port|
|15|Pixhawk-airspeed port|
|50|Pixhawk AUXOUT1|
|51|Pixhawk AUXOUT2|
|52|Pixhawk AUXOUT3|
|53|Pixhawk AUXOUT4|
|54|Pixhawk AUXOUT5|
|55|Pixhawk AUXOUT6|

This is in fact wrong and the Nora does have different GPIO numbering.

(Look at line 158 from the link below)
# PWM AUX channels
PH10 TIM5_CH1 TIM5 PWM(1) GPIO(50)
PH11 TIM5_CH2 TIM5 PWM(2) GPIO(51)
PH12 TIM5_CH3 TIM5 PWM(3) GPIO(52)
PI0 TIM5_CH4 TIM5 PWM(4) GPIO(53)
PD12 TIM4_CH1 TIM4 PWM(5) GPIO(54)
PD13 TIM4_CH2 TIM4 PWM(6) GPIO(55)
PD14 TIM4_CH3 TIM4 PWM(7) GPIO(56)
PD15 TIM4_CH4 TIM4 PWM(8) GPIO(57)

PE9 TIM1_CH1 TIM1 PWM(9) GPIO(58)
PE11 TIM1_CH2 TIM1 PWM(10) GPIO(59)
PA10 TIM1_CH3 TIM1 PWM(11) GPIO(60)
PE14 TIM1_CH4 TIM1 PWM(12) GPIO(61)
PH6 TIM12_CH1 TIM12 PWM(13) GPIO(62) NODMA
PH9 TIM12_CH2 TIM12 PWM(14) GPIO(63) NODMA

This means if setting up a range finder on the Nora use the values below.

RNGFND1_PIN:
|Value|Meaning|
|58|Pixhawk AUXOUT1|
|59|Pixhawk AUXOUT2|
|60|Pixhawk AUXOUT3|
|61|Pixhawk AUXOUT4|
|62|Pixhawk AUXOUT5|
|63|Pixhawk AUXOUT6|

After configuring the ports to the values above the Lidar started working perfectly.

I hope this helps others save time if using the Nora autopilot from CUAV. I have not checked, but this may also be the case for the CUAV X7 and X7 Pro.

Crazy1

Posts: 2

Participants: 2

Read full topic

Copter: Flowhold mode too sensitive compared to other modes

$
0
0

@ferayQ wrote:

Hello,
I would like to use FlowHold mode with a hereflow and without GPS in my copter but the controls are too sensitive. I can’t find a way to add exponential to reduce the UAV’s tilt angles or a way to adjust the sensitivity of the controls. The controls are well adjusted in the other modes (Althold, loiter) but in this mode the piloting is really too sensitive while the UAV stabilizes well when all the controls are released. Why is the Flow mode more sensitive than the other modes?
I use a Herelink radio with its hereunit receiver.

Thanks

Posts: 1

Participants: 1

Read full topic

Viewing all 46687 articles
Browse latest View live


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