bugCERTI - Bugs: bug #53641, Register Object Instance needs a...

 
 

bug #53641: Register Object Instance needs a more specific name

Submitted by:  JbCh <jb_ch>
Submitted on:  Fri 13 Apr 2018 02:40:08 PM UTC  
 
Category:  Test : Billard Severity:  3 - Normal
Item Group:  Software error Status:  Fixed
Privacy:  Public Assigned to:  JbCh <jb_ch>
Open/Closed:  Open Release:  GIT-master
Reproducibility:  None Fixed Release:  Unknown

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 23 May 2018 06:17:45 AM UTC, comment #1:

Bugfix included in br_jbch_4.0.0 (commit 781b3cd014)

Tested, works thus considered as fixed.

JbCh <jb_ch>
Project AdministratorIn charge of this item.
Fri 13 Apr 2018 02:40:08 PM UTC, original submission:

I am currently re-implementing the hla bridge.

The test of the bridge (using billard) was not possible due to how the object are registered in the billard.

In "Billard::declare()" the obkect is registered with the federate name, which will be then the same in the TWO federations resulting on an error.

Thus for mutli-federation compliance, I use the following trick:
std::string ObjectInstanceName = federationName + federateName;
local.ID = registerBallInstance(ObjectInstanceName.c_str());

JbCh <jb_ch>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jb_ch (Submitted the item)
  •  

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-05-23 jb_ch StatusIn Progress => Fixed

    Back to the top


    Powered by Savane 3.4