Hi I am using the Mecheye Nano ultra-gl connected to a linux computer running ubuntu 20.04. I have installed your SDK v2.5.4. I am able to see the camera using the IP configure tool in ubuntu and I can choose the camera index 0 when I run the sample ConnectToCamera project on Github but I get a segfault and an error message that the camera failed to connect to the Ethernet port of the computer. I have pasted the full error message when I run the program at the end of this message. I also get a segfault when I am using the ip_configurator tool trying to change the IP address on ubuntu. I have to connect the camera to a windows computer to change the IP address for testing.
Steps so far I have done to debug this issue:
- Confirmed that my machines Ip address is on the same subnet as the camera for the Ethernet port the camera is connected to. I can ping the camera via the ping tool in the terminal. Camera IP: 192.168.1.101 Subnet mask: 255.255.255.0, Ethernet IP: 192.168.1.100 Subnet mask: 255.255.255.0.
- Tried another very different set of IP addresses Camera IP: 169.254.4.29 Subnet mask: 255.255.255.0, Ethernet IP: 169.254.4.44 Subnet mask: 255.255.255.0.
- Tired downgrading to SDK v2.5.1 but that segfaults in a lot of the programs because I think the FW on my mecheye does not support that SDK. I have not found a way to also downgrade the FW yet so this may still be something we can try if I can get the FW to match the older SDK?
- I have connected the mecheye camera to a windows computer and I am able to connect to the camera in the Mech-Eye Viewer software and take pictures.
- I have confirmed that the MTU size is correct and I have not enabled large packets on the ethernet.
- I have disabled all other network interfaces and disabled any VPNs on my machine. During this I am still able to ping the cameras IPaddress.
twoeste@3460db4:~/projects/mecheye_cpp_samples/area_scan_3d_camera/Basic/ConnectToCamera/build$ ./ConnectToCamera
Discovering all available cameras...
Camera index: 0
.............................
Model: Mech-Eye NANO ULTRA-GL
Device name:
Serial number: RUM35254A510EG20
IP address: 192.168.1.101
Subnet mask: 255.255.255.0
IP address assignment method: Static
Hardware version: V5.2.0
Firmware version: V2.5.4
Support status: Supported
.............................
Please enter the index of the camera that you want to connect: 0
Failed to obtain the IP address of the computer Ethernet port connected to the device. Please try disabling the Ethernet interface cards not connected to the device.
ping: option requires an argument -- 'I'
Usage
ping [options] <destination>
Options:
<destination> dns name or ip address
-a use audible ping
-A use adaptive ping
-B sticky source address
-c <count> stop after <count> replies
-D print timestamps
-d use SO_DEBUG socket option
-f flood ping
-h print help and exit
-I <interface> either interface name or address
-i <interval> seconds between sending each packet
-L suppress loopback of multicast packets
-l <preload> send <preload> number of packages while waiting replies
-m <mark> tag the packets going out
-M <pmtud opt> define mtu discovery, can be one of <do|dont|want>
-n no dns name resolution
-O report outstanding replies
-p <pattern> contents of padding byte
-q quiet output
-Q <tclass> use quality of service <tclass> bits
-s <size> use <size> as number of data bytes to be sent
-S <size> use <size> as SO_SNDBUF socket option value
-t <ttl> define time to live
-U print user-to-user latency
-v verbose output
-V print version and exit
-w <deadline> reply wait <deadline> in seconds
-W <timeout> time to wait for response
IPv4 options:
-4 use IPv4
-b allow pinging broadcast
-R record route
-T <timestamp> define timestamp, can be one of <tsonly|tsandaddr|tsprespec>
IPv6 options:
-6 use IPv6
-F <flowlabel> define flow label, default is random
-N <nodeinfo opt> use icmp6 node info query, try <help> as argument
For more details see ping(8).
Failed to obtain the IP address of the computer Ethernet port connected to the device. Please try disabling the Ethernet interface cards not connected to the device.
Connected to the camera successfully.
Disconnected from the camera successfully.
Segmentation fault (core dumped)
Thank you for any support in this issue!
