deepak-1530 / FastPlannerOctomap

Obstacle avoidance using RGBD Camera and PX4-Autopilot firmware.
86 stars 30 forks source link

It continues to fail with warnings in the arminig part. #3

Open romaster93 opened 2 years ago

romaster93 commented 2 years ago

Hi !!

In controller.cpp, there is a command to arminig after activating offboard mode when a trajectory is entered. However, when the trajectory is entered, arming fails with the following messages. mode also does not change. I really want to run your code. Please help.

INFO [commander] Armed by external command INFO [tone_alarm] arming warning WARN [commander] Failsafe enabled: no offboard INFO [commander] Failsafe mode activated
INFO [tone_alarm] battery warning (fast) INFO [commander] Failsafe mode deactivated WARN [commander] Failsafe enabled: no offboard INFO [commander] Failsafe mode activated
INFO [tone_alarm] battery warning (fast) INFO [commander] Failsafe mode deactivated INFO [commander] Disarmed by auto preflight disarming

ref) my recent video : https://youtu.be/V9D7GrUd87Q

deepak-1530 commented 2 years ago

Can you try arming before turning offboard mode on?

romaster93 commented 2 years ago

@deepak-1530

yes. Arming is possible before changing modes. (The throttle speed is very slow when arming.)

However, the mode cannot be changed.