I am developing a robot for academic purposes, but I am struggling already with the basics. I am using SD 2.1 beta version, and basically what I did so far was - I created a folder for my robot (called "ascari") /src/drivers/ascari (with the basic code structure), and copied the usr_sc folder in data/drivers and renamed everything inside it to match the name of my robot. I am pretty sure I handled adjustments of CMakeLists.txt files correctly, as the log of commands "cmake ..; make; make install" didn't produce anything suspicious.
At first, no driver instance was listed for my robot. I tried messing around, renaming files and variabled back and forth, and after a while, I've finally got one instance correctly listed. So I took it on a track in practice mode and it seemed like it's behaving as I've coded it (I've implemented the very first code snippet from berniw's tutorial, just basic steering at first gear). But strangely, after messing around with the values in code, the robot was acting still in the same way, no matter what changes I've done to the code (and yeah, i did re-"make install" it). Strangely, after the robot crashed, it recovered on it's own, which is something that I have not implemented at all! I figured out the instance is taking its behaviour from some other robot, but definitely not my implementation...
So i tried renaming variables and files some more to achieve the "linkage" between my robot implemented in /src/drivers/ascari folder and instances defined in /data/drivers/ascari folder, but for the past three hours I've failed to even get an instance listed again! I am getting really desperate, so my question is... am I missing something here? Does there need to be some more work done aside from defining a robot in source tree and listing instances in /data/drivers folder? And how to link those two correctly? Thank you.