Closed alexisutc closed 5 years ago
I think the PX4 team will take no responsibility here. You probably have to contact the PSP team at MathWorks. I am trying to understand this tool myself but am not fully sure what's the use. The guide states confusing things that I find to be contradictory at times. I probably have been entirely misled by the marketing of it on the MathWorks page where it was introduced.
Hi,
actually I found the problem : the file windows_bash_nuttx.sh
makes the issue...
If you don't use the GCC / gcc-arm-none-eabi v5.4 it doesn't work
So basically i had to merge the mathworks windows_bash_nuttx.sh
file with the file here
bash on windows. Why ?
Because the original mathlab windows_bash_nuttx.sh
is not compiling...
it helped a lot but the systems still doesn't build the firmware of mathworks.
Now I have the problem that following part is missing :
make[4]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. gcc: error trying to exec 'cc1': execvp: No such file or directory gcc: error trying to exec 'cc1': execvp: No such file or directory make[5]: [mkconfig] Error 1 make[4]: [tools/mkconfig] Error 2 CMakeFiles/nuttx_export_px4fmu-v4.dir/build.make:60: recipe for target 'px4fmu-v4/nuttx_export.stamp' failed make[3]: [px4fmu-v4/nuttx_export.stamp] Error 2 CMakeFiles/Makefile2:69: recipe for target 'CMakeFiles/nuttx_export_px4fmu-v4.dir/all' failed make[2]: [CMakeFiles/nuttx_export_px4fmu-v4.dir/all] Error 2 Makefile:162: recipe for target 'all' failed make[1]: [all] Error 2 Makefile:164: recipe for target 'px4fmu-v4_default' failed make: [px4fmu-v4_default] Error 2
Congrats on fixing one problem and sorry that you immediately ran into another :P
What OS and Matlab version are you using?
Thanks haha
Matlab 2018b Windows 10
are you trying also to run the pixhawk with matlab in one of your projects ?
Here's the problem:
You are not using the version of Matlab that they tested this thing on. They say that it works with R2017a & R2017b and that it also works in R2018a with limitations to External Mode functionality. They made no mention of R2018b at all. The thing is, I've discovered from talking to others who have been trying it that it doesn't even fully work with R2017a. What I've heard from other users is that the target-specific simulink files (like the example files) will not open all the features and blocks in simulink 2017a. They will only open completely in 2017b, even though matlab says on their website that the PsP is valid for both 2017a and 2017b.
Windows 10 is a malware, so please get rid of it.
Just kidding about the second one. Don't take it seriously :p
Yes, I am trying to use the PSP for my project. My journey went something like this:
That's my journey so far.
A big Hmmmm....
Well actually i try to compile the code with a ubuntu environment in windows... And I have no real problem with matlab so far .... I thinck, i think its more coming from a gcc incompatibility.
got my PX4 folder with the tools installes from the (rebuild) windows_bash_nuttx.sh
file (that I can give you if you want)
But i can't build the whole firmware of matlab..
If you want we can exchange on a messenger system (like skype or other) before publishing the solutiion here (to keep the post clean ^^)
GitHub doesn't show me any private messaging options. Are you on Slack? If you go the the PX4 slack (https://px4.slack.com), you should be able to look me up and send me messages on there. I'd definitely want to be in touch.
Na i don't have slack can you add me on skype please alexisoffermannpro
Closing this; We don't provide support for the PSP.
sad, i was founding the solution
Hello all,
i go threw following topic Pixhawk Support Package
finally when i try to run the make make px4fmu-v4_default
command, it stops with following line
Can anybody help me solving this issue please ?