Heading hold to specific orientation while runway takeoff

Hi everyone.

I want my fixed wing plane to run precisely on the runway. Is there any way to designate the runway like this image?

Have a look at this param: https://docs.px4.io/en/advanced_config/parameter_reference.html#RWTO_TKOFF#RWTO_HDG

Thank you so much! I’ll see if it works for me.