The thing about capacitors is that they are not ideal for using as power supplies. Their use is for filters, coupling and decoupling mostly. In digital systems they are used to power memory cells, but we are talking very, very short times (much less than a second).
A capacitor has a the relationship
i_{c} = C \frac{dv_{c}}{dt}
Here, the current i_{c} is the current running into the capacitor.
Rearranging the equation gives you
\frac{dv_{c}}{dt} = i_{c}/C
As you can see, if the capacitor is used to supply a system (robot) the voltage will decrease. It is impossible to use a capacitor to power something (led, robot, resistor, whatever), for times longer than a few miliseconds or microseconds without the voltage changing rapidly.
So you can't charge a capacitor to 24 volts and then use it to provide a circuit with a stable 24 volts. The more current you use, the quicker the voltage goes down.
In conclusion: A capacitor is not use able as a power supply. You need to use batteries for this. Batteries can hold much more energy also, and they provide a stable voltage at their nodes.
Remember also, that if you want a power supply to run a motor, it is not enough to know the voltage it needs, you must also know something about how much current the motor needs to operate in the region you want it in.
IF you wanted to use capacitors to power your robot, you would need a very, very big capacitance. But again, the capacitor would not be able to provide a stable 24 volts. As soon as you begin tapping energy from it, the voltage drops.