72 Mz and ArducopterNG (1.54)

I've got a JR XP7202 which is a 7 channel 72MHz Tx.

On the 'copter, I've got a JR 790.  They talk using sPCM.

 

Works great in the CLI, but not in "flight" mode (whatever non-CLI mode is).

I've found a method/function call (APM_RC::GetState() ) which never seems to go non-zero with the FM setup.

So the call

if (APM_RC.GetState() == 1)

is never true.

 

Is this something I need to "tweak", or am I barking up the wrong tree here?

 

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Making progress here.

     

    It's not the radio.  Sorry, chaps.  I found a radio diagnostic and ran it, which worked fine.

     

    By adding various print statements, I see that what happens is that the main loop starts, reads the radio, reads the GPS and loops a few times (14 to 20) before stopping printing.

     

    So I think that something isn't working right (either because my hardware skills are poor -or- I've misconfigured something in the header file).  Somewhere there's a bit of code that thinks it is waiting for a device to come ready ...

     

    Time to start turning off things and seeing where I am going awry.

    Got it. 

    if I undefine the Magnetometer, then I'm looping successfully.   Now to go figure out what's what.

     


  • When in FLY-mode is the PPM Light on on the APM?  I just switched over to spektrum and Turnigy radios from the Jr 8303 8ch FM.  I used the  Jr 790 with my Trex 450 heli.  The 790 doesn't have a crystal right? just a little button?  I had a tough time setting mine up with my Tx radio.  Try another reciever first.    
  • 3D Robotics
    If your Rx puts out standard PWM it should work. Can you post the output of your radio test in the CLI?
This reply was deleted.

Activity

Chris Anderson liked Zara Mae Pickering's profile
May 21
Azjeg liked Azjeg's profile
Apr 27
DIY Robocars via Twitter
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Nov 27, 2022
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24, 2022
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24, 2022
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24, 2022
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24, 2022
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20, 2022
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8, 2022
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23, 2022
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23, 2022
DIY Robocars via Twitter
Oct 23, 2022
DIY Robocars via Twitter
Oct 19, 2022
DIY Robocars via Twitter
Oct 18, 2022
More…