lcm-proj / lcm

Lightweight Communications and Marshalling
GNU Lesser General Public License v2.1
980 stars 388 forks source link

Undecodable message content while running lcm-logplayer-gui and lcm-spy #343

Open Kyderio opened 3 years ago

Kyderio commented 3 years ago

error log player Hi everyone, I am trying to read the content of the messages but it shows that the messages are undecodable. Is there anything wrong I am doing or some steps that I have missed? The picture above shows the terminal messages after opening the log player and lcm-spy side by side. When I am recording with LCM-logger, I am able to see the values of the channel with lcm-spy perfectly fine.

Would appreciate any help and thanks in advance!

hoxell commented 3 years ago

lcm-spy says it found 0 LCM types, which means it doesn't have any info how to decode the messages. Make sure to set the java CLASSPATH environment variable to contain the path to the java classes generated from the LCM message definitions.

jaguardo commented 11 months ago

from https://github.com/lcm-proj/lcm/issues/214#issuecomment-426017961 export CLASSPATH=$CLASSPATH:/user/local/share/java/lcm.jar can also direct ~/.bashrc there.