Code Monkey home page Code Monkey logo

Comments (6)

IamPete1 avatar IamPete1 commented on July 18, 2024 1

But, can you confirm that RELAY_DEFAULT needs to be changed to RELAY2_DEFAULT in the default parameters for this target? There also seem to be several other targets that may need to be changed. See below

Yes, you are correct, I have opened a PR that fixes. #27286

from ardupilot.

IamPete1 avatar IamPete1 commented on July 18, 2024

Can you upload a log of the test please. You can enable disarmed logging rather than arming.

from ardupilot.

mluessi avatar mluessi commented on July 18, 2024

@IamPete1 I recorded a log. It booted with RC8 high and then I toggled it a few times every 10 s. I can see RCIN.C8 changing, but not sure what I need to look at to see if the relay should be toggling.

Log file: radix2hd_vreg_switch_test_20240608.log

from ardupilot.

IamPete1 avatar IamPete1 commented on July 18, 2024

Your switch is conflicting with the flight mode. FLTMODE_CH is 8.

from ardupilot.

mluessi avatar mluessi commented on July 18, 2024

@IamPete1 well, that was silly of me. It works when using channel 7.

But, can you confirm that RELAY_DEFAULT needs to be changed to RELAY2_DEFAULT in the default parameters for this target? There also seem to be several other targets that may need to be changed. See below

libraries/AP_HAL_ChibiOS/hwdef/KakuteH7v2/defaults.parm:RELAY_DEFAULT 1
libraries/AP_HAL_ChibiOS/hwdef/skyviper-v2450/defaults.parm:RELAY_DEFAULT 1
libraries/AP_HAL_ChibiOS/hwdef/MambaH743v4/defaults.parm:RELAY_DEFAULT 1
libraries/AP_HAL_ChibiOS/hwdef/SkystarsH7HD-bdshot/defaults.parm:RELAY_DEFAULT 1
libraries/AP_HAL_ChibiOS/hwdef/skyviper-journey/defaults.parm:RELAY_DEFAULT 1
libraries/AP_HAL_ChibiOS/hwdef/KakuteH7Mini/defaults.parm:RELAY_DEFAULT 1
libraries/AP_HAL_ChibiOS/hwdef/MambaF405-2022/defaults.parm:RELAY_DEFAULT 1
libraries/AP_HAL_ChibiOS/hwdef/RADIX2HD/defaults.parm:RELAY_DEFAULT 1

from ardupilot.

mluessi avatar mluessi commented on July 18, 2024

@IamPete1 thanks!

from ardupilot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.