Changeset 431 in flair-src for trunk/demos/CircleFollower/uav/src/CircleFollower.cpp
- Timestamp:
- Jul 12, 2021, 8:37:29 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/demos/CircleFollower/uav/src/CircleFollower.cpp
r342 r431 40 40 Uav* uav=GetUav(); 41 41 42 VrpnClient* vrpnclient=new VrpnClient("vrpn", uav->GetDefaultVrpnAddress(),80 );42 VrpnClient* vrpnclient=new VrpnClient("vrpn", uav->GetDefaultVrpnAddress(),80,uav->GetDefaultVrpnConnectionType()); 43 43 44 44 if(vrpnclient->ConnectionType()==VrpnClient::Xbee) { … … 49 49 targetVrpn=new MetaVrpnObject("target"); 50 50 } else if (vrpnclient->ConnectionType()==VrpnClient::VrpnLite) { 51 uavVrpn = new MetaVrpnObject(uav->ObjectName() ,(uint8_t)0);52 targetVrpn=new MetaVrpnObject("target" ,1);51 uavVrpn = new MetaVrpnObject(uav->ObjectName()); 52 targetVrpn=new MetaVrpnObject("target"); 53 53 } 54 54
Note:
See TracChangeset
for help on using the changeset viewer.