inav icon indicating copy to clipboard operation
inav copied to clipboard

Runcam Split 2 in iNav 2.0 bug.

Open lylus opened this issue 8 years ago • 31 comments

I tried to take pictures with the transmitter switch, but only if it was valid for the first time, and the transmitter switch was invalid after power failure and restart.

Flight control board:matek F722

Runcam Split 2 in F722 TX4&RX4

lylus avatar Aug 29 '18 02:08 lylus

Make a reboot over OSD and Check again

advancetom avatar Aug 31 '18 05:08 advancetom

Tks, for the help. So, if not a INAV issue i'll closeed this issue.

marcodcribeiro avatar Sep 03 '18 09:09 marcodcribeiro

I try OSD reboot but dont work.

marcodcribeiro avatar Sep 03 '18 13:09 marcodcribeiro

Did you changed TX RX and give a try again?

advancetom avatar Sep 03 '18 14:09 advancetom

There is no problem with the wiring. It is effective to pull the remote control when the flight control is connected to the computer. However, if the computer connection is disconnected and the flight control is restarted, it is invalid.

lylus avatar Sep 03 '18 18:09 lylus

This problem has been going on for a very long time! The initialization of the UART takes place earlier than Runcam's time to load (if I'm not mistaken). This problem was promised to be solved in version 2, but the problem remained. If you reboot the controller from the OSD OSD menu, everything will work.

bsdshneg avatar Sep 10 '18 08:09 bsdshneg

@lylus try to use RX3 & TX3.

chan2328 avatar Sep 13 '18 15:09 chan2328

#2747

putimir avatar Oct 06 '18 14:10 putimir

This issue / pull request has been automatically marked as stale because it has not had any activity in 60 days. The resources of the INAV team are limited, and so we are asking for your help. This issue / pull request will be closed if no further activity occurs within two weeks.

stale[bot] avatar Dec 05 '18 15:12 stale[bot]

I'm having the same problem with my Runcam Split 2S wired to a Matek F405-CTR. I know the wiring and switches are set up correctly, because if I reboot the FC either via the iNAV configurator or OSD stick menu, all three of the transmitter switches will operate the Split 2S as they're supposed to. But, none of them work after the initial power up without a reboot of the FC with the Split 2S already powered up. I'm running iNAV 2.0.1

Nihilistic avatar Dec 12 '18 19:12 Nihilistic

Hi

Sorry to reply so late. Last week until now, it took some time to debug the issue that runcam split can't be controlled via iNav. This time, I finally reproduce the uncontrollable phenomenon. Because the Split data cannot be received correctly during the initialization process, the initialization fails. At present, I can't find the specific reason. Since I have spent a lot of time looking for the cause, but still can't locate the problem. So for the time being I made a compromise, using two cli commands to make the camera's features recognizable correctly. The main changes to the test firmware linked below are: 1.Change the Split communication protocol to asynchronous, avoid blocking camera initialization, causing motor restart or other strange problems. 2.Added rcdevice_protocol_version and rcdevice_feature to manually identify the camera's characteristics and protocol version number.

If you still can't enable camera control using the following firmware, please paste the following three commands into the cli interface and try again: set rcdevice_protocol_version = 1 set rcdevice_feature = 7 save

https://s3.amazonaws.com/rctmpfiles/inav_test_fws/inav_2_1_fix_rcsplit_telemetry_control/inav_2.1.0_MATEKF405.hex https://s3.amazonaws.com/rctmpfiles/inav_test_fws/inav_2_1_fix_rcsplit_telemetry_control/inav_2.1.0_MATEKF405SE.hex https://s3.amazonaws.com/rctmpfiles/inav_test_fws/inav_2_1_fix_rcsplit_telemetry_control/inav_2.1.0_MATEKF722.hex https://s3.amazonaws.com/rctmpfiles/inav_test_fws/inav_2_1_fix_rcsplit_telemetry_control/inav_2.1.0_OMNIBUSF4PRO.hex https://s3.amazonaws.com/rctmpfiles/inav_test_fws/inav_2_1_fix_rcsplit_telemetry_control/inav_2.1.0_OMNIBUSF4V3.hex

azolyoung avatar Jan 15 '19 10:01 azolyoung

Just now loaded your modified hex for the Matek F405-CTR.

IT WORKS!!! THANK YOU!

It didn't work at all until I entered the CLI commands. All three switches now work as their supposed to.

I haven't actually flown it yet since loading your hex to see if anything else was negatively impacted by your changes, and it may be a while before I can test it in the air. It all looks good on the bench though. My quads aren't water proofed, and we have half a foot of snow on the ground here, and more on the way.

Nihilistic avatar Jan 15 '19 15:01 Nihilistic

Awesome! Thank you for your help. By the way, we would like to know the camera you used to test, is the Split 2, Split 2S or other camera ? And its firmware version?

azolyoung avatar Jan 16 '19 01:01 azolyoung

It's the Split 2S, and still has the original firmware v3.1.0 dated Oct. 30th, 2018.

Nihilistic avatar Jan 16 '19 03:01 Nihilistic

OK,Thank for the info.

azolyoung avatar Jan 16 '19 04:01 azolyoung

I confirm, it works with F722 and a RunCam Split Mini V1 and the suggested parameters. I can not configure the OSD in configurator, but actually the OSD works. Do I need another version though?

I have seen other people speaking about missing OSD configuration, seems not to be related to this bug here, sorry for mentioning.

Will this fix be merged into the current version? I hesitate to go fly with a RC0 or beta version...

Riffer avatar Feb 10 '19 09:02 Riffer

@azolyoung Could you supply the source or is it already merged into INAV?

teckel12 avatar Feb 11 '19 00:02 teckel12

@teckel12 Yes, I've submit a pr for this fixed,https://github.com/iNavFlight/inav/pull/4252, still waiting review

azolyoung avatar Feb 11 '19 01:02 azolyoung

@azolyoung I have a RunCam Split 2S in the mail, I'll test the PR once it arrives.

teckel12 avatar Feb 11 '19 03:02 teckel12

@teckel12 Got your Split 2S yet? If so, any update on the status of this fix?

Nihilistic avatar Feb 28 '19 20:02 Nihilistic