Replies: 6 comments 3 replies
-
I suspected JSBSim would run OK considering there is already a normal linux system running on the board. What I'm still not sure of is how the hardware timer compares to the timer on ARM or x86 chips. I don't have test plan for that, but I'll look into it. In the mean time I'll source a heat sink and fan before doing any stress testing. |
Beta Was this translation helpful? Give feedback.
-
@dpculp out of interest, did you buy this SBC specifically for JSBSim use, or are you planning on using it for something else and just decided to check out JSBSim on it as well? |
Beta Was this translation helpful? Give feedback.
-
Are you referring to the timer that JSBSim makes use of from the OS for the realtime path? Lines 530 to 555 in 08a3ae5 In other words Lines 112 to 144 in 08a3ae5 |
Beta Was this translation helpful? Give feedback.
-
Bertrand wrote:
A bit off topic but the __BORLANDC__ flag is quite outdated 😄
May be we should get rid of it, one day ?
I was noticing this recently – I agree, this doesn’t really apply any more and is a minor nuisance. The flag can almost surely be removed and the code cleaned up.
JB
|
Beta Was this translation helpful? Give feedback.
-
I ran a tougher test using a 500 hz integration rate, thinking the higher rate (which is also not divisible by 30) might induce a timer round-off. On both of the machines, an amd64 and a riscv64, the results after 5 minutes of a real time run are the same. My fears of a hardware timer difference were unfounded. Or, the test isn't testing what I think it's testing. |
Beta Was this translation helpful? Give feedback.
-
I've got JSBSim running on a RISC-V based single board computer. The SBC is the new VisionFive 2 from StarFive. It has a quad core CPU, 8 GB of memory, and runs Debian linux. The computer is not very fast. Even the Xfce desktop runs slowly, but considering how new the tech is I'm not disappointed.
The Debian image supplied by StarFive contains the gcc version 11.3.0 compiler and Python 3.10.5
I've had no trouble getting other software built for the RISC-V 64 bit platform using apt. Things like cmake, git, gnome system tools, htop, gedit.
Beta Was this translation helpful? Give feedback.
All reactions