Closed 1046652786 closed 4 years ago
Had the same problem. Replacing the false values with the ones stated in http://docs.ros.org/hydro/api/kobuki_msgs/html/msg/KeyboardInput.html , did the trick for me .
For example, "KEYCODE_RIGHT" changes into "KeyCode_Right" etc etc.
Those values can be found in the source cpp file "keyop_core.cpp".
Hope this helps.
I changed kobuki_msgs/devel to match changes on devel here: b609a185e249d127679e7b18a24d606acbdf918f So compiling latest devel together should work.
What are you trying to compile?
Was this problem resolved? what was the installation process other than cloning this in catkin_ws/src and building it?
Problem I'm guessing is that you're using devel
branch of kobuki_keyop
which was part of an aborted ros2 migration.You should be using the release branch for melodic, which was release/0.7-melodic
but it looks like @corot might have missed that one and has been working on melodic
.
Actually, looks like there has been other fixes going into devel
. I'd recommend:
devel
to the melodic
branch (since that is what is released on ros/rosdistro
)release
branches, not devel
branchesmelodic
as the default branchdevel
branch (make it clear we're only maintaining the ROS1 version)release/0.7-melodic
branch since it's redundantJust to make sure I am clear about what you are saying:
If not so can you explain in more detail how to carry out the above steps? Thank you
Also,
I switched to the installation of release/0.7-melodic, downloaded the necessary kobuki_msgs and kobuki_core and now everything compiles through catkin_make. But when I connect it with kobuki and after adding myself to the kobuki dialout group and restarting the kobuki udev rules I still get: [ WARN] [1597910913.321794544]: Kobuki : device does not (yet) available, is the usb connected?. [ INFO] [1597910913.322511690]: Kobuki : device does not (yet) available on this port, waiting... [ WARN] [1597910913.573889907]: Kobuki : no data stream, is kobuki turned on?
rosrun kobuki_ftdi create_udev_rules, executes without any errors but a /dev/kobuki is not created.
Latest Update: using the release/0.7-melodic, I have gotten things to work. Will update to melodic if you recommend it,
I'll send some PR's that cleanup the branch situation ...
The connection problem sounds orthogonal.
groups
? You usually have to log out/reboot to have the addition to the dialout
group take affect./dev/ttyUSB0
when you plug in kobuki?Original problem here should be resolved with the PR above, closing out.
i had changed the package name ,before i changed it was named kobuki_keyop, how can i solve it?