Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to play pcap file using tins. #140

Open
chwu-rwth opened this issue Aug 14, 2023 · 0 comments
Open

Unable to play pcap file using tins. #140

chwu-rwth opened this issue Aug 14, 2023 · 0 comments

Comments

@chwu-rwth
Copy link

I followed the tutorial and tried to run a pcap file downloaded from ouster sample data page.

Command:
ros2 launch ros2_ouster tins_driver_launch.py
Return:
INFO] [launch]: All log files can be found below /home/student/.ros/log/2023-08-14-15-54-13-797714-CR-Laptop-04-54614
[INFO] [launch]: Default logging verbosity is set to INFO
/opt/ros/humble/lib/python3.10/site-packages/launch_ros/events/lifecycle/lifecycle_node_matchers.py:30: UserWarning: 'matches_node_name' has been moved into the 'launch.events' module and will be removed from the 'lifecycle' module in the future
warnings.warn(
[INFO] [ouster_tins_driver-1]: process started with pid [54625]
[ouster_tins_driver-1] [INFO] [1692021254.187859077] [ouster_driver]: Configuring Tins-based Ouster driver node.
[ouster_tins_driver-1] [INFO] [1692021254.188269459] [ouster_driver]: Looking for packets from sensor IPv4 address 10.5.5.96 to destination 10.5.5.1.
[ouster_tins_driver-1] [INFO] [1692021254.190148400] [ouster_driver]: This driver is compatible with sensors running fw 2.2-2.4
[ouster_tins_driver-1] Tins error is: socket: Operation not permitted
[ouster_tins_driver-1] [INFO] [1692021254.192454070] [ouster_driver]: Using system defaults QoS for sensor data
[INFO] [launch.user]: [LifecycleLaunch] Ouster driver node is activating.
[ouster_tins_driver-1] [INFO] [1692021254.242707984] [ouster_driver]: Activating Ouster driver node.

Command (new terminal):
sudo tcpreplay --intf1=enxc03eba94556f OS0-128_Rev-06_fw23_Urban-Drive_Dual-Returns.pcap
Error:
Warning in send_packets.c:send_packets() line 486:
Unable to send packet: Error with PF_PACKET send() [1]: Message too long (errno = 90)

I have replaced the metadata path in tins_driver_launch.py. and increased the ifconfig [eth] mtu [increased to 9000]

Any idea how to solve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant