#robotics Logs

Dec 24 2021

#robotics Calendar

05:10 AM veverak: ehmmm, research
05:19 AM veverak: :)
05:19 AM veverak: you can guess why would anybody want to be able to precisely aim with laser and I won't comment more as the contract with uni I am working for does not like talkin about it
04:35 PM gartt: Using lua with C or C++ is very powerful. High level orchestration when desired with low level performance
04:55 PM veverak: exactly
04:57 PM veverak: even tests are more easier/friendly to write in Lua than in C++
04:57 PM veverak: so I have separate binary that just controls servomotors, that exposes entire API for the servomotor object to the lua
04:57 PM veverak: so I can fully test any implementation of servomotor via lua scripts
04:57 PM veverak: it's also more friendly to do PID tuning this way
04:59 PM veverak: (and yeah, the stuff can control multiple types of servomotors via same API, which is <3)
04:59 PM veverak: so far it has only three types: lewansoul lx15d, dynamixel xl430, virtual lewansoul lx15d (yup, it simulates it)
05:19 PM gartt: I'm a big advocate of combining 2 languages for the best of both worlds. A lot of my code are bash scripts calling C programs for example
06:24 PM veverak: yeah, but I like lua in this because...
06:24 PM veverak: you can see that the language was designed to be embedded :)
06:44 PM gartt: And made to be simple
06:45 PM gartt: Too bad it's not more popular
06:55 PM Tom_itx is now known as Tom_L
09:49 PM Tom_itx is now known as Tom_L
10:54 PM Malvolio is now known as EVLTNSMSTKS
10:55 PM EVLTNSMSTKS is now known as Malvolio