Quantcast
Channel: Navio / Edge - Emlid Community Forum
Viewing all 2663 articles
Browse latest View live

RCIO firmware update issue

$
0
0

@abdulrfahim.fahim wrote:

Hey @polina.buriak , sorry I don’t understand what do you mean as I’m not very advanced in programming. However, I have the exact same problem @tp1 had. Followed everything as was instructed and got the same result as @tp1. So please help.

Posts: 2

Participants: 2

Read full topic


EDGE - USB problem

$
0
0

@flyant967 wrote:

Hi

I hope you can give me advice on a problem with my Emlid EDGE

The FC was purchased 3 weeks ago, mounted on a frame and NEVER made a flight because it was being studied.

Until yesterday, the FC was in perfect dialogue with both QCG and Mission Planner and the connections were in Serial USB but also in UDP via AP Long Range AWUS036ACH (supplied)

Unfortunately since this morning I CANNOT read the FC via USB with Mission Planner (a very important resource because in QGC it is not possible to have the total number of functions)

I tried everything … uninstall MP, Reinstall MP, modify certificates, start it as Administrator, change compatibility, change PC (same problem on other PCs), etc. but the constant is that it no longer opens any COM

When I plug in the USB connector, no Com port appears in the Win10 Tools Manager. Upon insertion, only the BCM2710 Boot driver appears, which I believe is the Raspberry driver (and if I connect the battery, the driver disappears)

In QGC It works only in UDP mode because it uses a point-to-point connection bypassing the USB serial … in MP it does not even work in UDP because it always asks for confirmation of the port (14550) and then returns connection error

I ask for some advice about it; probably need to restore the internal Fw of EDGE but I hope to find a simple tutorial because of Raspberry I do not have a thorough knowledge

Do you have any advice about it?

Thanks

Posts: 1

Participants: 1

Read full topic

PX4Flow - I2C works, but Mission Planner does not see it

$
0
0

@tommy wrote:

Running Linux navio 4.14.95-emlid-v7+

I just connected a PX4Flow to the I2C ports on the Navio 2 and I confirmed I can see it when scanning i2c bus.

pi@navio:~ $ i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – -- – -- – -- – -- – -- – -- –
10: – -- – -- – -- – -- – -- – -- – -- – --
20: – -- – -- – -- – -- – -- – -- – -- – --
30: – -- – -- – -- – -- – -- – -- – -- – --
40: – -- 42 – -- – -- – -- – -- – -- – -- –
50: – -- – -- – -- – -- – -- – -- – -- – --
60: – -- – -- – -- – -- – -- – -- – -- – --
70: – -- – -- – -- – 77

