Skip to content

Failure to start #17

Description

@tim-fan

Hi there, thanks for providing this package, I'm keen to try it out, but am having trouble starting.

I'm using foxy on focal, and have installed librealsense using scripts/install-librealsense.sh.

When I plug in my camera and run rs-enumerate-devices, I get output:

~$ rs-enumerate-devices 
Device info: 
    Name                          : 	Intel RealSense T265
    Serial Number                 : 	845412110615
    Firmware Version              : 	0.2.0.951
    Physical Port                 : 	4-1-2
    Product Id                    : 	0B37
    Usb Type Descriptor           : 	3.1
    Product Line                  : 	T200

Stream Profiles supported by Tracking Module
 Supported modes:
    stream       resolution      fps       format   
    Fisheye 1	  848x800	@ 30Hz	   Y8
    Fisheye 2	  848x800	@ 30Hz	   Y8
    Gyro	 N/A		@ 200Hz	   MOTION_XYZ32F
    Accel	 N/A		@ 62Hz	   MOTION_XYZ32F
    Pose	 N/A		@ 200Hz	   6DOF

Then I try to launch t260.launch.py, and get output:

$ ros2 launch ros2_t260 t260.launch.py 
[INFO] [launch]: All log files can be found below /home/tim-fan/.ros/log/2020-10-22-20-58-00-289656-host-2722
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [t260_node-1]: process started with pid [2724]
[INFO] [lifecycle_client-2]: process started with pid [2726]
[lifecycle_client-2] [INFO] [1603353480.715128696] [rclcpp]: Current State: PRIMARY_STATE_UNCONFIGURED
[t260_node-1] [INFO] [1603353480.715405513] [t260_node]: Configuring T260 Node
[lifecycle_client-2] [INFO] [1603353480.729809553] [rclcpp]: Successfully transitioned to configured state!
[t260_node-1] [WARN] [1603353480.729984517] [rcl_lifecycle]: No transition matching 3 found for current state unconfigured
[t260_node-1] [ERROR] [1603353480.730023840] []: Unable to start transition 3 from current state unconfigured: Transition is not registered., at /tmp/binarydeb/ros-foxy-rcl-lifecycle-1.1.8/src/rcl_lifecycle.c:343
[lifecycle_client-2] [INFO] [1603353480.730174581] [rclcpp]: Successfully transitioned to active state!
[INFO] [lifecycle_client-2]: process has finished cleanly [pid 2726]

At this point the node is shown via ros2 node list, but the topics do not appear active (e.g. ros2 topic echo odom gives not output).
After ctrl-c, rs-enumerate-devices no longer detects the camera:

~$ rs-enumerate-devices 
No device detected. Is it plugged in?

This is not fixed by unplugging / replugging, instead I have to reboot for the camera to be detected again.

In case it's useful, some platform info:

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.1 LTS
Release:	20.04
Codename:	focal
$ uname -a
Linux host 5.4.0-52-generic #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Any ideas on what the issue may be here? I'm not providing odometry input, I'm not sure if that is required, in any case the fact that I cannot detect the camera again after launching seems like a bigger issue.

Any help appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions