BlueZero middleware plugin for V-REP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cmake
external
tests
.gitignore
.gitmodules
CMakeLists.txt
README.md
callbacks.xml
config.h.in
install.sh
license.txt
plugin.cpp
plugin.h
simExtBlueZero.lua

README.md

BlueZero plugin for V-REP

Compiling

  1. Install required packages for v_repStubsGen: see v_repStubsGen's README
  2. Checkout and compile
$ git clone --recursive https://github.com/fferri/v_repExtBlueZero.git
$ cmake .
$ cmake --build .

Compiling protobuf messages

In order to generate Lua code for protobuf messages, you need lua, luarocks, python and protobuf-compiler. Refer to your package manager about how to install these packages.

You also need 'protobuf' luarock:

$ luarocks install protobuf

Compiling a message:

$ protoc \
    --lua_out=. \
    --plugin=$HOME/.luarocks/lib/luarocks/rocks-5.1/protobuf/1.1.1-0/protoc-plugin/protoc-gen-lua \
    file.proto

Alternatively, you can use docker image federicoferri/lua-protobuf:

$ docker pull federicoferri/lua-protobuf

and compile messages with:

$ docker run \
    --mount type=bind,source=$PWD,target=/work \
    --workdir=/work \
    lua-protobuf:latest \
    protoc \
        --lua_out=. \
        --plugin=/usr/local/lib/luarocks/rocks/protobuf/1.1.1-0/protoc-plugin/protoc-gen-lua \
        file.proto