PX4์™€ ROS2 ์˜ˆ์ œ๋ฅผ ๋Œ๋ฆฌ๋˜ ์ค‘ [PreFlightCheck] mode not suitable for takeoff ๋ผ๋Š” ๋ฌธ๊ตฌ์™€ ํ•จ๊ป˜ ์ปจํŠธ๋กค์ด ๋˜์ง€ ์•Š๋Š” ๊ฒฝ์šฐ์— ํ•ด๊ฒฐํ•ด๋ณด์ž!


ROS2๋ฅผ ์ด์šฉํ•ด์„œ PX4 SITL ๋Œ๋ ค๋ณด๊ธฐ

3๊ฐ€์ง€ ํ„ฐ๋ฏธ๋„์—์„œ ์•„๋ž˜ ๋ช…๋ น์–ด๋ฅผ ๊ฐ๊ฐ ์ž…๋ ฅํ•ด๋ณด์ž

$ make px4_sitl_rtps gazebo
$ micrortps_agent -t UDP
$ ros2 run px4_ros_com offboard_control


์—๋Ÿฌ ๋ฐœ์ƒ

๋‹ค์Œ๊ณผ ๊ฐ™์€ ์—๋Ÿฌ๊ฐ€ ์ฒซ ๋ฒˆ์งธ ํ„ฐ๋ฏธ๋„์—์„œ ๋ฐœ์ƒํ•˜๋Š” ๊ฒฝ์šฐ๊ฐ€ ์žˆ๋‹ค

INFO  [commander] Failsafe mode activated	
WARN  [PreFlightCheck] Mode not suitable for takeoff
INFO  [commander] Failsafe mode deactivated	
INFO  [tone_alarm] notify negative

์ด ๋•Œ๋Š” ํŒŒ๋ผ๋ฏธํ„ฐ ์„ค์ •์ด ์ž˜๋ชป๋œ ๊ฒƒ์ด๋ฏ€๋กœ ๋‹ค์Œ๊ณผ ๊ฐ™์ด ํ•ด๊ฒฐํ•ด์ฃผ์ž


ํ•ด๊ฒฐ!

์ฒซ ๋ฒˆ์งธ ํ„ฐ๋ฏธ๋„์— ๋‹ค์Œ์„ ์ž…๋ ฅํ•ด์ค€๋‹ค

param set COM_RCL_EXCEPT 4
param set NAV_DLL_ACT 0
param set NAV_RCL_ACT 0

Reference

Leave a comment