(Simulation) Not able to switch to Offboard mode as failsafe getting activated in avoidance. Able to switch to Offboard in normal simulation
Shardul28G opened this issue · comments
Hi,
I am trying to run the local planner simulation. The drone is getting to altitude but not moving in direction of the target.
Here is a screenshot.
I suspect the issue is OFFBOARD not getting set. It says timeout when i run the command.
I am new to px4 and ROS . Can anyone help me with this?
Thanks
Have you find any solution? I have the same problem, but on a real drone.
Have you find any solution? I have the same problem, but on a real drone.
To enable Offboard Mode we need to pass setpoints. https://docs.px4.io/master/en/ros/mavros_offboard.html
Only then it gets enabled.
Although I have tried this but still its showing time out
Able to switch to offboard mode in simple simulation . But not able to switch in avoidance.
When i try to send set points Failsafe mode gets activated but dont understand the reason for it. Qgroundcontrol also doesnt mention any reason.
@Jaeyoung-Lim can you help ?
hello,have you solved the problem?I met the same issue.Please help~
hello,have you solved the problem?I met the same issue.Please help~
Hello, I havent solved the problem . I used a virtual machine to have clean installation . Followed the exact steps still not able to switch to OFFBOARD due to failsafe geting activated.
I solved using a second pc, one for the slam and one only for avoidance
I solved using a second pc, one for the slam and one only for avoidance
Hi @Cristian-wp , great you were able to resolve the issue . Can you help me with steps that you took , I didn't quite get you.
Thanks
I did not use the simulation, simply I had mount a second pc on my drone ONLY for the avoidance. For the rest I have follow the instruction.
I did not use the simulation, simply I had mount a second pc on my drone ONLY for the avoidance. For the rest I have follow the instruction.
ok thanks .
Hello, I am still having this issue. I am not using any hardware, I'm just trying to run the simulation with Gazebo. @Shardul28G I was able to fix the Local pointcloud error but the drone still will not go into offboard mode.
I have the same problem. Help me
Same problem here, looking forward to any suggestions that could help.
Hai
I am also facing the same problem. Did anyone find any solution?
I solved it.
PX4/px4_ros_com#111
After COM_RCL_EXCEPT = 4, split into off-storm mode.
@takata1021
Thank you for the reply.
I found out that this problem is with the latest version of PX4( version 1.13.0). When I used the stable version i.e, version 1.12.3, I don't have this problem.
For future reference, can you tell me how I can set this parameter? Since I am using PX4 and Gazebo for simulation. Do I have to use QGroundControl for doing this step?
@takata1021
Thank you