-
Notifications
You must be signed in to change notification settings - Fork 215
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
Chapter 11 Creating a teleoperation node using the Leap Motion controller #10
Comments
The node doesn't need a launch file to run, anyway for you I have added a launch file, you can check the repo again. Also if you are facing the issue in creating your own package, you can create the ready-made package and build it. The package may not show compilation error, because it is only having python script. If you have issues with the package in this repo, you can comment back with the screenshot of the error. Regards |
Hi Sir, Also, I've checked with roscd command and it shows the vr_leap_teleop/ node does exist in ROS.
|
Hi @stevensu1838 , you can change the permission of the node using the following command $ chmod +x vr_leap_teleop.py This command should be done inside the script folder. Also, I have a added a launch file for you. Also, make sure that you can switch to vr_leap_teleop using the following command $ roscd vr_leap_teleop This ensures that, the workspace is properly sourced and we can access the package as well |
Hi Sir,
The following is the screenshot of the commands: Thanks |
Did you find a solution? at this moment i am at the same step, it wont move my robot. |
Hi qbotics,
I've been following your book to teleoperate the Turtlebot with leap motion.
I get stuck at creating the package vr_leap_teleop.
I did use
$ catkin_create_pkg vr_leap_teleop roscpp rospy std_msgs visualization_msgs geometry_msgs message_generation visualization_msgs
as below:ysu66@mech1331:~/catkin_ws/src$ catkin_create_pkg vr_leap_teleop roscpp rospy std_msgs visualization_msgs geometry_msgs message_generation visualization_msgs WARNING: Packages with messages or services should depend on both message_generation and message_runtime Created file vr_leap_teleop/CMakeLists.txt Created file vr_leap_teleop/package.xml Created folder vr_leap_teleop/include/vr_leap_teleop Created folder vr_leap_teleop/src Successfully created files in /home/ysu66/catkin_ws/src/vr_leap_teleop. Please adjust the values in package.xml. ysu66@mech1331:~/catkin_ws/src $ tree /home/ysu66/catkin_ws/src/vr_leap_teleop
├── CMakeLists.txt
├── include
│ └── vr_leap_teleop
├── package.xml
└── src
Then, I tried to copy the python script from vr_leap_teleop files you provided in github. But I cannot build the package successfully later on.
I might be wrong but I think the vr_leap_teleop package files you provided in githubhttps://github.com/qboticslabs/ros_robotics_projects/tree/master/chapter_11_codes/vr_leap_teleopis not complete. Like there is no launch.file that I can use to run the node.
Do you think you could kindly offer me the complete package that I can build directly?
Or could you please tell me how I can build the vr_leap_teleop pacakage succefully? I rely on your book but have no clue how to get it running. Cheers.
Btw, I am using ROS indigo in Ubuntu 14.04 on a real Linux machine.
Steven
New Zealand
The text was updated successfully, but these errors were encountered: