Jaeyoung-Lim / px4-offboard

Example of PX4 offboard control over microdds using python ROS 2
BSD 3-Clause "New" or "Revised" License
120 stars 52 forks source link

Issues regarding running the code #12

Closed robbiewyu closed 2 months ago

robbiewyu commented 1 year ago

Hello, thanks for posting this illuminating example! When I run it, the vehicle status (navigation mode) keeps on reverting to 4 (loiter mode) and not the desired 14. All the channels are getting published to though. I tried changing the gazebo parameters (param set COM_RCL_EXCEPT 4, param set NAV_DLL_ACT 0, and param set NAV_RCL_ACT 0) so that remote control loss wouldn't result in an automatic mode switch, but I haven't had any success. Wondering if there's anything setup-specific.

Thanks!

Jaeyoung-Lim commented 1 year ago

@robbiewyu It is most likely that your ros2 publications are not reaching PX4