You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear team,
Could you guys give some help or advice about this.
I have no idea where to debug this, I am using same code, but this error just appear in second day, seems strange.
Issue details
I am using OFFBOARD mode to control the Drone to fly indoor, I have depth sensor and visual tag as feedback and using speed closeloop control. But when I publish msg to /mavros/setpoint_raw/local at 100hz for several second, the error appeared, and seems the drone can not receive any msgs, I test several publish rate and different pixhawk(2 and 4) the error still exist.
I am complete lost. please give a direction.
Look at diag entry "mavros: FCU connection", when you got overflow.
Check rate of your setpoints, on sub 1M baud 100 Hz should be ok.
But you somehow generate much more messages than port may handle.
TX queue have 1k limit, which in normal case newer hit (usually 10 entries max).
Other possible thing, that your UART adaptor cannot handle 921600 and effective bandwidth limited by something else.
YES!!!!!!!!!!!!
You are right about this!
I checked the publish rate of the topic, and found it become 1000HZ, not 100 HZ, and then I found there is a indent error in my code that failed the rate.sleep(), I modified it ,and it work as usual !
Hi guys,
I guess that I have same problem like you, eleboss... I changed FCU on 921600 but I would like to know where did you find publish rate!
Please, can you help me? THX
Dear team,
Could you guys give some help or advice about this.
I have no idea where to debug this, I am using same code, but this error just appear in second day, seems strange.
Issue details
I am using OFFBOARD mode to control the Drone to fly indoor, I have depth sensor and visual tag as feedback and using speed closeloop control. But when I publish msg to /mavros/setpoint_raw/local at 100hz for several second, the error appeared, and seems the drone can not receive any msgs, I test several publish rate and different pixhawk(2 and 4) the error still exist.
I am complete lost. please give a direction.
[ERROR] [1531909356.890979783]: 0: DROPPED Message SET_POSITION_TARGET_LOCAL_NED: MAVConnSerial::send_message: TX queue overflow
My launch procedure:
terminal1: roslaunch mavros px4.launch
terminal2: rosrun offboard drone_control.py
My px4.launch
the main loop of my control code
MAVROS version and platform
Mavros: 0.18.4
ROS: Kinetic
Ubuntu: 16.04
Autopilot type and version
PX4, the latest version .
My hardware setup :pixhawk4 -(PX4 1.8.0) and pixhawk2, both have the same issue.
Node logs
Diagnostics
The text was updated successfully, but these errors were encountered: