News:

Registration is only required if you want to post, and is not needed to read any posts. To avoid excess 'spam' accounts, all accounts where no posts have been made will be deleted after two weeks. Please register again if you wish to post.

Main Menu

Recent posts

#91
Models / Under Bridge
Last post by elir71 - August 18, 2022, 07:40:20 AM
When my own ship tries to pass under a (my own) bridge, it bounces off it instead of passing under it

It is almost certainly a modelling problem

Has anyone any pointers on how to remediate this ?
#92
Bridge Command General Support / Re: AIS - Something is working...
Last post by elir71 - August 14, 2022, 06:57:16 AM
Yes that works on my connected opencpn, however arpa must be enabled and near stationary targets not picked up by this arpa do not show as AIS targets.  If we used the sentence above, only need to transmit once every 2 sec or so , then I think it would have some benefits as in the future we could introduce some gyro error into the simulation and virtual ais aids to navigaiton, i.e. an ais  target for something that isnt physically there
#93
Bridge Command General Support / Re: AIS - Something is working...
Last post by forum_admin - August 13, 2022, 09:37:35 PM
First a note about Henrik's problem above, we found that this was a problem relating to the length of the messages that were being sent between the programs (highlighted when many other ships were loaded), and this has been resolved in version 5.6 and later.

For the AIS query, Bridge Command (via the Map Controller) can currently read real AIS data so you can have real world, real time ship movements in a scenario. However it does not currently generate virtual AIS data for the ships in the scenario. I can look into this, but in the mean time, the closest thing is that if you have ARPA enabled on the radar, it will send out the NMEA 'TTM' message (tracked target message) for each tracked target. To receive this, configure the NMEA settings in the normal way, and it should be visible in your chart plotter.
#94
Bridge Command General Support / Re: AIS - Something is working...
Last post by elir71 - August 13, 2022, 05:47:36 PM
I have put in MMSI numbers in each of the 22 ships in my own scenario
however what port should I be listening on with  my chart plotter to receive this information ?

Im receiving my own ships AIS NMEA strings but not other ships

Looking at the source code NMEA.cpp line 234
the code pertaining to another ships report that you would expect to receive from other ships is commented out
#95
Bridge Command General Support / Re: How much can a Raspberry P...
Last post by forum_admin - August 12, 2022, 09:41:32 PM
Hi, the raspberry Pi 4 is substantially more powerful than the Pi 3, so I'd suggest only using the Pi 4 for anything with 3d graphics, but radar only on the Pi 3 may be OK, and I can't see that you would have any problems with the map controller.

The 3d performance on the Pi 4 is OK but not brilliant - typically I think I was getting 10-15 fps, but with shaders for the sea turned off. So I think it may be OK, but potentially a bit marginal. Are you wanting multiple 3d views (for a panoramic view)? If so, the framerate becomes more important, because it also affects the lag between the different 3d views.

Hopefully this is useful, any feedback (and pictures) of how things work would be great!
#96
Scenarios / Re: Scenarios wrapping everyth...
Last post by forum_admin - August 12, 2022, 09:30:51 PM
Hi, at the moment (5.7.12) you can add 'Land Object' and buoy models within a world model, but not within a scenario.

So for example if you had a world model called TestWorld, then you could have

TestWorld
|- terrain.ini
|- etc...
|- Models
     |- LandObject
          |- MyLandObject1
          |- MyLandObject2
     |- Buoy
          |- MyBuoy1
          |- MyBuoy2

Separately, you can also add your own models of all types (Buoy, OwnShip, OtherShip, LandObject) and World models in your user folder (as shown if you click on the 'Open user folder' in the launcher). This means that even if you don't have write access to the installation location, you can add your own models. Within the user folder, you would have two folders, 'World' and 'Models', structured in the same way as in the installation.

So at the moment you can't wrap the custom models within a scenario folder, but I can see that this might be useful. I'll see how hard this would be to implement
#97
Scenarios / Scenarios wrapping everything ...
Last post by elir71 - August 12, 2022, 04:48:12 PM
Is it possible to add as subfolders, models and worlds which are particular to a scenario, and if so what is the directory structure ?

My new scenario
|
--- World --------+----- Humber Estuary
|                        |
|                        |
|                       + ------ Dover Straits
|
| ---- Models ---+ ----- Buoy
                         |
                         + ----- LandObject
                         |
                         + ----- Othership
                         |
                         + ----- Ownship
 

#98
I have been playing around with this simulator for work and am loving what I see so far. I would love to be able to run this off of a couple of raspberry pi's rather than PC's  to save on money and space.

My plan right now is to run the ENC and the Map Controller (I have been calling in Game Master) from raspberry pi's networked to a simulator PC that would run the Radar and driving. I would like to be able to run the simulator PC, Map Controller, and ENC all through three separate Pi's but I am curious if a Pi can actually work with all of the stuff needed for the visuals.

For testing right now I have two pi's one is a model 3 and the other a model 4. I planned to have the model 4 run the Map Controller and the 3 run the ENC. I was planning on also testing out the 4 on the simulator but dont want to waist my time if the answer is "pi doesnt have the power"

I saw the post from vpelss talking about what they did to get everything to run. But haven't seen anyone talk about running the simulator from the Pi with multiple screens (Radar and at least two screens for viewing).
#99
Models / Re: models file formats for ir...
Last post by elir71 - July 29, 2022, 02:18:59 PM
I had no success in exporting to .3ds

however, I did have success in exporting .obj Wavefront format with its accompanying .mtl file

#100
Environment models / Re: World Model Creation
Last post by forum_admin - July 19, 2022, 11:12:19 PM
Bridge Command uses metres internally, and assumes that binary heightmaps are defined in metres, so as long as the original data is in metres, they should be correct. Please double check the source, but let me know if it still doesn't look right.

For information, from the latest release (5.7.12), there are a few improvements to terrain loading, including directly supporting 3dem 16 bit integer and 32 bit floating point terrain matrix (the 3dem format uses a separate binary map and ascii header file). Additionally, if the heightmap isn't (2^n + 1) square, instead of resizing it, Bridge Command now uses the data directly (it still internally using a 2^n+1 square worldmap, but just picking the next size up, and only using the amount required.)