AP_Vehicle: Allow lua script access to Rover's turn rate guided command

This commit is contained in:
Rishabh 2022-01-16 15:39:10 +05:30 committed by Randy Mackay
parent 7265e11b53
commit d90d3d1283
1 changed files with 3 additions and 0 deletions

View File

@ -215,6 +215,9 @@ public:
// set steering and throttle (-1 to +1) (for use by scripting with Rover)
virtual bool set_steering_and_throttle(float steering, float throttle) { return false; }
// set turn rate in deg/sec and speed in meters/sec (for use by scripting with Rover)
virtual bool set_desired_turn_rate_and_speed(float turn_rate, float speed) { return false; }
// support for NAV_SCRIPT_TIME mission command
virtual bool nav_script_time(uint16_t &id, uint8_t &cmd, float &arg1, float &arg2) { return false; }
virtual void nav_script_time_done(uint16_t id) {}