Firefly Open Source Community

Title: FirFLY EGL config Problem [Print This Page]

Author: robertd1968    Time: 6/11/2018 15:59
Title: FirFLY EGL config Problem
Hello there,  I'm running Ros lunar full desktop on this FireFly RK3399.  First problem, when i type into the terminal:
rosrun rviz rviz, it kicks up this erroe:

firefly@firefly:~$ rosrun rviz rviz
[ INFO] [1528702646.473572157]: rviz version 1.12.16
[ INFO] [1528702646.473719158]: compiled against Qt version 5.5.1
[ INFO] [1528702646.473746867]: compiled against OGRE version 1.9.0 (Ghadamon)
Cannot find EGLConfig, returning null config
Unable to find an X11 visual which matches EGL config 0
Could not initialize OpenGL for RasterGLSurface, reverting to RasterSurface.
Segmentation fault (core dumped)

also, I have a Sick Nav350 connected to the Ethernet port and ran to a hub, it works with my 16.04 ububtu on the laptop, IE. It can find and connect to it with rviz.  But on the fire fly it just gives this:

firefly@firefly:~/catkin_ws/install/lib/sicknav350$ ./sicknav350_node
        *** Attempting to initialize the Sick Nav350...
        Attempting to connect to Sick Nav350 @ 192.168.1.10:2111
ERROR: I/O exception - SickNav350::_setupConnection: select() failed!
ERROR: I/O exception - SickNav350::_setupConnection: select() failed!
[ERROR] [1528703680.400342227]: Error

I can ping it over the network from the firefly but cant connect with the firefly.

Any ideas what it wrong?

Thanks for any insight you can provide,

Robert

Author: leungÏÈÉ­    Time: 6/11/2018 16:09
Is it ARCH problem?
Firefly use arm ARCH , laptop use x86 ARCH.
I never use Ros , you better check the environment.
Author: robertd1968    Time: 6/12/2018 17:28
leungÏÈÉ­ Posted at 6/11/2018 16:09
Is it ARCH problem?
Firefly use arm ARCH , laptop use x86 ARCH.
I never use Ros , you better chec ...

Okay I got rvis in ros running on the Firefly, seems there was no OpenGL support on it. I had to install it, works great now.

No how about the Can't connect to my Sick Nav350 laser scanner, What is the difference between a normal networking port on my computer, and the one on the FireFly?

It works on the laptop, but not on the Firefly.  I did compile the driver for it on the firefly. if there is no difference with the port, then it maybe driver related?
Author: leungÏÈÉ­    Time: 6/13/2018 11:11
robertd1968 Posted at 6/12/2018 17:28
Okay I got rvis in ros running on the Firefly, seems there was no OpenGL support on it. I had to i ...

U mean cannot connect the network? Try to turn on the ethernet with hand by the Desktop or command 'dhclient eth0' for auto connect.
Author: robertd1968    Time: 6/14/2018 08:19
It is connected to the local network through a router, and the internet does work. but The Sicknav350 laser scanner it will not connect to.
I know it's IP address and can ping it, just can't connect to it with the firefly.
Author: rdlxz    Time: 7/20/2018 18:29
robertd1968 Posted at 6/12/2018 17:28
Okay I got rvis in ros running on the Firefly, seems there was no OpenGL support on it. I had to i ...

Hi£¬I got the same problem when used rviz on RK3399 ,Could you please show how to solve it by instaliing OpenGL support? Thanks a lot!




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1