Closed HatedFate closed 3 years ago
Hi, sorry for the late reply! I just read your message.
Maybe the library is not found because of set(FL_HOME /scripts/fuzzylite-6.0/fuzzylite/)
? I think the path is not valid because scripts
is not at the root directory of your drive? Easy to check is next time you change the fuzzylite home, make sure that the path exists (try cd $FL_HOME
, or whatever value FL_HOME
has
FL_HOME=/scripts/fuzzylite-6.0/fuzzylite
Thanks for the reply! I managed to get it to work, but I am quite new to fuzzy logic and I'd just finished programming a fuzzy system for yaw control. The program compiled without any errors, at first everything looked fine, but when I attempted to test it, I get nan output except when the input is 0. I will make another post regarding this issue soon (I assume the input didn't activate any rules so I get nan outputs). Appreciate your help!
Hello, I am working within a robot operating system (ROS) that is built using catkin_make (build system for ROS). catkin_make my program using a CMakeLists.txt file (I think you may have some experience with this from:
https://answers.ros.org/question/266550/how-to-use-fuzzylite-on-my-workspace-via-cmakelists/
). I'd downloaded your software from:https://www.fuzzylite.com/downloads/
and extracted the files into my ROS workspace. A generalization of my current workspace is here:Inside the CMakeLists.txt I'd copied the code from
https://github.com/fuzzylite/fuzzylite/blob/release/examples/application/CMakeLists.txt
into the CMakeLists.txt provided by catkin. I changedset(FL_HOME ${PROJECT_SOURCE_DIR}/../../fuzzylite/)
toset(FL_HOME /scripts/fuzzylite-6.0/fuzzylite/)
. However, when I tried to build the program I receive the error:I assume that the path to the file is incorrect, but I checked many different ways to solve it and still end in no result. I'm not if I actually installed the library correctly (I simply extracted the files from the zip file downloaded from your webiste), so I am very confuse on what my mistake actually is. Appreciate it if you could help me with this!