GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rclex/rclex_examples: Examples for Rclex

BranchesTags
Open more actions menu

Latest commit

 

History

76 Commits
76 Commits

Folders and files

NameName
Last commit message
Last commit date
rclex_listener
rclex_listener
 
 
rclex_listeners
rclex_listeners
 
 
rclex_talker
rclex_talker
 
 
rclex_talkers
rclex_talkers
 
 
rclex_topic
rclex_topic
 
 
rclex_topics
rclex_topics
 
 
turtle_pose_phoenix
turtle_pose_phoenix
 
 
turtle_teleop_rclex
turtle_teleop_rclex
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
docker-compose.yml
docker-compose.yml
 
 

Repository files navigation

rclex_examples

This repository offers the examples of Rclex, that is ROS 2 client library for Elixir.

Example lists

Each example project is located in a subdirectory. Please refer to the respective README for operating instructions.

  • rclex_talker : simple talker on single node
  • rclex_talkers : simple talkers on multiple nodes
  • rclex_listener : simple listener on single node
  • rclex_listeners : simple listeners on multiple nodes
  • rclex_topic : pub/sub communication on the same node to single topics
  • rclex_topics : pub/sub communication on multiple nodes to corresponding topics
  • turtle_teleop_rclex : teleoperation for turtle_sim from the key input
  • turtle_pose_phoenix : web visualizer for the location of turtle_sim

Environment

Currently, we have tested the operation of examples in the following environmet.

  • Ubuntu 20.04.2 LTS (Focal Fossa)
  • ROS 2 Foxy Fitzroy
  • Elixir 1.13.4-otp-25
  • Erlang/OTP 25.0.3
  • Rclex v0.8.3

Please also refer to rclex documentation for more detail.

Quickstart

We also we provide rclex_docker environment to try out the examples right away. Let's get a quick start using the Docker environment!

$ cd your_woking_directry
$ git clone https://github.com/rclex/rclex_examples.git
$ cd rclex_examples/
$ docker compose run --rm rclex_docker /bin/bash
# inside container, change directory example one, this time `rclex_listener`
root@************:/# cd /root/rclex_examples/rclex_listener/
root@************:~/rclex_examples/rclex_listener# mix deps.get
...
# try example function
root@************:~/rclex_examples/rclex_listener# iex -S mix
iex(1)> RclexListener.subscribe_message

12:38:12.341 [debug] JobExecutor start

12:38:12.344 [debug] listener/chatter/sub subscriber process start

12:38:22.352 [debug] subscriber finished: listener/chatter/sub

12:38:22.353 [debug] finish node: listener
{:ok, #Reference<0.2781152389.209059862.173351>}

About

Examples for Rclex

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

1 star

Watchers

3 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.