amymcgovern / pyparrot

Python interface for Parrot Drones
MIT License
274 stars 129 forks source link

AttributeError: 'project' has no attribute 'myclass' #203

Open mipcmhone6s opened 4 years ago

mipcmhone6s commented 4 years ago

맘보 디렉트 실행할때 오류화면

Hello! @amymcgovern I really like this project.

I ran "demoMamboDirectFlight.py", but I met this issue.

Does anyone have solved it?

sergio14 commented 2 years ago

Hi, it seems like this is related to untangle updates. You will need to edit: at least line 163 in DroneSensorParser.py and 45 in DroneCommandParser, if you take a look you will note that where my_file.project.myclass need to be replace by my_file.project.get_elements() in order to align to new untangle parser object. Best.

toncho11 commented 1 year ago

Hi, it seems like this is related to untangle updates. You will need to edit: at least line 163 in DroneSensorParser.py and 45 in DroneCommandParser, if you take a look you will note that where my_file.project.myclass need to be replace by my_file.project.get_elements() in order to align to new untangle parser object. Best.

Yes. This fixed the problem, but why is it not updated in the main code? Maybe because there is a suggestion for another XML parsing library by ShusenLiu?

amymcgovern commented 1 year ago

I haven't updated as I haven't been supporting the project anymore due to not having working parrot drones anymore (since parrot stopped supporting them)

toncho11 commented 1 year ago

I see. You mean the Minidrones are no longer supported?

amymcgovern commented 1 year ago

Yes, parrot stopped supporting anything except the anafi