Following the installation guide from the README I installed the ROS2 library on my TurtleBot3 burger robot based on an Raspberry Pi 3B plus. As the trace attached below shows, I used an external USB-Stick with a fat32 filesystem storing the ROS2 library and started the program timer_lambda.vxe which works fine.
Executing the program turtlebot3_ros.vxe in contrast fails, because the serial for the OpenCR Board is expected to be at /dev/ttyACM0, but the serial device for the OpenCR board is abstracted as /usb2ttyS/0 .
Is there an option to explicitly set the serial for the program turtlebot3_ros.vxe?
Trace recorded on the RPI3b plus with the VxWorks Image of the WindRiver RPI SDK:
-> cmd
[vxWorks *]# devs
drv refs name
1 [ 3] /
2 [ 3] /bd0:1 ==> /bd0a
5 [ 3] /bd0a
2 [ 3] /bin ==> /sd0a/sysroot/bin
2 [ 3] /boot ==> /sd0a/sysroot/boot
2 [ 3] /dev ==> /
2 [ 3] /etc ==> /sd0a/sysroot/etc
10 [ 3] /fifos
13 [ 3] /input/event
2 [ 3] /lib ==> /sd0a/sysroot/lib
0 [ 3] /null
12 [ 3] /random
8 [ 3] /stdio_pty_0xffff8000004e2fc0.M
7 [ 3] /stdio_pty_0xffff8000004e2fc0.S
6 [ 3] /tmp
3 [ 3] /ttyS0
2 [ 3] /tyCo/0 ==> /ttyS0
12 [ 3] /urandom
16 [ 3] /usb2ttyS/0
16 [ 3] /usb2ttyS/1
2 [ 3] /usr ==> /sd0a/sysroot/usr
11 [ 3] /zero
15 [ 3] host:
[vxWorks *]# set env LD_LIBRARY_PATH="/bd0a/lib"
[vxWorks *]# cd /bd0a/llvm/bin/
[vxWorks *]# rtp exec -u 0x20000 timer_lambda.vxe
Launching process 'timer_lambda.vxe' ...
Process 'timer_lambda.vxe' (process Id = 0xffff800000309010) launched.
[INFO] [minimal_timer]: Hello, world!
[INFO] [minimal_timer]: Hello, world!
[INFO] [minimal_timer]: Hello, world!
[INFO] [minimal_timer]: Hello, world!
[vxWorks *]# rtp exec -u 0x020000 turtlebot3_ros.vxe
Launching process 'turtlebot3_ros.vxe' ...
Process 'turtlebot3_ros.vxe' (process Id = 0xffff800000336b00) launched.
[INFO] [turtlebot3_node]: Init TurtleBot3 Node Main
[INFO] [turtlebot3_node]: Init DynamixelSDKWrapper
[PortHandlerVxworks::SetupPort] Error opening serial port!
[ERROR] [DynamixelSDKWrapper]: Failed to open the port(/dev/ttyACM0)!
[ERROR] [DynamixelSDKWrapper]: Failed to initialize SDK handlers
Cannot ioctl flush on /dev/ttyACM0
[ERROR] [turtlebot3_node]: Failed connection with Devices
[INFO] [turtlebot3_node]: Add Motors
[INFO] [turtlebot3_node]: Add Wheels
[INFO] [turtlebot3_node]: Add Sensors
terminating with uncaught exception of type rclcpp::exceptions::ParameterNotDeclaredException: sensors.bumper_1
0xffff800000b30ad0 (iTurtlebot3_ros): RTP 0xffff800000336b00 has been deleted due to signal 6.
Following the installation guide from the README I installed the ROS2 library on my TurtleBot3 burger robot based on an Raspberry Pi 3B plus. As the trace attached below shows, I used an external USB-Stick with a fat32 filesystem storing the ROS2 library and started the program timer_lambda.vxe which works fine.
Executing the program turtlebot3_ros.vxe in contrast fails, because the serial for the OpenCR Board is expected to be at
/dev/ttyACM0, but the serial device for the OpenCR board is abstracted as/usb2ttyS/0.Is there an option to explicitly set the serial for the program turtlebot3_ros.vxe?
Trace recorded on the RPI3b plus with the VxWorks Image of the WindRiver RPI SDK:
-> cmd
[vxWorks *]# devs
drv refs name
1 [ 3] /
2 [ 3] /bd0:1 ==> /bd0a
5 [ 3] /bd0a
2 [ 3] /bin ==> /sd0a/sysroot/bin
2 [ 3] /boot ==> /sd0a/sysroot/boot
2 [ 3] /dev ==> /
2 [ 3] /etc ==> /sd0a/sysroot/etc
10 [ 3] /fifos
13 [ 3] /input/event
2 [ 3] /lib ==> /sd0a/sysroot/lib
0 [ 3] /null
12 [ 3] /random
8 [ 3] /stdio_pty_0xffff8000004e2fc0.M
7 [ 3] /stdio_pty_0xffff8000004e2fc0.S
6 [ 3] /tmp
3 [ 3] /ttyS0
2 [ 3] /tyCo/0 ==> /ttyS0
12 [ 3] /urandom
16 [ 3] /usb2ttyS/0
16 [ 3] /usb2ttyS/1
2 [ 3] /usr ==> /sd0a/sysroot/usr
11 [ 3] /zero
15 [ 3] host:
[vxWorks *]# set env LD_LIBRARY_PATH="/bd0a/lib"
[vxWorks *]# cd /bd0a/llvm/bin/
[vxWorks *]# rtp exec -u 0x20000 timer_lambda.vxe
Launching process 'timer_lambda.vxe' ...
Process 'timer_lambda.vxe' (process Id = 0xffff800000309010) launched.
[INFO] [minimal_timer]: Hello, world!
[INFO] [minimal_timer]: Hello, world!
[INFO] [minimal_timer]: Hello, world!
[INFO] [minimal_timer]: Hello, world!
[vxWorks *]# rtp exec -u 0x020000 turtlebot3_ros.vxe
Launching process 'turtlebot3_ros.vxe' ...
Process 'turtlebot3_ros.vxe' (process Id = 0xffff800000336b00) launched.
[INFO] [turtlebot3_node]: Init TurtleBot3 Node Main
[INFO] [turtlebot3_node]: Init DynamixelSDKWrapper
[PortHandlerVxworks::SetupPort] Error opening serial port!
[ERROR] [DynamixelSDKWrapper]: Failed to open the port(/dev/ttyACM0)!
[ERROR] [DynamixelSDKWrapper]: Failed to initialize SDK handlers
Cannot ioctl flush on /dev/ttyACM0
[ERROR] [turtlebot3_node]: Failed connection with Devices
[INFO] [turtlebot3_node]: Add Motors
[INFO] [turtlebot3_node]: Add Wheels
[INFO] [turtlebot3_node]: Add Sensors
terminating with uncaught exception of type rclcpp::exceptions::ParameterNotDeclaredException: sensors.bumper_1
0xffff800000b30ad0 (iTurtlebot3_ros): RTP 0xffff800000336b00 has been deleted due to signal 6.