ethz-asl / mav_trajectory_generation

Polynomial trajectory generation and optimization, especially for rotary-wing MAVs.
Apache License 2.0
528 stars 222 forks source link

std::iota error fixed #85

Closed michaelpantic closed 5 years ago

michaelpantic commented 5 years ago

Issue: Did not compile on gcc 7.3.0 (default on ubuntu 18.04). Error: 'iota’ is not a member of ‘std’. C++11 was activated, so that wasn't the issue.

Reason: std::iota has been introduced into the standard lately and may be in different headers for different compilers, even if they're c++11 compliant. Hopefully that fixes it.

@helenol ptal and check if it still compiles on your machine ;-)

michaelpantic commented 5 years ago

@helenol btw since mav_trajectory_generation is not a submodule of mav_pathplanning anymore it doesn't get included according to our standard installation manual - and things fail to build. I'll add id to the rosinstalls.

michaelpantic commented 5 years ago

See https://github.com/ethz-asl/mav_tools/pull/379