Open JaimeParker opened 2 years ago
@JaimeParker I see two problems
a)
[ERROR] [1647332086.858252172, 466.871000000]: FCU: Failsafe enabled: no RC and no offboard
You have the RC failsafe enabled for offboard mode. This means that if you have no manual control input the vehicle will reject entering offboard mode. You can turn this off if you want, but this is a safety feature for real vehicles
b) If you are not sending a setpoint, you cannot get into offboard mode. Otherwise, it is unclear what the vehicle should do in offboard mode
@JaimeParker I see two problems
a)
[ERROR] [1647332086.858252172, 466.871000000]: FCU: Failsafe enabled: no RC and no offboard
You have the RC failsafe enabled for offboard mode. This means that if you have no manual control input the vehicle will reject entering offboard mode. You can turn this off if you want, but this is a safety feature for real vehicles
b) If you are not sending a setpoint, you cannot get into offboard mode. Otherwise, it is unclear what the vehicle should do in offboard mode
@Jaeyoung-Lim , thanks for your reply, sir.
a) that's right, after I started QGroundControl, opening virtual joystick, this error is fixed I guess.
b) thanks for what you mentioned, I just realized that we need to send some points in some rate before entering into offborad mode, which can be referred here: https://docs.px4.io/master/en/ros/mavros_offboard.html
However, I still have no info said that Vision is in use and can't use commander takeoff
, still no answer.
Again, thank you, sir.
fixed, need to revise ORB_SLAM2/Example/ROS/ORB_SLAM2/src/ros_stereo.cc
, link here: https://gitee.com/hazyparker/my-research/blob/master/3_Onboard_SLAM/XTDrone_Method/ros_stereo.cc
The same problem
Hi, thank you for checking this, I'm working on using ORB SLAM2 on my drone in the gazebo environment. After I get everything done, it seems efk2 didn't get Vision information or failed to change to Vision mode, below are my steps:
edit rcS
disable GPS localization and Barometer for height measurement, using Vision instead
and importantly, delete parameters load in .ros:
so that the next time I launch the gazebo, rcS parameters will be loaded again.
add a stereo camera in the launch file
I'm using
mavros_posix_sitl.launch
, and edit like this:set .sh file
then I created a .sh file for ORB SLAM2, contents below:
Run
Finally, I started my trail
I guess ORB is working well, I put a screenshot here, According to others, there should be information like below to show that Vision is functioning well, but it didn't appear on my screen.
and my PX4 keeps noticing me that hp: requesting home position, I can't use
commander takeoff
and I can't get into offboard mode, I'm really confused, can anyone help me? here is a bug picture,and if I use offboard program, end up like: my offboard_node program and part of it:
Thanks in advance!