A crane arranged to be mounted to a vehicle, the crane comprising: - a crane boom system, comprising crane components that includes a crane tip arranged at a free end of an outermost crane boom; - a system of actuators of the crane boom system configured to apply movements to the crane boom system such that the crane tip is moved from a current position to another position in response to received operating instructions; - a sensor system configured to monitor current positions of the crane components, and, operating conditions of the system of actuators, and to generate sensor signals in response to the monitored current positions and operating conditions; - a control interface arranged to receive a trajectory instruction for the crane tip from an input unit, the trajectory instruction for the crane tip comprising at least one wanted position of the crane tip, and - a crane controller arranged to determine the movements of the crane components applied by the system of actuators of the crane boom system, based on the received trajectory instruction for the crane tip and the current position of the crane boom system as defined by the received sensor signals from the sensor system, characterized in that: - the crane controller comprises a machine learning algorithm, including a neural network trained to calculate the movements of the crane components based on the received trajectory instruction in relation to the current position of the crane boom system, and that the crane further comprises a supervisory controller arranged to: - evaluate the calculated movements of the crane components generated by the crane controller, by comparing an accuracy measure to a predefined safety margin, wherein the accuracy measure is defined by the difference between a crane tip position resulting from the calculated movements of the crane components when moved from its current position, and a position of the crane tip calculated by the supervisory controller, based on the received trajectory instruction and on positions of individual joints of said crane boom system, when moved from the current position, and to: - generate an overruling operating instruction for the system of actuators, such as an operating instruction to stop moving, in response to the accuracy measure being larger than the predefined safety margin. - a crane boom system, comprising crane components that includes a crane tip arranged at a free end of an outermost crane boom; - a system of actuators of the crane boom system configured to apply movements to the crane boom system such that the crane tip is moved from a current position to another position in response to received operating instructions; - a sensor system configured to monitor current positions of the crane components, and, operating conditions of the system of actuators, and to generate sensor signals in response to the monitored current positions and operating conditions; - a control interface arranged to receive a trajectory instruction for the crane tip from an input unit, the trajectory instruction for the crane tip comprising at least one wanted position of the crane tip, and - a crane controller arranged to determine the movements of the crane components applied by the system of actuators of the crane boom system, based on the received trajectory instruction for the crane tip and the current position of the crane boom system as defined by the received sensor signals from the sensor system, - the crane controller comprises a machine learning algorithm, including a neural network trained to calculate the movements of the crane components based on the received trajectory instruction in relation to the current position of the crane boom system, and that the crane further comprises a supervisory controller arranged to: - evaluate the calculated movements of the crane components generated by the crane controller, by comparing an accuracy measure to a predefined safety margin, wherein the accuracy measure is defined by the difference between a crane tip position resulting from the calculated movements of the crane components when moved from its current position, and a position of the crane tip calculated by the supervisory controller, based on the received trajectory instruction and on positions of individual joints of said crane boom system, when moved from the current position, and to: - generate an overruling operating instruction for the system of actuators, such as an operating instruction to stop moving, in response to the accuracy measure being larger than the predefined safety margin. - evaluate the calculated movements of the crane components generated by the crane controller, by comparing an accuracy measure to a predefined safety margin, wherein the accuracy measure is defined by the difference between a crane tip position resulting from the calculated movements of the crane components when moved from its current position, and a position of the crane tip calculated by the supervisory controller, based on the received trajectory instruction and on positions of individual joints of said crane boom system, when moved from the current position, and to: - generate an overruling operating instruction for the system of actuators, such as an operating instruction to stop moving, in response to the accuracy measure being larger than the predefined safety margin. - generate an overruling operating instruction for the system of actuators, such as an operating instruction to stop moving, in response to the accuracy measure being larger than the predefined safety margin.