python

When you use RTI Connector, all the types, topics, domain, and entities must be defined in an XML file that gets loaded when the Connector object is created.

For example, the following snippet loads the required definitions from "config.xml" and then instantiates a new Connector object for the domain participant "MyParticipant" defined in the participant library "MyParticipantLib"

const rti = require('rticonnextdds-connector');
var connector = new rti.Connector("MyParticipantLib::MyParticipant", "config.xml");

 

469 reads — 0 comments

RTI Connector for Connext DDS is a convenient way of using scripting languages (JavaScript, Python, or Lua) to access a DDS network, and is available through the RTI Labs website (https://www.rti.com/labs), from the RTI github account(https://github.com/rticommunity/rticonnextdds-connector), or can be installed quickly using npm, the Node(.js) Package Manager.

Some extra steps may be needed when installing RTI Connector on a Windows PC:

3864 reads — 0 comments
Subscribe to RSS - python