Robotics StackExchange | Archived questions

missing packets from vicon bridge

I'm passing vicon data to a pixhawk for velocity estimation for autonomous flight. Frequently, there are gaps in the data from vicon bridge that causes the position and velocity estimates on the pixhawk to wander all over the place.

I can't figure out where the bottleneck in the system is. The gaps in the data can last up two a few seconds.

Has anyone else had trouble with gaps in the vicon data?

My Setup: I have a windows computer running the vicon tracker software. Both the vicon computer and my loptop are on the same private wireless network. I am running vicon_bridge on my laptop using the ClientPull stream mode. I'm running a repeater node on my laptop that is sending vicon information back over the wireless network to my odroid computer. The odroid computer is running the control/autonomy software and is passing vicon data/ desired attitude/ and throttle to the pixhawk.

I have tried bagging on both the odroid and the laptop and have not seen any difference in the consistency in the vicon stream. The same gaps in the vicon data and the repeated data are the same in the bag so I believe the problem is upstream of the repeater node.

Asked by holmes.kirby on 2016-03-06 14:18:26 UTC

Comments

This is over a wireless link?

Asked by gvdhoorn on 2016-03-07 02:46:19 UTC

yes. its a private network. there isn't any other traffic

Asked by holmes.kirby on 2016-03-07 09:57:02 UTC

I'm not saying it is the cause of the issue you are seeing, but every wireless network will suffer from packet loss. Even if it is a private network, there will/can always be interference from other networks / microwaves etc. Can you tell us a bit more about your system setup?

Asked by gvdhoorn on 2016-03-08 04:07:08 UTC

Ive edited the question

Asked by holmes.kirby on 2016-03-08 08:08:05 UTC

You have a lot of wireless action going on. I'm not sure I understand you correctly, but are you saying that there is a wireless connection between the 'vicon computer' and your laptop? Have you tried with all-wired, and see whether that makes a difference?

Asked by gvdhoorn on 2016-03-10 04:17:13 UTC

Answers