Barometer added to compas code.