I installed the new firmware as per the wiki (http://ardupilot.org/copter/docs/common-px4flow-overview.html) and have re-attached the PX4flow to the Navio2 board.

I have enabled the sensor [FLOW_ENABLE] however my opt_m_x, opt_m_y and an opt_qua values are all ZERO.

Any thoughts on how to proceed?

Posts: 2

Participants: 1

Read full topic

LeddarOne Range FInder - Navio2

$
0
0

@tommy wrote:

Linux navio 4.14.95-emlid-v7+ #1 SMP PREEMPT Mon Feb 4 15:59:56 MSK 2019 armv7l

Trying to add a Leddertech LeddarOne range finder. I have it connected to the UART port on the Navio2 board. However, when I goto the setup tool, select range finder and pick LeddarOne, distance and voltage both show 0.

If I connect the unit to my pc and run their software, it does properly work so I know the unit is good…

Thoughts?

Posts: 1

Participants: 1

Read full topic

Navio2 operating temperature

$
0
0

@peterdin wrote:

perhaps related to this:
what are normal temperatures the Navio2 components will reach under normal operating conditions?
I have a Navio2 connected to a PI3. They are powered through the PI adapter.
Some navio2 components are getting very hot. It seems it concentrates around the power components on the Navio2 boards.

Is this normal?

this is also related to this topic, which has not been answered yet.

software I use is the latest download for the PI image.
All sensors seems to work fine (info is transmitted to Qgroundcontrol)
green led is flashing on the NAvio2.

Posts: 2

Participants: 2

Read full topic

EDGE video stream without QGC

$
0
0

@rcdevil wrote:

Dear Guiboy,
i wish to get an videostream directly from my EMLID Edge system, i don´t wanna use the QGroundControl Software for this purpose.
I´m newbie in this procedure, can you help me, what i need to get it work?

Many thanks in advance!

Posts: 1

Participants: 1

Read full topic

Ardupilot or No Ardupilot. Cant lift the Quadcopter off of the ground

$
0
0

@thechampsant wrote:

Is it necessary to use Ardupilot to control Navio 2 in Drone making? I am a beginner at drone making and I am using my own code to make my quadcopter fly but it isn’t stabilizing. Can anyone please help?

Whenever I am running all the four motors at 1500 pulse or 2000 pulse the drone isn’t taking off, its sliding across extreme directions and it isn’t flying.

Hardware components and their weight in grams:

  1. Navio 2
  2. Raspberry PI 3 (Navio 2 + PI) - 100g
  3. Simonk 30A 4 pieces - 92g
  4. LiPo Battery 3000MAh 4S 25C - 290g
  5. Motors 1400KV 4 pieces - 288g
  6. Quadcopter Frame - 405g
  7. Propellers 10X4.5 4(2 CCW and 2 CW)- 76g

Below is the code to takeoff the drone off the ground:
void takeoff(){
auto pwm = get_rcout();

if (check_apm()) {
        return;
    }
 if( !(pwm->initialize(PWM_OUTPUT)) ) {
        return;
    }
 if( !(pwm->initialize(PWM_OUTPUT_1)) ) {
        return;
    }
 if( !(pwm->initialize(PWM_OUTPUT_2)) ) {
        return;
    }
 if( !(pwm->initialize(PWM_OUTPUT_3)) ) {
        return;
    }
    
pwm->set_frequency(PWM_OUTPUT, 50);
pwm->set_frequency(PWM_OUTPUT_1, 50);
pwm->set_frequency(PWM_OUTPUT_2, 50);
pwm->set_frequency(PWM_OUTPUT_3, 50);

if ( !(pwm->enable(PWM_OUTPUT)) ) {
    return;
}
if ( !(pwm->enable(PWM_OUTPUT_1)) ) {
    return;
}
if ( !(pwm->enable(PWM_OUTPUT_2)) ) {
    return;
}
if ( !(pwm->enable(PWM_OUTPUT_3)) ) {
    return;
}
cout<<"Taking off.......!\n";

 if(flag==1){
        pwm->set_duty_cycle(PWM_OUTPUT, SERVO_MIN);
    pwm->set_duty_cycle(PWM_OUTPUT_1,SERVO_MIN);
    pwm->set_duty_cycle(PWM_OUTPUT_2,SERVO_MIN);
    pwm->set_duty_cycle(PWM_OUTPUT_3,SERVO_MIN);
        sleep(1);

        pwm->set_duty_cycle(PWM_OUTPUT, SERVO_MAX);
    pwm->set_duty_cycle(PWM_OUTPUT_1, SERVO_MAX);
    pwm->set_duty_cycle(PWM_OUTPUT_2, SERVO_MAX);
    pwm->set_duty_cycle(PWM_OUTPUT_3, SERVO_MAX);

    flag=0;
    
}
else{
     pwm->set_duty_cycle(PWM_OUTPUT, SERVO_MAX);
    pwm->set_duty_cycle(PWM_OUTPUT_1, SERVO_MAX);
    pwm->set_duty_cycle(PWM_OUTPUT_2, SERVO_MAX);
    pwm->set_duty_cycle(PWM_OUTPUT_3, SERVO_MAX);
    sleep(0.5);
}

}

Posts: 6

Participants: 2

Read full topic

10 beep before arming motors

$
0
0

@flyant967 wrote:

hi guys

I have a small problem and I think it’s a small thing but I can’t find the solution and I state that the ESC are already manually calibrated.

when I turn on the system, the engines emit n. 10 beeps at a distance of 2 seconds from each other and then they go to rest with the classic cascade of beeps … from that moment it is possible to arm…

I don’t understand if it is a during timeout which Edge does not give consent to esc (maybe it leaves connection time with UDP systems), or it is a configuration problem.

If so, which command cancels this timeout ?? (as long as it is a timeout)

thanks

Posts: 1

Participants: 1

Read full topic


XBOX One Controller Throttle RC Tuning Minimum Value

$
0
0

@vnpathak wrote:

I am trying to use XBOX One Controller as my “joystick” in Mission Planner.

All controls map correctly except Throttle. No matter what controls I map from the XBOX One Controller to the Throttles and perform a calibration, the range is always ~1800 to ~1900.

Even when I map same control to Pitch and Throttle, the Pitch calibration lower calibration limit is ~1100 yet for Throttle it is ~1800.

The result is that I am unable to ARM since the throttle are deemed too high.

Any ideas on how I can resolve this?

Here is what the calibration looks when I have mapped throttle and pitch to the same control (right front/back joystick) …

image

Posts: 1

Participants: 1

Read full topic

MPU and GPS failure on start - Ardupilot fails to load

$
0
0

@joenoe66012 wrote:

Before creating a new thread please refer to the documentation for Navio2 and Navio+.

In case you are creating a thread about an issue it is necessary to provide following information to get help:

  1. Image and ArduPilot version.

pi@navio:~ $ sudo emlidtool
emlidtool version: 1.0.8
Vendor: Emlid Limited
Product: Navio 2
Issue: Emlid 2019-02-27 1548ce733215806c8ad171c8b78ebca0c7cf8395
Kernel: 4.14.95-emlid-v7+
RCIO firmware: 0xb09979ae
2019-09-29 18:48:37 navio root[884] INFO rcio_status_alive: Passed
2019-09-29 18:48:37 navio root[884] INFO pwm: Passed
2019-09-29 18:48:37 navio root[884] ERROR mpu9250: Failed
– Reason: Bus error on MPU9250
2019-09-29 18:48:37 navio root[884] ERROR gps: Failed
– Reason: [Errno 2] No such file or directory
2019-09-29 18:48:37 navio root[884] ERROR lsm9ds1: Failed
– Reason: Bus error on LSM9DS1
2019-09-29 18:48:37 navio root[884] INFO ms5611: Passed
2019-09-29 18:48:37 navio root[884] INFO adc: Passed
2019-09-29 18:48:37 navio root[884] INFO rcio_firmware: Passed

  1. Detailed problem description. How does observed behavior differ from the expected one?

Ardupilot fails to start. Keep getting hardware failures

  1. Your step by step actions.
    sudo emlidtool ardupilot
    failure occurs. I have reimaged my SD multiple times. Checked for dist-upgrades, rcio updates, etc

  2. Picture of the setup and connection scheme.
    The emlid is mounted to the pie…screwed down with the supplied screws and posts. Some have suggested for others with this issue it was the lack of pi/emlid proper connection so I started there. It is plugged into a 3amp plug with a good cable into the raspberry pi and not mounted on a frame as of yet.

  3. If using any additional hardware please provide exact make and model.

Raspberry pi 3b+

I have only had this emlid for 3 weeks and has been an issue since day one. I have been looking across the web assuming i was to blame but now I am reaching out for some help.

Posts: 1

Participants: 1

Read full topic

Navio2 Crossfire CRSF UART I2C SBUS

$
0
0

@joellogic wrote:

I am building a hexacopter using Navio2, RPI3b+, Arducopter, TBS Crossfire TX, TBS Diversity Nano RX, TBS Unify EVO VTX, Taranis X9D+ 2019, Mission Planner

Documentation in EMLID Docs and in TBS production documentation isn’t getting for a new RCer especially as it relates to pin connections and protocols (SBUS, CRSF, UART, I2C, MAVlink) and associated configuration . There are no tutorials or step by steps that I have found. Quite frustration to be honest.

Since the TBS products I am using have integrated telemetry and OSD I do NOT have separate telemetry modem.

So, what pins on the Unify EVO VTX go to the Diversity Nano RX or the Navio2 to get the telemetry data?
Do I use UART? I2C? or the SBUS on Navio2 rail?

This thread is already too long and I haven’t even gotten started…

HELP!

Posts: 1

Participants: 1

Read full topic

Noob problem i think

$
0
0

@tovarp wrote:

Hi friends i’am student from México now i’am ussing navio 2 with rpi 3 model b+ but i have problem when i try to download ardupilot to my linux navio i use the next comand:
#make a directory
$ ls
$ mkdir src
$pwd
$cd src
#clonning a repository from github to the ddirectory wich i create before
$ git clone -b Copter-3.6.5 https://github.com/ardupilot/ardupilot
$ cd src
$ls
$cd ardupilot/
#all the files from repository on github
#compiling the firmaware
$ git submodule update --init --recursive
then appears this error
fatal: write error: No space left on device fatal: index-pack failed fatal: clone of 'git://github.com/ArduPilot/PX4Firmware.git’ into submodule path ‘/home/pi/src/ardupilot/modules/PX4Firmware’ failed Failed to clone ‘modules/PX4Firmware’. Retry scheduled

i’am following the instructions on this video https://www.youtube.com/watch?v=EbSNn8Fcsxc&list=PLgiealSjeVyxpcdc4L0jL1M9rVctDPWip&index=42

i would be very happy if anyone here can help me with this problem …

Posts: 2

Participants: 2

Read full topic

RETURN navio2

$
0
0

@baig wrote:

I want to return my navio2 which I purchased on march 23/2019. Please can you tell me what is the procedure.

Posts: 1

Participants: 1

Read full topic

RC Calibration

$
0
0

@r.vazquez453 wrote:

I was wondering if you could help me with my issue, so I have the same transmitter and receiver as you and i also purchased a PPM encoder. (https://www.amazon.com/gp/product/B019V59KCS/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1) the system seems to be working well but when I run mission planner and try to calibrate the radio it displays 16 RC channels and only calibrates RC 1-9 and RC 10-16 do not calibrate. The other issue is that i don’t think it sees those channels since it doesn’t show a green bar it has them in a grey color. Then when I try to arm the quad copter the mission planner displays a Prearm: 16 error.

Any idea of how i could solve this issue?

Posts: 1

Participants: 1

Read full topic

RaspberryPi Cam; Easy setup for FPV

$
0
0

@masterklause wrote:

Is there an easy solution/instruction for streaming live from a raspicam (attached directly to Raspi3B+) to the GCS (e.g. Qgroundcontrol on iPad oder windows notebook)?
THX!

Posts: 2

Participants: 2

Read full topic


Talking to Navio2 + RP3A+ via Wifi

$
0
0

@WeAreReady wrote:

Hi Everyone! While waiting for my NAVIO2 to be delivered :partying_face::partying_face: I still have to clarify a topic I’ve been searching around but I’m not sure about: how to exchange data with the drone

My goal is to build up a drone (Navio2+RP3A+) and control it only via my mac: basically I would like to send instructions “fly to that point or a set of points” in real time from my mac and retrieve periodically all the telemetry data (battery voltage level, GPS satellites, temp, etc) to make sure everything is ok. I’m not interested in video streaming on a first step …

Is that something I can do by using the Wifi module of the RP3A+ or is it necessary to buy an additional telemetry module?

By using Wifi, what is the range I could possibly reach and is there a way to improve it? I need to send and receive only simple data (for example the next point where I want to navigate or the Return to Home Signal and be updated about the current drone coordinates). Maybe a special router on the ground could help to boost the signal?

Posts: 1

Participants: 1

Read full topic

Downloading Mission Planner logs

EKF failsafe drone flew away uo to 150 meters!

$
0
0

@g.naveiras wrote:

Navio2
Image and ArduPilot version.
Raspbian image 20180525
Arducopter 3.5
Mission Planner 1.3.68
Frame: DJI S1000

Hi

Our drone was near to landing when it suddenly climbed to 150m and then fell to the ground.
First of alla, we had several problems for getting accel calibrated, but after repeating the process several times we though it was solved. GPS was fixed and drone let us arm, so we started flying. Drone was flying as usual (loiter mode) and I was close to land when it just climbed to 150 meters and suddenly fell from sky. I managed to retake control at last time and land it, but it could have been gone really bad.

I downloaded dataflash log and saw that ekf failsafe was triggered, but still don´t know what caused it or what made the drone fly to 150m up. Log is full of baro problem messages but this didn´t affect ekf parameter or drone attitude at the begining of the flight. GPS was good all the time.
I think that accelerometer was the problem but don´t know how to check it to be sure or prevent it.

I upload the log file in case anyone can see something.
20191007_prueba_incidente.BIN (1.5 MB)

Thanks in advance to anyone who might help!

Posts: 1

Participants: 1

Read full topic

Need to configure non-root PWM access

$
0
0

@shawn1231 wrote:

Hello,

We have been using Navio2 with software built on the examples provided here https://docs.emlid.com/navio2/ for a university class for a couple of years. We are currently working on migrating toward ROS and we have been able to port everything over except for the Servo example.

The problem is that the Servo example (and the ROS node which was developed from the example) need access to the PWM pins without root access. I have searched the internet and tried several fixes including those at the following links: https://www.raspberrypi.org/forums/viewtopic.php?t=194174, https://raspberrypi.stackexchange.com/questions/66890/accessing-pwm-module-without-root-permissions. But I have not found anything that will allow me to succesfully write PWM duty cycle without using sudo

There seems to have been a kernel patch issued for udev not being properly triggered by PWM object creation https://github.com/raspberrypi/linux/issues/1983. It seems like this could be related to my issue but I have no way to apply this patch to the pre-built image. I have upgraded to the most current Navio2 image and successfully updated using sudo apt-get update && sudo apt-get dist-upgrade.

My other idea as to the source of the problem is that the commands in /etc/udev/rules.d/99-com.rules are not correct for the specific implementation on this hardware in which case I would need help figuring out which files I need to change permissions on.

Any suggestions are appreciated.

Thanks,

Shawn

Posts: 1

Participants: 1

Read full topic

Need to configure non-root PWM access (cross-posted)

$
0
0

@shawn1231 wrote:

Re-posting this here because I got no responses to my other post https://community.emlid.com/t/need-to-configure-non-root-pwm-access/16501?u=shawn1231.

We have been using Navio2 with software built on the examples provided here https://docs.emlid.com/navio2/ for a university class for a couple of years. We are currently working on migrating toward ROS and we have been able to port everything over except for the Servo example.

The problem is that the Servo example (and the ROS node which was developed from the example) need access to the PWM pins without root access. I have searched the internet and tried several fixes including those at the following links: https://www.raspberrypi.org/forums/viewtopic.php?t=194174, https://raspberrypi.stackexchange.com/questions/66890/accessing-pwm-module-without-root-permissions. But I have not found anything that will allow me to succesfully write PWM duty cycle without using sudo

There seems to have been a kernel patch issued for udev not being properly triggered by PWM object creation https://github.com/raspberrypi/linux/issues/1983. It seems like this could be related to my issue but I have no way to apply this patch to the pre-built image. I have upgraded to the most current Navio2 image and successfully updated using sudo apt-get update && sudo apt-get dist-upgrade.

My other idea as to the source of the problem is that the commands in /etc/udev/rules.d/99-com.rules are not correct for the specific implementation on this hardware in which case I would need help figuring out which files I need to change permissions on.

Any suggestions are appreciated.

Thanks,

Shawn

Posts: 2

Participants: 2

Read full topic

Viewing all 2663 articles
Browse latest View live


Latest Images