How to use Fuzzy logic in ROS..?
How to deploy fuzzy logic into ROS , Like novel path planning algorithm based on fuzzy logic for autonomous mobile robots.
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
How to deploy fuzzy logic into ROS , Like novel path planning algorithm based on fuzzy logic for autonomous mobile robots.
Hi, I use http://code.google.com/p/fuzzylite/ for my own project where I need to implement a fuzzy controller for collision avoidance. This library is fairly easy to use and only relies on STL, so it's also easy to install. See main.cpp in the src folder for a simple example on how it works. It's not specifically for ROS though, but ROS supports the use of third party libraries. Just link the library to your executable using target_link_libraries in the CMakelists of your project. As far as I know, there is no ROS package dedicated to fuzzy logic.
Hi Hounuin,
I try to use executable and target_link_libraries of Fuzzylite on "CMakeLists.txt" on my workspace. I still found an error after "catkin_make". Please see my code and error below.
code: add_executable(fuzzylite src/fuzzylite.cpp) add_library(main src/main.cpp) target_link_libraries(fuzzylite main)
error: CMake Error at CMakeLists.txt:62 (add_executable): Cannot find source file:
src/fuzzylite.cpp
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
CMake Error: CMake can not determine linker language for target: main CMake Error: Cannot determine link language for target "main". CMake Error: CMake can not determine linker language for target: fuzzylite CMake Error: Cannot determine link language for target "fuzzylite". -- Generating done -- Build files have been written to: /home/chucolate/chu_ws/build Makefile:822: recipe for target 'cmake_check_build_system' failed make: * [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed
Do you have any suggestions about this? I just want to use Fuzzylite for obstacle avoidance on my robot workspace.
Thank you.
Asked: 2013-03-01 00:35:05 -0500
Seen: 2,393 times
Last updated: Jul 16 '17
Could you edit this so it asks some specific question, please?
You either program it or find someone who has... I haven't seen anything around, though.