In sci-fi there is artificial gravity.
But it occurred to me gravity is more complex that just saying the "gravity plating" on your Starship Enterprise is set to 1g.
1g, or 9.80665ms2 is the nominal average on Earth. It is a result of being 6371km (ish) from a centre of gravity of a mass of 5.972 × 1024 kg.
Basically the force is based on a constant times the mass of each object divided by the distance squared. So the force per mass of the object on the surface (i.e. you) is based on this constant times the mass of the earth divided by the radius squared.
But you get the same end result if the mass of the planet on which you are standing is much higher and the radius much lower. If you stood on a super dence object only 1km wide you could experience 1g.
There is a difference though, now your (near) 2m height means that the radius is noticeably different when considering the gravitational force at your feet and your head. You would feel the difference I expect! If you jumped in the air you would quickly have much lower gravitational force - reaching escape velocity would be way easier, surely?
Take it to the extreme, a 1m radius object with enough mass to be 1g at your feet, what is that at 3m from centre of gravity, 1/9th g? Light headed or what - jump and you are gone!
So the gravity plating on starships is not just a matter of being 1g, it is also about the apparent distance involved, surely. But the gravity is not exerted much beyond the ship, if at all. Lots of episodes show this, so it must be the like 1m radius Earth... Emulating a super dense but small structure.
Do all star trek people get used to being so light headed?
If we lived in such a world, would we evolve to be midgets?
These are questions we need to ask, people...
P.S. As per one of the comments, creating gravity by spinning part of the ship has the same issue. You can have a small radius spinning fast or a large radius spinning more slowly. The effect will be 1g at your feet but the change in gravity at your head would depend on the radius. I really had not though that gravity at a point in space has both a force and a rate of change like that, but it is obvious when you think about it! It also means that gravity because you are simply in a box that is accelerating is different yet again, indeed, you should be able to detect that this is not the same as gravity on earth, from inside a sealed box, even if you measure 1g, because it is not different at different heights in the box.