Parrot Drone Mambo - Optical Flow - Vicon
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi there,
I am trying to disable the optical flow functionality in the Parrot Drone Mambo Flight Simulation full implementation design. I was wondering if there is a quick way to disable the optical flow feature and/or instead feed the X,Y,Z position via the Vicon ROS Subscribe block?
A second issue is feeding the parrot drone with X,Y,Z position via the Vicon ROS Subscribe block. It turns out in order for the ROS Subscribe block to work the external target has to be set to ROS instead of Mambo Parrot Drone. So I'm not sure how I can send the Vicon data from my computer to the drone.
Could you please advise how I may address any of the issues above?
Thank you.
Sincerely,
Ben
댓글 수: 3
Jasvir Virdi
2019년 3월 31일
Hi Ben,
Thanks for the reply. I am not able to work with the UDP as well due to slow rate issue. I am doing the same as you said. I run 2 models: one which gets data from vicon across wifi to my laptop and then I send this data to drone on bluetooth.
It is sending the data. You can log the data and check it. Just download the mat log file and see. Currently, I am directly using the x,y,z coordinates sent by vicon to update x,y,z position of drone. I can share the model with you.
I thought about another way as well. We could directly send the data from vicon to drone if we are able to successfully upload the simulink model that vicon has given on their website on the drone. However, after trying that, my drone did not start. Can you try that way and check?
You must be using these models:
I uploaded the udp one on the drone. It uploaded successfully but when I pressed the start button on the flight control interface, it did not run and it said there is bluetooth connection error. I tried uploading the second model which receives data using Vicon SDK. That does not complie successfully and it shows some error. Please could you try these 2 ways and get back to me. My email is jvirdi2@illinois.edu
Thanks
Jasvir
답변 (3개)
Omar Shadeed
2019년 5월 14일
Hi Jasvir, I also thought of uploading the Vicon model directly to the parrot mambo but it gave the same errors. Now I’m using the Simulink model that Vicon provides to get the data from Vicon to my PC then I’m sending it using udp send block ( from parrot library) and on the parrot side I’m using udp receive (also from parrot library). I can get the data successfully but there’s a big delay. So do still have that delay problem or you could fix it ? Thanks,
댓글 수: 0
Omar Shadeed
2019년 5월 14일
Also what’s the sampling rate you set in the udp receive block ( in the parrot side) ? I set it to 0.005 and the set the Vicon model to 0.005 as well but still there’s a big delay.
댓글 수: 1
Jasvir Virdi
2019년 5월 14일
I hope you are not using any filters to remove noise when sending data to your drone. That is one reason why delay comes in. You should place all your filters on the drone and just send the raw data directly without doing anything to it. The udp receive is set at 0.005 seconds since it is on the drone side.
Omar Shadeed
2019년 5월 14일
Hi Jasvir,
I tried what your suggested and removed all the filters to the parrot model. Now, the delay is quite acceptable, however, the drone oscillates in both X and Y direction and diverges at the end. I'm still using the controller parameters provided for "asbQuadcopterStart". I also attached a grapg that shows the Y position and the Y reference (in hovering mode) and it shows the drone oscillating in the Y direction. Did you face this problem or it worked well in your case ?
Thanks,
댓글 수: 3
Omar Shadeed
2019년 5월 15일
I didn’t get what you mean by changing the observer model. Also for optical flow data I disabled it from the parrot model and getting X and Y positions and their derivatives from Vicon.
Omar Shadeed
2019년 5월 15일
Thanks for your reply.
Do you mean this part of the position Controller ? (in the picture attached). Also I didnt get how will the optical flow have an effect on this if it's disabled already ?
참고 항목
카테고리
Help Center 및 File Exchange에서 Network Connection and Exploration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!