mit-gfx / multicopter_design Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v2.0
License: GNU General Public License v2.0
Hello!
I was following the steps from the manual to build on windows but it seems like the scrypt for 3dr party libraries is not working as it should.
Here is the c/p what I get when I run it with the power shell:
_PS D:\GitHub\multicopter_design> ./windows_setup.ps1
wget : Repository eigen/eigen not found
At D:\GitHub\multicopter_design\externals\opengl_viewer\windows_setup.ps1:5 char:1
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc
eption
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
Expand-Archive : The path 'Eigen.3.3.4.zip' either does not exist or is not a valid file system path.
At D:\GitHub\multicopter_design\externals\opengl_viewer\windows_setup.ps1:6 char:1
+ CategoryInfo : InvalidArgument: (Eigen.3.3.4.zip:String) [Expand-Archive], InvalidOperationException
+ FullyQualifiedErrorId : ArchiveCmdletPathNotFound,Expand-Archive
mv : Cannot find path 'D:\GitHub\multicopter_design\externals\opengl_viewer\externals\eigen-eigen-5a0156e40feb'
because it does not exist.
At D:\GitHub\multicopter_design\externals\opengl_viewer\windows_setup.ps1:8 char:1
+ CategoryInfo : ObjectNotFound: (D:\GitHub\multi...en-5a0156e40feb:String) [Move-Item], ItemNotFoundExce
ption
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.MoveItemCommand
rm : Cannot find path 'D:\GitHub\multicopter_design\externals\opengl_viewer\Eigen.3.3.4.zip' because it does not exist.
At D:\GitHub\multicopter_design\externals\opengl_viewer\windows_setup.ps1:9 char:1
+ CategoryInfo : ObjectNotFound: (D:\GitHub\multi...Eigen.3.3.4.zip:String) [Remove-Item], ItemNotFoundEx
ception
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand_
How to solve this?
Brs
While running ./linux_setup.sh getting 404 error for Eigen as the repository has been moved from bitbucket to gitlab. Need to update the setup scripts for macOS and Linux under the opengl_viewer folder. I have already made changes in setup scripts locally and tested them. I will soon raise a PR fixing this issue.
Hi! I'm a new coder and having trouble downloading the project in order to actually use the software. I have never used GitHubI feel pretty dumb asking because I've combed through the directions and can't understand them. I'm running on macOS Catalina. I want to use this software to design a drone to carry a rocket. I would really appreciate someone pointing me to a tutorial that would be helpful in downloading the software. Thanks!
Hello,
Thank you for this project.
I'm trying to simulate my own UAV using this software.
I started by testing the different models present in the library, everything works fine.
Then, I try to build my own .xml model.
If an object is missing (plate, connector, tube,...), I get the error "Empty node" which is normal.
On the other hand, when I add all the necessary objects, I get the error: "Failed to find a trim condition".
My custom .xml doesn't work, so I went on the .xml of the quadcopter to make a version with only 2 propeller.
By removing the lower propeller and their connector and tube, I still get the same error: "Failed to find a trim condition".
Is there anything i can do to fix this issue?
Here's my custom .xml attached if it can help
test.txt
.
Thank you for your help
I attempted to run the software on Visual Studio after I configured and generated it using CMake. I opened the multicopter_design.sln file that was created and opened up Visual Studio, and then pressed "build." After the software finished building, the error code "LNK1104 cannot open file 'nlopt.lib'" showed up at the bottom of the screen. I attempted to run the last working version anyway but that also did not work. Here is a picture of what my screen looks like with the error, and what pops up after I attempt to run the last working version.
I am not sure if I am experiencing this issue because I am running visual studio 2019 instead of the 2017 version or if some other error has occured.
Any help would be very appreciated, thank you!
Good day Sir I am a graphic designer and i am interested in designing a logo for your good project. I will be doing it as a gift for free. I just need your permission first before i begin my design. Hoping for your positive feedback. Thanks
hi i'm college student
i saw a post about custom design drone simulation, which i can use on my capstone project
although do the process exactly user_guide.pdf says, error has found at ./windows_design.ps1
$ ./windows_setup.ps1
./windows_setup.ps1: line 4: [Net.ServicePointManager]::SecurityProtocol: command not found
./windows_setup.ps1: line 5: wget: command not found
./windows_setup.ps1: line 6: Expand-Archive: command not found
mv: cannot stat 'externals/eigen-eigen-5a0156e40feb': No such file or directory
rm: cannot remove 'Eigen.3.3.4.zip': No such file or directory
./windows_setup.ps1: line 14: [Net.ServicePointManager]::SecurityProtocol: command not found
./windows_setup.ps1: line 15: wget: command not found
./windows_setup.ps1: line 16: Expand-Archive: command not found
mv: cannot stat 'externals/glew-2.0.0': No such file or directory
rm: cannot remove 'glew.2.0.0.zip': No such file or directory
i don' know beans about code , so pleas help me!
[ 54%] Linking C executable tearing
[ 54%] Built target tearing
Scanning dependencies of target docs
[ 54%] Generating HTML documentation
[ 54%] Built target docs
Scanning dependencies of target opengl_viewer
[ 54%] Building CXX object externals/opengl_viewer/projects/opengl_viewer/CMakeFiles/opengl_viewer.dir/src/bounding_box.cpp.o
In file included from /home/skanga/Downloads/multicopter_design/externals/opengl_viewer/projects/opengl_viewer/src/bounding_box.cpp:17:0:
/home/skanga/Downloads/multicopter_design/externals/opengl_viewer/projects/opengl_viewer/include/bounding_box.h:20:10: fatal error: Eigen/Dense: No such file or directory
#include "Eigen/Dense"
^~~~~~~~~~~~~
compilation terminated.
externals/opengl_viewer/projects/opengl_viewer/CMakeFiles/opengl_viewer.dir/build.make:62: recipe for target 'externals/opengl_viewer/projects/opengl_viewer/CMakeFiles/opengl_viewer.dir/src/bounding_box.cpp.o' failed
make[2]: *** [externals/opengl_viewer/projects/opengl_viewer/CMakeFiles/opengl_viewer.dir/src/bounding_box.cpp.o] Error 1
CMakeFiles/Makefile2:1385: recipe for target 'externals/opengl_viewer/projects/opengl_viewer/CMakeFiles/opengl_viewer.dir/all' failed
make[1]: *** [externals/opengl_viewer/projects/opengl_viewer/CMakeFiles/opengl_viewer.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2
I followed the instructions but after calling make, it gives me the message: "GL/glu.h no such file or directory".
I solved the problem by adding "-DGLEW_NO_GLU" to the main CMakeLists.txt. And so far it seems to be working :)
I'm going to try tomorrow and submit a PR if successful.
If you already have a WebAssembly build script, I'd appreciate it if you would push it up to GtHub.
Thank you for your amazing work.
Best,
Steven
I have been having a lot of trouble getting the project to compile on windows 10. The cmake compiler always errors out during the configuration stage. This is the error that I am seeing:
https://drive.google.com/file/d/1V_QjtIk8dTnwXchC50hUxvdm3hekMl2Z/view?usp=sharing
I'm using all the same software down to the version number that was in the pdf. It is also my first time actually trying to compile in CMake. If anything, is there anywhere I could find a precompiled executable for windows?
Thank You for any help.
I have these messages after pressing F5. Viewer couldn't run.
.....................................................
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\win32u.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32full.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp_win.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbase.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shell32.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\imm32.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\opengl32.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\advapi32.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\combase.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp140d.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\vcruntime140d.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbased.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\glu32.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\DXCore.dll'. Cannot find or open the PDB file.
The thread 0x2bd0 has exited with code 0 (0x0).
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\uxtheme.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmm.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dinput8.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\XInput1_4.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\devobj.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dwmapi.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\SHCore.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\InputHost.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\CoreMessaging.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\hid.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\setupapi.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\wintrust.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\crypt32.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msasn1.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msctf.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\directxdatabasehelper.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel.appcore.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\clbcatq.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\AppXDeploymentClient.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\AppXDeploymentClient.dll'
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_38c9bcde75985bb6\ig9icd32.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ole32.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dxgi.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_38c9bcde75985bb6\igdml32.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ResourcePolicyClient.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\ResourcePolicyClient.dll'
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_38c9bcde75985bb6\igdgmm32.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\version.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\version.dll'
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_38c9bcde75985bb6\igc32.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\powrprof.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\umpdc.dll'. Cannot find or open the PDB file.
The thread 0x2338 has exited with code 1 (0x1).
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\TextInputFramework.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\oleaut32.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\CoreUIComponents.dll'. Cannot find or open the PDB file.
'copter_viewer.exe' (Win32): Loaded 'C:\Windows\SysWOW64\WinTypes.dll'. Cannot find or open the PDB file.
Debug Error!
Program: ...design_build_2\projects\copter_viewer\Debug\copter_viewer.exe
abort() has been called
(Press Retry to debug the application)
.................................
(On Ubuntu 16)
When I run copter_viewer with a custom XML it always gives me "Error: Failed to parse XML: ./my.xml"
The file i'm using was made just by copying one of the default files "cp quadcopter.xml my.xml"
The default XML files work but not any ones I made
When simulating the copter, if the yaw angle becomes exactly -180 the program crashes. This is notified by the trace
copter_viewer: /home/xxx/multicopter_design/projects/copter_simulation/src/inertia_sensor.cpp:88: const double copter_simulation::RoundAngle(double): Assertion `radian >= -M_PI && radian < M_PI' failed. Aborted (core dumped)
Commenting out this resolves the issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.