Connecting a brushless motor with hall sensors and position encoder to arduino

I don't see the current rating for that motor.
Here's the google translate English version"

These BLDC (Brushless DC) motors fit well TRINAMIC family BLDC motor modules.

• Number of poles: 8
• Number of phases: 3
• nominal 4000 RPM at rated torque
• Stepper motor compatible 42 mm flange
• 5 mm shaft diameter, 20 mm length
• typical 24V operating voltage
• up to 48 V possible
• integrated Hall sensors
• RoHS compliant

The "Datenblatt" states that this motor is 1.8A constant / 5.4A peak.

• 0.06 Nm

Manufacturer: TRINAMIC
Article number of the manufacturer: QBL4208-41-04-006
Package Weight: 0263 kg

It would help if we knew the current rating for the motor.
More than likely you can just use an RC ESC and the arduino servo library.
The Castle Creations ICE 75 & ICE 100 (A) ESCs can take an input voltage up to 34V. The ICE 50 , only up to 25V, which still allows the use of a 24V supply. They are brushless controllers so there shouldn't be a problem driving the motor and more than likely the motor rating is well below the maximum for these ESCs. The Servo library is plug and play, just connect the signal and ground to the arduino but DON'T connect the red wire on the three conductor servo cable that normally plugs into a receiver because that is the OUTPUT of the BEC in the ESC that outputs +5V to run the receiver and all the servos plugged into it. It should be plug and play. You need to find out how to connect the HALL sensors since I didn't see a datasheet link that shows the pinout of the motor cable.

FYI- I sent an email to Support@CastleCreations.com with the info above to ask about compatibility.