ROS2, Nxtpx4v2 servo control

Hi,

I’m trying to control servo using ros2, I have been trying for the past few days. I’m new too this and i don’t quite know the depth of this. I have tried MAVROS and MicroXRCE DDS agent, none of them worked. I’m not able to able to understand if the problem is on ros side or fc side. Im using Jetson as the computer, and my overall aim is to control the servo through ros2 humble which i will be running on jetson. The servo through the qgc slider moves(peripherals via actuator set 1, PWM_MAIN_FUNC8, 301), thats all i have understood so far. If anyone can help me move the servo and tell me where i was going wrong it would be really great!