Skip to content

adaptation of original lcm java project with corrections and enhancements

Notifications You must be signed in to change notification settings

claudioglasses/lcm-java

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ch.ethz.idsc.lcm-java Build Status

Enhanced LCM tools in Java, version 0.1.1

Original code from lcm-proj.github.io

Code adapted in collaboration with SwissTrolley+ at IDSC.

The adaptation is compatible with the original Java LCM Tools. Single exception: the class discovery is narrowed.

Diverse projects rely on the lcm-java library:

usecase_swisstrolley

SwissTrolley plus

usecase_gokart

Autonomous Gokart

Enhancements

  • in Spy: display of total data rate; alignments of columns
  • in LogPlayer: file chooser dialog
  • class discovery for jar files

General Setup

Quote from Multicast Setup: "If your computer is not connected to any network, you may need to explicitly enable multicast traffic by adding multicast entries to your system's routing table. On Linux, you can setup the loopback interface for multicast with the following commands:

sudo ifconfig lo multicast
sudo route add -net 224.0.0.0 netmask 240.0.0.0 dev lo

Remember, you must always do this to use LCM if your machine is not connected to any external network."

Remark: On Mac OS when using Wifi it may be necessary to add the following to the list of VM arguments

-Djava.net.preferIPv4Stack=true

Integration

Specify repository and dependency of the lcm-java library in the pom.xml file of your maven project:

<dependencies>
    <dependency>
        <groupId>ch.ethz.idsc</groupId>
        <artifactId>lcm-java</artifactId>
        <version>0.1.1</version>
    </dependency>
</dependencies>

<repositories>
    <repository>
        <id>lcm-java-mvn-repo</id>
        <url>https://raw.github.com/idsc-frazzoli/lcm-java/mvn-repo/</url>
        <snapshots>
            <enabled>true</enabled>
            <updatePolicy>always</updatePolicy>
        </snapshots>
    </repository>
</repositories>

About

adaptation of original lcm java project with corrections and enhancements

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%