Please login or register.

Login with username, password and session length

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.

Author Topic: AIS - Something is working, but ships wont show up in BC  (Read 8492 times)

April 02, 2021, 07:39:48 PM
  • Member
  • **
  • Posts: 11
    • View Profile
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

April 02, 2021, 10:19:25 PM
Reply #1
  • Member
  • **
  • Posts: 11
    • View Profile
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

April 02, 2021, 10:54:00 PM
Reply #2
  • Administrator
  • Member
  • *****
  • Posts: 146
    • View Profile
Thanks for the update. I'll check why they don't automatically match.

April 04, 2021, 08:57:09 PM
Reply #3
  • Member
  • **
  • Posts: 11
    • View Profile
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

August 13, 2022, 05:47:36 PM
Reply #4
  • Member
  • **
  • Posts: 61
  • Officer of the Watch Deck
    • View Profile
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
« Last Edit: August 13, 2022, 06:41:03 PM by elir71 »

August 13, 2022, 09:37:35 PM
Reply #5
  • Administrator
  • Member
  • *****
  • Posts: 146
    • View Profile
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.

August 14, 2022, 06:57:16 AM
Reply #6
  • Member
  • **
  • Posts: 61
  • Officer of the Watch Deck
    • View Profile
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