|
From: | Hector Garcia de Marina |
Subject: | Re: [Paparazzi-devel] Writing a simulator within nps |
Date: | Tue, 15 Sep 2020 13:19:19 +0200 |
Hello Hector,
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...
Gautier
Le 11/09/2020 à 16:30, Hector Garcia de Marina a écrit :
Hi guys,
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"/>
</target>
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.
Cheers,
--
Team member in the open-source UAV hardware and software project Paparazzi: https://wiki.paparazziuav.org
_______________________________________________ Paparazzi-devel mailing list Paparazzi-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
rover.png
Description: PNG image
[Prev in Thread] | Current Thread | [Next in Thread] |