Open
Description
My configuration:
- REV Expansion Hub running Firmware 1.8.2 updated from REV Hardware Client
- Intel x64 pc running Ubuntu 22.04
- hub connected directly via USB. No child hubs connected.
What I'm trying to accomplish:
I'm trying to use a REV Expansion Hub to control a robot using ROS2 Humble by creating a custom ROS node in C++
I was able to connect to the hub and change the LED color, by using rhsp_setModuleLedColor
by using the library tests as an example.
The problem:
rhsp_setServoConfiguration
, rhsp_setMotorChannelMode
, rhsp_getEncoderPosition
and other commands give the same segmentation fault.
it appears as any command containing rhsp_getInterfacePacketID
creates the same behavior, apparently caused by the strcmp
in getInterfaceByName
debugging in GDB i get the following output:
Thread 1 "main" received signal SIGSEGV, Segmentation fault.
__strcmp_avx2 () at ../sysdeps/x86_64/multiarch/strcmp-avx2.S:116
116 ../sysdeps/x86_64/multiarch/strcmp-avx2.S: No such file or directory.
Thanks in advance.
Metadata
Metadata
Assignees
Labels
No labels