|Subject:||Re: [Paparazzi-devel] Writing a simulator within nps|
|Date:||Sun, 13 Sep 2020 22:49:00 +0200|
|User-agent:||Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0|
Your error is quite strange, but it is hard to tell what is going on. Do you have a public branch somewhere that I can close to test it ?
If you look at other fdm modules, the required changes should really limited.
I'm afraid that there is no real doc for NPS...
One person in my lab started to write a simulator for rovers (and later boats) in Paparazzi.
We would like to start with "cloning" nps_jsbsim. I will tell him to subscribe to the mailing list and in the chat as well xD. This is his report so far, we believe we are missing something, maybe an extra file or to add the names of the new files somewhere.
We are trying to create a new fdm based on the fdm_jsbsim for the rover.
At the moment what I have done have been:
1) Modified rover.xml adding nps target and the module fdm with the rover type.
<target name="nps" board="pc">
<module name="fdm" type="rover"/>
2) Created a file called fdm_rover.xml emplaced in conf/modules based on the conf/modules/fdm_jsbsim.xml
3) Created a file called nsp_fdm_rover.cpp emplaced in sw/simulator/nps based on (just "cloned") the /paparazzi/sw/simulator/nps/nps_fdm_jsbsim.cpp
When we compile, the compiler in Paparazzi center complains that nps_gps cannot find nps_sensor.h . We do not know whether we need to modify/add something else in order to compile a clone of the nps for the rover (and then we start writing in the new files the sim).
Or maybe it is easier if there is any documentation about nps xD, so far we are figuring it out by inspection.
Héctor García de MarinaPersonal website: https://sites.google.com/view/hgdemarina
Team member in the open-source UAV hardware and software project Paparazzi: https://wiki.paparazziuav.org
_______________________________________________ Paparazzi-devel mailing list Paparazziemail@example.com https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
|[Prev in Thread]||Current Thread||[Next in Thread]|