Servers by jDrones

DELAY command not executed during mission

Dear community,

I recently started the testing with the DELAY command for rover, but for some reason it does not work properly. I defined the rover to stop at every waypoint for 3 seconds before moving to next one. However, the rover doesn’t stop at all. It simply move alone all the waypoints without any stop.


As shown in the screenshot above, the desired speed becomes zero on each of the waypoint, but the actually speed seems not follow the desired speed. Does anyone have idea why this happens ?
Thank you so much

Hi @Mirko_Zhou,

This looks like a speed tuning issue. If you can post a log I can have a closer look but in particular I’d check the PIDA message to try and guess which gains (P, I, D or CRUISE_SPEED/CRUISE_THROTTLE) are to blame.

By the way, if the aim is just to make the vehicle stop at the waypoints for 3 seconds, putting “3” into the first field of the command (The column header should be “Delay” I think) will do the same thing.

EDIT: it seems like MP isn’t showing the “Delay” column header so I’ve raised an issue for MP here.

This is the link of the dataflash files for Mission Planner:

It looks like the speed control is mostly working on “I” term which leads to slow response. We should be able to improve this by increasing feedforward (which comes from CRUISE_SPEED and CRUISE_THROTTLE) and ATC_SPEED_P. So these changes may help:

  • increase MOT_THR_MAX from 30 to 100
  • increase CRUISE_THROTTLE from 15 to 30 (i.e. the vehicle will generally drive at 1.5m/s with 30% throttle)
  • increase ATC_SPEED_P from 0.1 to 0.3

I wonder if you’ve tried following the instructions here on the wiki for tuning speed and throttle?

Servers by jDrones