This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

IWR6843AOPEVM: cant build Ros_driver on robot

Part Number: IWR6843AOPEVM

Hello im trying to build the ros_driver on a robot running ros melodic. im fairly new to Ros..

First of all, i can build and run the ros_driver 'example' on my pc and i can see the pointcloud data in rviz.

i have a robot running ros melodic and now i want to build the ros_driver on the robot. Ros is running on a tinkerboard with armv7l if this helps.

so i transfer a new ros_driver folder to the robot root, and when i try to run catkin_make i get the <GPIO.h> missing error, - as i did on my pc when trying to build ros_driver.
when i try to fix this as described by Josh Dye with the following workaround:

"Hi, 

The missing header file is a bug that will be fixed soon. In the mean time you can run the following commands to resolve:

git clone https://github.com/TexasInstruments/ti-gpio-cpp.git
mkdir -p ti-gpio-cpp/build && cd ti-gpio-cpp/build
cmake ..
make
make install

Best Regards,

Josh"

i get stuck at 'make'... when i try to make the ti-gpio-cdd i get the following:

...
[ 40%] Linking CXX executable ../bin/Release/ti_gpio_test
/usr/bin/cmake -E cmake_link_script CMakeFiles/ti_gpio_test.dir/link.txt --verbose=1
/usr/bin/c++ -std=c++17 -O3 -DNDEBUG CMakeFiles/ti_gpio_test.dir/samples/ti_gpio_test.cpp.o -o ../bin/Release/ti_gpio_test ../lib/Release/libti_gpio.a -lpthread
CMakeFiles/ti_gpio_test.dir/samples/ti_gpio_test.cpp.o: In function `wait_thread()':
ti_gpio_test.cpp:(.text+0x33c): undefined reference to `GPIO::wait_for_edge(int, GPIO::Edge, unsigned long, unsigned long)'
CMakeFiles/ti_gpio_test.dir/samples/ti_gpio_test.cpp.o: In function `testEvents()':
ti_gpio_test.cpp:(.text+0x652): undefined reference to `GPIO::wait_for_edge(int, GPIO::Edge, unsigned long, unsigned long)'
ti_gpio_test.cpp:(.text+0x8a8): undefined reference to `GPIO::wait_for_edge(int, GPIO::Edge, unsigned long, unsigned long)'
CMakeFiles/ti_gpio_test.dir/samples/ti_gpio_test.cpp.o: In function `testEventsConcurrency()':
ti_gpio_test.cpp:(.text+0x22aa): undefined reference to `GPIO::wait_for_edge(int, GPIO::Edge, unsigned long, unsigned long)'
ti_gpio_test.cpp:(.text+0x2668): undefined reference to `GPIO::wait_for_edge(int, GPIO::Edge, unsigned long, unsigned long)'
CMakeFiles/ti_gpio_test.dir/samples/ti_gpio_test.cpp.o:ti_gpio_test.cpp:(.text+0x27f6): more undefined references to `GPIO::wait_for_edge(int, GPIO::Edge, unsigned long, unsigned long)' follow
collect2: error: ld returned 1 exit status
CMakeFiles/ti_gpio_test.dir/build.make:95: recipe for target '../bin/Release/ti_gpio_test' failed
make[2]: *** [../bin/Release/ti_gpio_test] Error 1
make[2]: Leaving directory '/home/pc/GPIO/ti-gpio-cpp/build'
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/ti_gpio_test.dir/all' failed
make[1]: *** [CMakeFiles/ti_gpio_test.dir/all] Error 2
make[1]: Leaving directory '/home/pc/GPIO/ti-gpio-cpp/build'
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

The number of solutions ive tried to fix this is too many to list,, any suggestions? Disappointed

please let me know what information i need to inform you with if im missing something important

best regards mikkel