Skip to content

Commit

Permalink
using trajectory setpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Nour elmenshawy authored and MaEtUgR committed Oct 28, 2023
1 parent 2095490 commit de012d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/concept/flight_tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ The instructions below might be used to create a task named *MyTask*:
```cpp
#include "FlightTaskMyTask.hpp"

bool FlightTaskMyTask::activate(vehicle_local_position_setpoint_s last_setpoint)
bool FlightTaskMyTask::activate(const trajectory_setpoint_s &last_setpoint)
{
bool ret = FlightTask::activate(last_setpoint);
PX4_INFO("FlightTaskMyTask activate was called! ret: %d", ret); // report if activation was successful
Expand Down

0 comments on commit de012d3

Please sign in to comment.