ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Is there a way for me to write the events to a file similar to the /dev/input/js0 file so that ROS Joy can utilize it?
yes: keep the binary format that you read from /dev/input/js0
and use something like uinput
to inject it into the kernel of your control station. Alernatively use socat
(or a similar tool) to pipe /dev/input/js0
(on your control station) to a socket on your on-board PC. Then have joy
open that socket instead of an actual device.
Other than that I would say you have two options:
Joy
msgs on your control station and subscribe those on your on-board pcJoy
msgs there2 | No.2 Revision |
Is there a way for me to write the events to a file similar to the /dev/input/js0 file so that ROS Joy can utilize it?
yes: keep the binary format that you read from /dev/input/js0
and use something like uinput
to inject it into the kernel of your control station. Alernatively use socat
(or a similar tool) to pipe /dev/input/js0
(on your control station) to a socket on your on-board PC. PC (similar to this). Then have joy
open that socket instead of an actual device.
Other than that I would say you have two options:
Joy
msgs on your control station and subscribe those on your on-board pcJoy
msgs there