Error message

  • Warning: file_put_contents(temporary://filexbRqS2): failed to open stream: "DrupalTemporaryStreamWrapper::stream_open" call failed in file_unmanaged_save_data() (line 2024 of /var/www/html/openrtm/includes/file.inc).
  • The file could not be created.
  • Warning: file_put_contents(temporary://filegwAC91): failed to open stream: "DrupalTemporaryStreamWrapper::stream_open" call failed in file_unmanaged_save_data() (line 2024 of /var/www/html/openrtm/includes/file.inc).
  • The file could not be created.

[openrtm-users 02809] Checking connection before connecting two ports

1 post / 0 new
Amigoshan
Offline
Last seen: 9 years 6 months ago
Joined: 2011-12-01 14:18
[openrtm-users 02809] Checking connection before connecting two ports

Dear All: There’s one problem bothering me for months. I’d like to
connect two ports by programming with Java API. This is no problem. The
problem is I want to check whether these two ports have already been
connected before I do the connecting. Here’s my way. 1. I can get the
connection information by this method: ConnectorProfile
PortService.get_connector_profiles(); 2. I can get the two ports: PortService
ConnectorProfile.ports; 3. Each ports’ name, profile, owner, etc. The key
problem is how to decide whether two PortServices are identical, or whether
two RTObjects are indentical. So that I can decide whether the port has been
connected or not. Due to there could be different RT-components with the same
name under different path, it makes this problem more complicated. Please
help me out. Thanks a lot! Wenshan

_______________________________________________
openrtm-users mailing list
openrtm-users@openrtm.org
http://www.openrtm.org/mailman/listinfo/openrtm-users

Undefined

Download

latest Releases : 2.0.0-RELESE

2.0.0-RELESE Download page

Number of Projects

Choreonoid

Motion editor/Dynamics simulator

OpenHRP3

Dynamics simulator

OpenRTP

Integrated Development Platform

AIST RTC collection

RT-Components collection by AIST

TORK

Tokyo Opensource Robotics Association

DAQ-Middleware

Middleware for DAQ (Data Aquisition) by KEK