Melvin
  • Male
  • Puerto Rico
Share
  • Blog Posts
  • Discussions (12)
  • Groups
  • Photos
  • Photo Albums
  • Videos

Melvin's Discussions

WAYPOINT REACHED

Started this discussion. Last reply by Melvin Sep 12. 13 Replies

The question has been asked before a long time ago but i havn't heard anything of it ever since. Is it possible to find out if a waypoint has been reached? Does dronekit implement this mavlink…Continue

Accessing Waypoints directly from pixhawk

Started this discussion. Last reply by Melvin May 15. 6 Replies

Hi everyone,Im currently writing a program that compares the drone's current location coordinates with the waypoints coordinates so once they match a script is executed. My question is how do i…Continue

 

Melvin's Page

Latest Activity

Melvin replied to Melvin's discussion WAYPOINT REACHED
"That worked?? I never tried that command since according to the API it doesn't stop the vehicle."
Sep 12
Evidlo replied to Melvin's discussion WAYPOINT REACHED
"I figured this one out too.  Just use MAV_CMD_CONDITION_DELAY to add delay commands after each waypoint."
Sep 11
Evidlo replied to Melvin's discussion WAYPOINT REACHED
"I think the vehicle should come to a complete stop so long as the delay is nonzero.  Not sure what the minimum is though."
Sep 8
Melvin replied to Melvin's discussion WAYPOINT REACHED
"Yea, but i noticed that the "MISSION_ITEM_REACHED" message is thrown after the delay(atleast its like that in the simulation) and i need something to tell me when it has reached it at that exact moment. So im thinking of switchin to Loiter…"
Sep 8
Evidlo replied to Melvin's discussion WAYPOINT REACHED
"Ah, nevermind.  The first argument to MAV_CMD_NAV_WAYPOINT is the hold time."
Sep 7
Evidlo replied to Melvin's discussion WAYPOINT REACHED
"Out of curiosity, how are you getting the quadcopter to stop at each waypoint?"
Sep 7
Melvin replied to Melvin's discussion WAYPOINT REACHED
"Great find Evan, works like a charm."
Sep 4
Evidlo replied to Melvin's discussion WAYPOINT REACHED
"I figured out how to do this with observers the other day.     @vehicle.on_message('MISSION_ITEM_REACHED')    def on_waypoint(self, name, message):        print "Just reach item…"
Sep 4
Javier Cerna replied to Melvin's discussion WAYPOINT REACHED
"Hi Melvin, You can send commands in an Auto mission by using the camera commands: http://ardupilot.org/copter/docs/common-camera-control-and-auto-missions-in-mission-planner.html#camera-commands Particularly, you should…"
Jul 10
Melvin replied to Melvin's discussion WAYPOINT REACHED
"Adding an observer/listener didnt work but your first idea did, thank you very much! I got one more question, could you point me to somewhere regarding camera control via dronekit if possible? I read something about gimbal control but nothing around…"
Jul 10
Javier Cerna replied to Melvin's discussion WAYPOINT REACHED
"Hi Melvin, Check this guide and the source code in the bottom of that page. There is some code to execute some actions based on the waypoint the drone is currently heading to. You could store the next_waypoint in a variable and as soon as…"
Jul 10
Melvin replied to Melvin's discussion WAYPOINT REACHED
"Hi Javier, As it did help quite a lot in part, see im trying to make the drone stop at the waypoint so it can execute a script from its computer companion. In order to do that in code i need something to tell me it reached it so it can execute.…"
Jul 9
Javier Cerna replied to Melvin's discussion WAYPOINT REACHED
"You could add a delay of 3 to 5 s in the command: http://python.dronekit.io/automodule.html#dronekit.Command Hope it helps! Javier"
Jul 9
Melvin posted a discussion

WAYPOINT REACHED

The question has been asked before a long time ago but i havn't heard anything of it ever since. Is it possible to find out if a waypoint has been reached? Does dronekit implement this mavlink message? I'm programming a drone to stop for a few seconds once the waypoint is reached and havn't found a way to do so.
Jul 7
Melvin replied to Melvin's discussion Accessing Waypoints directly from pixhawk
"Hi Chris, That's exactly what i was looking for originally. In the hopes that you have done this before, i got three questions i hope you could answer 1)In Script.sendRC, when is the value sent when the "sendnow" boolean is…"
May 15

3D Robotics
Chris Anderson replied to Melvin's discussion Accessing Waypoints directly from pixhawk
"To answer the question, yes GCSs are scriptable. Here's how to script Mission Planner with Python: http://ardupilot.org/planner/docs/using-python-scripts-in-mission-planner.html"
May 14

Profile Information

Please tell us a bit about your UAV interest
Currently designing a program that compares the waypoints of the drone to a list of specific coordinates, so that when they match, an app, or script, is triggered.
Hometown:
Puerto Rico

Comment Wall

  • No comments yet!

You need to be a member of DIY Drones to add comments!

Join DIY Drones

 
 
 

© 2017   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service