Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 142

/etc/network/interfaces configuration for urg node

$
0
0
Hi guys. I got problem with the network when im using urg_node for Hokuyo Laser Scan. After running roscore, I start up urg_node with: rosrun urg_node urg_node _ip_address:="192.168.0.10" However im getting an error that states: [ERROR] [1434516842.963885543]: Error connecting to Hokuyo: Could not open network Hokuyo: 192.168.0.10:10940 could not open ethernet port. I looked this up at Google and many of them said to configure the IP address to 192.168.0.15. So I edit /etc/network/interfaces with: sudo nano /etc/network/interfaces and replace the text with: auto eth0:0 iface eth0:0 inet static address 192.168.0.15 netmask 255.255.255.0 I tested the urg_node already and it's running. However, another problem came up. I could not connect to internet. My wifi speed stucked at 1mb/s (using ubuntu now). I came out with another solution by editing the interfaces file to: auto eth0 iface eth0 inet dhcp auto eth0:0 iface eth0:0 inet static address 192.168.0.15 netmask 255.255.255.0 In this case, I can change to use eth0 (able to connect to WIFI but cannot run urg_node) and eth0:0 (cannot connect to WIFI but able to run urg_node) by using this two command: `sudo ifup eth0:0` (Set eth0:0) `sudo ifdown eth0:0` (Return back to eth0) I was wondering whether there is a way I can combine these two function together, that is able to connect to WIFI and run urg_node. Thanks for any help!

Viewing all articles
Browse latest Browse all 142

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>