ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Playing with VFC

    Ask your questions right here!
    2
    2
    30
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Aaron PorterA
      Aaron Porter
      last edited by

      Hello,

      I am playing around with VFC on one of the Starlings 1. I am able to takeoff in altitude mode and change over to Offboard mode. I thought that changing to offboard mode from altitude would cause the drone to go into VFC_Altitude mode however, I get a message in QGC that the mode is VFC_Manual and feels similar to manual mode as well. Not sure if I am missing something? Am I wrong in thinking that it should be in VFC_Altitude?

      I am using a joystick controller instead of an RC controller.

      Thank you for your time,
      Aaron Porter

      tomT 1 Reply Last reply Reply Quote 0
      • tomT
        tom admin @Aaron Porter
        last edited by

        @Aaron-Porter The VFC flight mode that will be entered when switching into offboard is dependant on what is specified in /etc/modalai/voxl-vision-hub.conf

        Example here:

        "vfc_submode_ch":	6,
        	"vfc_alt_mode_rc_min":	0,
        	"vfc_alt_mode_rc_max":	0,
        	"vfc_flow_mode_rc_min":	1700,
        	"vfc_flow_mode_rc_max":	2100,
        	"vfc_hybrid_flow_mode_rc_min":	0,
        	"vfc_hybrid_flow_mode_rc_max":	0,
        	"vfc_position_mode_rc_min":	1300,
        	"vfc_position_mode_rc_max":	1700,
        	"vfc_traj_mode_rc_min":	0,
        	"vfc_traj_mode_rc_max":	0,
        

        In this example, VFC flight modes are monitored on channel 6
        Depending on what position the switch is in, a different VFC mode will be entered

        So for example, if the middle position of flight modes is set to "Offboard", when the switch is flipped into the middle position ~1500, VFC position mode will be entered

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Powered by NodeBB | Contributors