Subscribes to robot odometry and publishes twist commands using LCM.
- Lua 5.4
- LuaSocket (
sudo luarocks install luasocket) - System dependencies:
glib,cmake
./setup.shThis will:
lua main.luaRobot control started
Subscribing to /odom, publishing to /cmd_vel
Press Ctrl+C to stop.
[pose] x=15.29 y=9.62 z=0.00 | qw=0.57
[twist] linear=0.50 angular=0.00
[pose] x=15.28 y=9.63 z=0.00 | qw=0.57
...