Comments (11)
I'm actually surprised that the ROS master gets connected using that ethernet interface.
Could you report here the networks settings on the Linux machine, within Sunrise and the content of the config.txt file?
from iiwa_stack.
I'll share the config file by Monday.
The setting is: A switch that connects to the controller, Sunrise workstation and the ROS master PC. Every PC is able to ping itself. I haven't changed a lot from the original config file. I've just changed the IP address of the ROS master.
Also, what I thought is I can use the Ethernet interface(With FRI working on it). The current open issues/enhancements made me assume that I can choose not using the KONI interface. If that's wrong, I'll see if I can get the KONI interface up and working.
from iiwa_stack.
In my ROS-master's bash:
sudo ifconfig eth0:1 172.31.1.146 netmask 255.255.255.0 up
export ROS_IP=172.31.1.146
export ROS_MASTER_URI=http://$ROS_IP:11311
IP of the controller: 172.31.1.150
IP of the workstation: 172.31.1.145
Master and controller are connected through ping (checked by pinging the controller. Could only check one sided)
config file:
robot_name: iiwa
master_ip: 172.31.1.146
master_port: 11311
ntp_with_host: false
Also,
I get this error on the roscore terminal during the start of the program
Couldn't find an AF_INET address for [[fe80]
Couldn't find an AF_INET address for [[fe80]
Couldn't find an AF_INET address for [[fe80]
Couldn't find an AF_INET address for [[fe80]
Couldn't find an AF_INET address for [[fe80]
Couldn't find an AF_INET address for [[fe80]
Couldn't find an AF_INET address for [[fe80]
Couldn't find an AF_INET address for [[fe80]
Couldn't find an AF_INET address for [[fe80]
Couldn't find an AF_INET address for [[fe80]
Couldn't find an AF_INET address for [[fe80]
Couldn't find an AF_INET address for [[fe80]
from iiwa_stack.
Shot in the dark - did you follow the cabinet_setup instructions that reassign the KONI port from the RTOS interface to Windows?
from iiwa_stack.
From what I got, he is trying to not use the KONI port, but the one used for Sunrise (I think it's called KLI).
When you say:
IP of the controller: 172.31.1.150
IP of the workstation: 172.31.1.145
- I guess the IP of the workstation is 172.31.1.146 since that is the output of ifconfig, I guess it is just a typo.
- As IP of the controller do you mean the one of the KLI port? i.e. the IP you use in Sunrise to sync the project
To add something more:
I actually tried myself 2 years ago to use that port instead of the KONI one. It would be the best thing, it would not require that setup onboard of the cabinet (which is kinda safe and takes only 5 minutes one, but still). Sadly, I never managed to make it work, that it is not directly accessible from Java, at least not from the protocol that ROSJava uses (which I'm not a fan of). From what I remember ROSSmartServo (o ROSMonitor) was not even able to connect to the ROS master, simply cause the given interface was not found. Now, @saunair wrote that he gets "connected to master" on the SmartPad, that it actually surprising and gives me hope.
from iiwa_stack.
Another question to @saunair , when you start ROSSmartServo you should get printed out the IP to which you are connecting. What do you get? A photo or screenshot is even better.
from iiwa_stack.
Hi,
Sorry for being unclear in my previous comment.
The workstation means the sunrise PC and the ROS master is the machine I am working with.
The workstation IP is 172,31,1,145;
ROS master 172.31.1.146;
Controller(KLI): 172.31.1.150
The screen-shot as you asked:
from iiwa_stack.
Do you think I should shift to the KONI interface? Why I didn't do it in the first place is that, I just don't want to add new connections and break the currently working FRI on the KLI(Another project depends on it). Will adding the new KONI interface affect the other connections?
Question: I won't be able add a new network with the KONI. The new IP will be in the same subnet and IP. I hope that will work.
from iiwa_stack.
Thanks for the picture, now everything is clear.
The answer is in the value for "Robot IP:" in the picture, which in your case is some kind of IPv6 maybe. That is because the KONI interface still belongs to the RTOS and it is not accessible from Windows/Sunrise and the only interface found is the virtual one between Win and the RTOS (which is used internally).
So yes, you should switch to the KONI interface following the setup step in the Wiki. Plug a monitor, keyboard, and mouse to the cabinet and it will take you 5 minutes once. Be sure to not have a project installed on the cabinet that uses FRI first. If you have one, first install on the cabinet a dummy Sunrise Project with nothing on it.
You have another project using FRI? If so, what do you use FRI for? I suppose reading the robot joint position and/or torque only, maybe controlling the robot via joint commands (if so, let me know how that works :D). In any case, using iiwa_stack you have also those functionalities (and more), you should be able to modify the working projects in very little time. Just use the APIs in iiwa_ros and you probably reduce the code you need to write to a minimum.
Question: I won't be able to add a new network with the KONI. The new IP will be in the same subnet and IP. I hope that will work.
Never tried but it should be totally ok, I just prefer to have a dedicated connection, additional network cards are super cheap.
Let me know how it works
from iiwa_stack.
I get the messages now! Followed the instructions as given and replaced KLI with the KONI as the ROSMaster interface. Thanks a lot for following up!
Best of luck with adding the KLI as the interface for ROS in the future.
from iiwa_stack.
Glad that it worked!
from iiwa_stack.
Related Issues (20)
- Is it possible to access the I/O-groups? HOT 1
- Using iiwa_moveit results in a jerky motion HOT 4
- Q: What is [override_joint_acceleration] in SetSmartServoJointSpeedLimits.srv HOT 1
- Compatability with kuka med 7 HOT 1
- Python MoveIt integration
- Robot semantic description not found. Did you forget to define or remap '/robot_description_semantic'? HOT 1
- ‘ConfigureControlMode’ is not a member of ‘iiwa_msgs’ HOT 1
- Use of DirectServo instead of SmartServo? HOT 1
- Can't find the srv about “configuresmartservo” in ROS Noetic. HOT 1
- Problems with the accuracy of the desired force mode
- Installing the Servoing module in Workbench / Is it mandatory to have a Windows 7 machine as the Programming computer? HOT 1
- iiwa_stack ip configuration issue
- Direct Servo Joints Control Implementation
- Diect publish joint positions HOT 2
- Errors using Gazebo and iiwa_stack examples
- Smooth Velocity Control using iiwa/command/JointVelocity HOT 4
- Creating safety configuration
- subscribe the sensor data not in real time
- who can really use this stack to communicate with kuka iiwa robot smoothly???
- Suspect setMaxCartesianVelocity ought to actually call the service
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iiwa_stack.