Batteries, receiver etc. are very safe in the front structure if they are packed in a foam sleeve.
Many hard landings will cause no damage. The same applies to your electronic units provided that they are cossetted in a shock-absorbing foam sleeve.
You just cut off the length you require.
Inner diameter: 35 mm
Foam rubber sleeve, approx. 250 mm