so the thing cant really fly because of the atmosphere, did they know this beforehand? how much was this mission?
It can fly, that is the whole point of the thing as a proof of concept (try to fly in an extremely thin atmosphere). They also indicated that the design is scalable to a point where it could ultimately hold around 5 or 10 kg of instrument payload on a larger version.
Showing you can have a flying drone on Mars is huge. Things you could do with it:
1) Explore areas the rovers can't reach safely
2) Examine areas a rover flat out couldn't reach (sides of cliffs, canyons, etc)
3) Recover samples and bring them back to a launch platform (the current rover is gathering samples for eventual return to Earth). If you could get drones to grab the samples from where they drop, that would actually make such a mission a bit "easier" to do.
4) Potentially cover a greater area than a rover in less time, allowing you to survey a much larger area of the planet
5) Potentially assist future astronauts in scouting/surveying
The tech is different, but they mentioned the mission to Titan that will involve a flying drone that will explore that moon (Titan will be "easier" because the atmosphere is super thick and it has even less gravity than Mars). Flying on another moon or planet is a massive step up for exploration.
Anyways, mission overall expected to cost 2.7B. Which is less than the lunar lander budget I believe. They are packing a lot of important stuff in this mission. Biggest things are the heli drone proof of concept, an experiment to try to create fuel from the atmosphere (this one is EXTREMELY important to Space X's future Mars plans), and the ability to try to identify and collect signs of life on Mars (fossilized or otherwise).
I'd rather they spend money on important stuff like this vs. being almost 200B over budget on shit like the F-35 program.