Skip to content

Commit

Permalink
Network settings for ADS
Browse files Browse the repository at this point in the history
  • Loading branch information
mrceki committed Mar 9, 2023
1 parent 992b238 commit ebd9ee9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions air_hardware_interface/include/air_right_arm_interface.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ namespace air
std::vector<std::string> m_JointNames;
std::vector<double> m_JointPositions;

AmsNetId m_RemoteNetID { 192, 168, 56, 101, 1, 1 }; //TcBSD
AmsNetId m_RemoteNetID { 192, 168, 6, 29, 1, 1 }; //TcBSD

//{172, 18, 212, 67, 1, 1}; {41, 118, 185 , 65 ,1 ,1}; {192, 168, 6, 29, 1, 1};

const std::string m_RemoteIpV4 = "192.168.56.101"; //TcBSD
const std::string m_RemoteIpV4 = "192.168.6.29"; //TcBSD

//"169.254.186.54"; "192.168.225.129"; "192.168.6.29";

Expand Down
2 changes: 1 addition & 1 deletion air_hardware_interface/src/air_right_arm_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ namespace air

m_RightArmIK = RightArmIK();

bhf::ads::SetLocalAddress({192, 168, 56, 1, 1, 1});
bhf::ads::SetLocalAddress({192, 168, 6, 101, 1, 1});

m_Route = new AdsDevice(m_RemoteIpV4, m_RemoteNetID, AMSPORT_R0_PLC_TC3);

Expand Down

0 comments on commit ebd9ee9

Please sign in to comment.