Bridge Command Forum

Support => Bridge Command General Support => Topic started by: hhandresen on April 02, 2021, 07:39:48 PM

Title: AIS - Something is working, but ships wont show up in BC
Post by: hhandresen on April 02, 2021, 07:39:48 PM
Hi,

I got AIS up and running and have a World in the area of receiving AIS targets.
In Map Controller I can see the targets, but I don't find out how to link them to BC.
I created all the targets in othership.ini (and can see them in the BC but they are not mooving)

Please advice.

Number=1
Type(1)="Alkmini"
InitLong(1)=8.4233
InitLat(1)=55.4718
mmsi(1)=2190045

Number=2
Type(2)="Alkmini"
InitLong(2)=8.442
InitLat(2)=55.4615
mmsi(2)=219000603

Number=3
Type(3)="Alkmini"
InitLong(3)=8.4397
InitLat(3)=55.4608
mmsi(3)=219000604
Title: Re: AIS - Something is working, but ships wont show up in BC
Post by: hhandresen on April 02, 2021, 10:19:25 PM
Finally I got it to work - My mistake I had already put in the MMSI-Number in othership.ini So could not map it in Map Controller.

I will suggest an update so it will map automatically if MMSI match :)

Or even better - what about autocreation of MMSI targets ??

Thanks for the very nice simulator.

/Henrik
Title: Re: AIS - Something is working, but ships wont show up in BC
Post by: forum_admin on April 02, 2021, 10:54:00 PM
Thanks for the update. I'll check why they don't automatically match.
Title: Re: AIS - Something is working, but ships wont show up in BC
Post by: hhandresen on April 04, 2021, 08:57:09 PM
Hi,

I found out that if othership numbers are max 38, ais target will automatically pair up - but if 39 it will not math, and if 40 and more, othership will not show up in map controller at all.

Hope you can use the information :)

/Henrik
Title: Re: AIS - Something is working, but ships wont show up in BC
Post by: elir71 on 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
Title: Re: AIS - Something is working, but ships wont show up in BC
Post by: forum_admin on 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.
Title: Re: AIS - Something is working, but ships wont show up in BC
Post by: elir71 on 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