Replies

        • Probably yes

          Only tested on a blank SDCard.

          we "share" variables :)

      • One question about the 2 Timer in your Script.

        Do the Function "setTimer" overwrite the T1 and T2 Timer on the Taranis ?

        Actually i set the 2 Timer in Companion with TH% and L8. Must i clear this values or on which value i have to set it ?

        Christian

        • Hi Christian

          Both timers are fully controlled by the script, and throw away what you might have set on the menus.

          Timer 0  is the Started when Arm is active and stopped when disarmed.

          Timer 1 is used by each Flight Mode. So when Armed is Active, and Stabilize is active Timer 1 represents Stabilize Time, if you switch to Alt Hold Timer 1 shows time in Alt Hold. If you revert to Stabilize mode the timer gets back to stabilize mode timer with the previous accumulated value. 

          This is valid for any flight mode, so in practice there are 17 timers which are represented by timer1 :)

          Logically if DISARMED they are stopped but show their previous value.

          settimer = { mode, start, value, countdownBeep, minuteBeep, persistent }

          settimer.mode = 54

          settimer.start = 480

          settimer.value = 0

          settimer.countdownBeep = 2

          settimer.minuteBeep = 1

          settimer.persistent = 0

          model.setTimer(1,settimer)

           

          The code for the read

          datastring = { mode, start, value, countdownBeep, minuteBeep, persistent }

          datastring = model.getTimer(1)

          lcd.drawText(30, 7, datastring.mode, 0 )

          lcd.drawText(42, 7, datastring.start, 0 )

          lcd.drawText(60, 7, datastring.value, 0 )

          lcd.drawText(85, 7, datastring.countdownBeep, 0 )

          • Thanks for the fast reply.

            I use the Timer 1 exactly with the same function in your script but realized that with a Logical Switch which gets the status from the APM.

            When the Timer are fully conntrolled by the Script i will set both Timer in Companion to "OFF" .

            Thanks a lot

            Christian

            • There is no need to have the timers at any setting, because the script disregards completely what has been set by the user.

              I could save that state on init, but didn't see the need for that.

          • The settings for the model on the Taranis are very simple:

            a7173947-82-Screen%20Shot%202014-10-09%20at%2011.32.28.png

            a7173948-55-Screen%20Shot%202014-10-09%20at%2011.32.10.png

            a7173949-199-Screen%20Shot%202014-10-09%20at%2011.31.55.png

            a7173950-255-Screen%20Shot%202014-10-09%20at%2011.31.38.png

            a7173951-253-Screen%20Shot%202014-10-09%20at%2011.31.23.png

            • what sw is that? OpenTX Companion?

            • Hello-

              awesome work- THANKS!

              I get the telemetry values sent to my Taranis- but the LUA Skript does not start up.

              I made the settings above /thank you for the screenshots!) but have no clue what the folder structure on the SD card has to be exactly- i.e. where to put the Lua_Telemetry files from your

              https://github.com/lvale/MavLink_FrSkySPort/tree/DisplayAPMPosition...

              for the LUA.... I already read the LUA manuals but still am not sure? Does EVERYTHING in there belong in SCRIPTS/ modelname ?? Or the BMPs in the general BMP likewise sounds...?

              Please help, because this is the last step for "complete awesomeness" ;-)

              Perhaps a screenshot of your Taranis SD cards SCRIPTS folder structure??

              Thanks

This reply was deleted.

Activity

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
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
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24
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
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20
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
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8
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
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
DIY Robocars via Twitter
Oct 23
DIY Robocars via Twitter
Oct 19
DIY Robocars via Twitter
Oct 18
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13
DIY Robocars via Twitter
RT @araffin2: 🏎️ After hours of video editing, I'm happy to share a best of my Twitch videos on learning to race with RL. 🏎️ Each part is…
Oct 13
More…