Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. Clarification on px4 home position in vvpx4

Clarification on px4 home position in vvpx4

Scheduled Pinned Locked Moved Ask your questions right here!
1 Posts 1 Posters 451 Views 2 Watching
  • 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.
  • PawelJP Offline
    PawelJP Offline
    PawelJ
    wrote on last edited by
    #1

    Hello,

    Can you please clear up how the home position is used in vvpx4? I am looking at the offboard figure eight example and it seems to be sent the same way (same px4 function call uart_mavlink_send_fixed_setpoint, and struct mavlink_set_position_target_local_ned_t) as the offboard path. My confusion is why it needs to be sent if it is just the same message? If any of the three sections in offboard figure eight that send the home position are removed, the drone refuses to switch to offboard mode (before HOME, waiting to switch to offboard mode, and before switching to offboard mode). To clarify my questions...

    1. does the px4 differentiate between between the mavlink message containing the home position vs a path setpoint? If not, why does sending the set points of the path in a loop not allow me to switch to offboard mode, like sending the home position in a loop first does?
    2. why does the home position need to be sent, specifically in the three locations (listed above) to be able to switch to offboard mode?
    3. Is there a limit to how many home position messages need to be sent to switch to offboard mode? In the example it appears to be set for 2 seconds, however I believe that is to give the drone enough time to return to the hardcoded path start (0, 0, FLIGHT_ALTITUDE).
    1 Reply Last reply
    0

    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

    With your input, this post could be even better 💗

    Register Login
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    ModalAI
    Categories Recent Tags ModalAI.com Docs
    © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups