Hi guys.
i'm working on the code structure of the teleop of turtlebot (hydro).
Is there anyway possible to find out what code is being sent out when i shift the joystick up, down, left, etc?
I understand that the joystick it self is being imported from:
> import> org.ros.android.view.VirtualJoystickView;
From the best of my knowledge, I can't really figure out which part of the whole source code actually has the code that I'm looking for
I would like to play around with GUI itself. Well, let's say just inserting a 4 directional buttons (up, down, left, right) to move to the turtlebot instead of the virtual joystick.
What is the code that is needed to be sent out here for each buttons?
How may i go about doing this?
Any help will be greatly appreciated. Thank you! :)
↧
Android Tutlebot Teleop Source Code Structure (Hydro)
↧
Overlaying the whole ROS folder
My question is about overlaying the whole ROS folder in `/opt/`. Since the packages source code in `/opt/ros` is not available, and changing parameters of the config files in `/opt/ros` is not recommended, is it possible to overlay the whole ros folder in `/opt/` to the user's workspace to modify the codes and change the parameters without interfering with the actual ros packages in `/opt/ros`
Thanks
↧
↧
code explanation
hi guys. I need help understanding this code. What does it do?
00802 private void publishVelocity(double linearVelocityX, double linearVelocityY,
00803 double angularVelocityZ) {
00804 currentVelocityCommand.getLinear().setX(linearVelocityX);
00805 currentVelocityCommand.getLinear().setY(-linearVelocityY);
00806 currentVelocityCommand.getLinear().setZ(0);
00807 currentVelocityCommand.getAngular().setX(0);
00808 currentVelocityCommand.getAngular().setY(0);
00809 currentVelocityCommand.getAngular().setZ(-angularVelocityZ);
00810 }
Publish the velocity as a ROS Twist message.
Parameters:
linearVelocityX The normalized linear velocity (-1 to 1).
angularVelocityZ The normalized angular velocity (-1 to 1).
----------
currentVelocityCommand declaration:
private geometry_msgs.Twist currentVelocityCommand;
↧
-sh: source: minimal-ros-install-angstrom.sh: file not found
Hi,
I'm using instruction from here http://wiki.ros.org/hydro/Installation/Angstrom to install ROS in to my beaglebone black and I'm getting this error "file not found" when trying to source minimal-ros-install-angstrom.sh.
Any idea way is that?
root@beaglebone:~/beagle-ros/scripts# ls
README.md minimal-ros-install-angstrom.sh pwm-ehrpwm2b.sh ros-install-angstrom-dev.sh
bashrc passwd remove-minimal-ros-install-angstrom.sh
↧
Indigo ARM wet build on Beaglebone Black
I have gotten fairly far along in building a Ubuntu 14.04 Indigo on a beaglebone Black and the install went through the 'robot' rosdep install http://wiki.ros.org/indigo/Installation/Source.
As a matter of fact I see this:
ubuntu@arm:~/ros_catkin_ws/src/common_msgs/sensor_msgs/msg$ ls
CameraInfo.msg JoyFeedback.msg PointCloud.msg
ChannelFloat32.msg JoyFeedbackArray.msg PointCloud2.msg
CompressedImage.msg LaserEcho.msg PointField.msg
FluidPressure.msg LaserScan.msg Range.msg
Illuminance.msg MagneticField.msg RegionOfInterest.msg
Image.msg MultiDOFJointState.msg RelativeHumidity.msg
Imu.msg MultiEchoLaserScan.msg Temperature.msg
JointState.msg NavSatFix.msg TimeReference.msg
Joy.msg NavSatStatus.msg
I see this after installing ros_arduino_bridge and rebuilding via rosdep.
ubuntu@arm:~$ locate sensor_msgs|grep Range
/home/ubuntu/ros_catkin_ws/src/common_msgs/sensor_msgs/msg/Range.msg
/home/ubuntu/ros_catkin_ws/src/genmsg/test/files/sensor_msgs/msg/Range.msg
so it isn't anywhere in the executable path.
Here is where it complains during launch:
/ros_arduino_python/arduino_sensors.py", line 24, in
from sensor_msgs.msg import Range
ImportError: No module named sensor_msgs.msg
so
rosdep install --from-paths src --ignore-src --rosdistro indigo -y
gives one error message:
Reading state information... Done
E: Unable to locate package collada-dom-dev
ERROR: the following rosdeps failed to install
apt: command [sudo apt-get install -y collada-dom-dev] failed
after a apt-get and rosdep update the same error occurs.
Not a major or urgent issue for me, just trying to learn how things work by kicking the tires.
↧
↧
Where is OSRF android turtlebot source code
I'd like to look at the Android source for the turtlebot apps. I can't seem to find it.
↧
error while installing ros from source on ubuntu arm
Hello, Although the website provides methods installing ros on arm, it is an armhf version of Ubuntu .However,I use an armel version of Ubuntu.So I want to install ros from source on the armel version of Ubuntu according to this page http://wiki.ros.org/groovy/Installation/Source
When I excute
$ rosinstall_generator ros_comm --rosdistro groovy --deps --wet-only > groovy-ros_comm-wet.rosinstall
there was an error as follows,
Traceback (most recent call last):
File "/usr/local/bin/rosinstall_generator", line 141, in
rc = main()
File "/usr/local/bin/rosinstall_generator", line 129, in main
upstream_version_tag=args.upstream, upstream_source_version=args.upstream_development)
File "/usr/local/lib/python2.7/dist-packages/rosinstall_generator/generator.py", line 247, in generate_rosinstall
wet_package_names, unreleased_repo_names = _get_packages_for_repos(distro_name, repo_names)
File "/usr/local/lib/python2.7/dist-packages/rosinstall_generator/generator.py", line 93, in _get_packages_for_repos
wet_distro = get_wet_distro(distro_name)
File "/usr/local/lib/python2.7/dist-packages/rosinstall_generator/generator.py", line 213, in get_wet_distro
_wet_distro = _get_wet_distro(distro_name)
File "/usr/local/lib/python2.7/dist-packages/rosinstall_generator/distro.py", line 45, in get_distro
return get_cached_distribution(index, distro_name)
File "/usr/local/lib/python2.7/dist-packages/rosdistro/__init__.py", line 134, in get_cached_distribution
cache = get_distribution_cache(index, dist_name)
File "/usr/local/lib/python2.7/dist-packages/rosdistro/__init__.py", line 160, in get_distribution_cache
yaml_gz_str = load_url(url, skip_decode=True)
File "/usr/local/lib/python2.7/dist-packages/rosdistro/loader.py", line 59, in load_url
raise URLError(str(e) + ' (%s)' % url)
urllib2.URLError: (http://ros.org/rosdistro/groovy-cache.yaml.gz)>
Please help me slove the problem,thank you very much.
↧
Install ROS hydro from source
It seems that ros hydro has some problems installing from source to Ubuntu 12.04 as indicated in (http://wiki.ros.org/hydro/Installation/Source)
The following packages have unmet dependencies:
libpcl-1.7-all-dev : Depends: libpcl-apps-1.7-dev but it is not going to be installed
Depends: libpcl-io-1.7-dev but it is not going to be installed
Depends: libpcl-outofcore-1.7-dev but it is not going to be installed
Depends: libpcl-people-1.7-dev but it is not going to be installed
Depends: libpcl-recognition-1.7-dev but it is not going to be installed
Depends: libpcl-visualization-1.7-dev but it is not going to be installed
libpcl-1.7-bin : Depends: libpcl-io-1.7 but it is not going to be installed
Depends: libpcl-visualization-1.7 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
After these errors, I tried to install libpcl by using $sudo apt-get install libpcl-all-dev, but there were other unmet dependencies...
When ROS hydro compile from source, it seems that Gazebo cannot be compiled.
CMake Error at /home/meng/ros_catkin_ws/install_isolated/share/catkin/cmake/catkin_package.cmake:159 (message):
catkin_package() DEPENDS on 'gazebo' which must be find_package()-ed
before. If it is a catkin package it can be declared as CATKIN_DEPENDS
instead without find_package()-ing it.
Call Stack (most recent call first):
/home/meng/ros_catkin_ws/install_isolated/share/catkin/cmake/catkin_package.cmake:98 (_catkin_package)
CMakeLists.txt:72 (catkin_package)
-- Configuring incomplete, errors occurred!
<== Failed to process package 'gazebo_plugins':
Command '/home/meng/ros_catkin_ws/install_isolated/env.sh cmake /home/meng/ros_catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins -DCATKIN_DEVEL_PREFIX=/home/meng/ros_catkin_ws/devel_isolated/gazebo_plugins -DCMAKE_INSTALL_PREFIX=/home/meng/ros_catkin_ws/install_isolated -DCMAKE_BUILD_TYPE=Release' returned non-zero exit status 1
Reproduce this error by running:
==> cd /home/meng/ros_catkin_ws/build_isolated/gazebo_plugins && /home/meng/ros_catkin_ws/install_isolated/env.sh cmake /home/meng/ros_catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins -DCATKIN_DEVEL_PREFIX=/home/meng/ros_catkin_ws/devel_isolated/gazebo_plugins -DCMAKE_INSTALL_PREFIX=/home/meng/ros_catkin_ws/install_isolated -DCMAKE_BUILD_TYPE=Release
Command failed, exiting.
Could someone provide some suggestions? Thanks a lot! :)
↧
error while installing ros groovy on ubuntu 12.04 armel
Hello, I want to install ROS groovy from source on ubuntu armel 12.04 according to this page http://wiki.ros.org/groovy/Installation/Source. I have download the ros-comm to /ros_catkin_ws/src. Than run :
$rosdep install --from-paths src --ignore-src --rosdistro groovy -yr
I get the following error
executing command [sudo apt-get install -y python-rospkg]
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python-rospkg
executing command [sudo apt-get install -y python-catkin-pkg]
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python-catkin-pkg
executing command [sudo apt-get install -y sbcl]
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package sbcl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
sbcl-source sbcl-doc
E: Package 'sbcl' has no installation candidate
executing command [sudo apt-get install -y python-rosdep]
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python-rosdep
ERROR: the following rosdeps failed to install
apt: command [sudo apt-get install -y python-rospkg] failed
apt: command [sudo apt-get install -y python-catkin-pkg] failed
apt: command [sudo apt-get install -y sbcl] failed
apt: command [sudo apt-get install -y python-rosdep] failed
apt: Failed to detect successful installation of [python-rospkg]
apt: Failed to detect successful installation of [python-catkin-pkg]
apt: Failed to detect successful installation of [sbcl]
apt: Failed to detect successful installation of [python-rosdep]
In fact, I have successfully installed rospkg , catkin-pkg and rosdep.
So,I install them again.
$sudo pip install rospkg catkin-pkg rosdep
I got the following:
Requirement already satisfied (use --upgrade to upgrade): rospkg in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied (use --upgrade to upgrade): catkin-pkg in /usr/local/lib/python2.7/dist-packs
Requirement already satisfied (use --upgrade to upgrade): rosdep in /usr/local/lib/python2.7/dist-packages
Please help me to solve this problem. thank you very much.
↧
↧
Install Hydro from source: unexpected keyword argument 'timeout'
I am trying to install Hydro from source following [these instructions](http://wiki.ros.org/hydro/Installation/Source) on Ubuntu 12.04 32 bit.
After this command: `wstool init -j8 src hydro-desktop-full-wet.rosinstall`
I got several errors of this type:
TypeError: checkout() got an unexpected keyword argument 'timeout'
How can I solve this problem? Thanks!
↧
Install debian dependecies for git source project
So i have all my source for my custom robot on github, and i only want to have my own custom source in there. I have been looking around everywhere, and am trying to figure out how to make these steps below work:
- A member from my team does fresh linux install
- installs ros full desktop indigo through apt-get
- creates a catkin workspace, and does "git clone [repo url] src"
Now he needs to compile the source, but because he just did a clean install, packages (dependencies in this case) like robot_localization, move_base_msgs, etc, are not installed to his system yet.
What i am trying to figure out is how can i set it up so that when he downloads/compiles the source, the respective *debian* package dependencies are installed in the easiest way possible (to /opt/ros/indigo). Im trying to minimize the least amount of commands since the new guys in my club are just learning ROS. Since they do not know yet what robot_localization or move_base_msgs is yet, im trying to eliminate having them take additional steps in order to just get our gazebo model with ros plugins, robot_localization, move_base, etc... to start up.
Ive looked at a few packages at tried to see how they do it, but i only found in clearpaths jackal repo that they had a rosinstall file. Someone please correct me if i am wrong: I do not think i want to do rosinstall because it seems as if rosinstall installs the source; looking inside the rosinstall for jackal, it is listing github urls, and branches which is not what i am trying to do)
I obviously tried using rosdep, but it seems like you can only invoke things like "rosdep check [package/stack]" if the package is in the /opt/ros/[distro]/ path. I tried to do it from my catkin workspace (since that was one of the 4 paths rosdep error was giving) and it still didnt work:
ERROR: Rosdep cannot find all required resources to answer your query
Missing resource simulation/scipio_simulation/
ROS path [0]=/opt/ros/indigo/share/ros
ROS path [1]=/home/l0g1x/edt/l0g1x_ws/src
ROS path [2]=/opt/ros/indigo/share
ROS path [3]=/opt/ros/indigo/stacks
So then i tried to add install() to the CMakeLists.txt of one of my packages (so that i can then call rosdep check/install/etc. on it) by adding:
install(DIRECTORY launch/
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/launch
FILES_MATCHING PATTERN "*.launch"
PATTERN ".git" EXCLUDE)
But then i couldnt build the package because catkin picked up that robot_localization was not installed (i listed it as my packages dependency in the CMakeLists.txt in the package() line), so it would not install to the /opt/ros/indigo folder..
Does anybody have any insight on what i should do or how to go about this to make the process of setting up our project as seamless as possible for a new member of my club?
**EDIT 1:**
I tried this command as well from my catkin_ws/ folder:
rosdep install --from-paths src --ignore-src --rosdistro indigo
And i think this does the trick.. Can someone confirm this is the CORRECT way to do what i am trying to do? Dont want to learn bad habits
↧
install navigation form sources
Hello,I have installed the Groovy Ros-Comm from source. Now,I need the navigation package.So I download the navigation source code from Browse Software http://www.ros.org/browse/list.php. At the same time, I download all the packages that navigation depends ,and put them in the navigation.I compiled the navigation using rosmake.Than it shows as following:
error: /home/sxl/ros_catkin_ws1/src/navigation-groovy-devel/robot_pose_ekf/include/robot_pose_ekf/nonlinearanalyticconditionalgaussianodo.h:22:59: did not have pdf/analyticconditionalgaussian_additivenoise.h:
In fact,there is the file at bfl/src/.I have download the bfl and put it in the navigation package.
PS: I can not install navigation through `sudo apt-get install navigation`
Please help me.How can I install navigation from source.What causes this error.How to solve it.Thank you very much.
[ rosmake ] rosmake starting...
[ rosmake ] No package specified. Building stack ['navigation-groovy-devel']
[ rosmake ] Packages requested are: ['navigation-groovy-devel']
[ rosmake ] Logging to directory /home/sxl/.ros/rosmake/rosmake_output-20141127-143344
[ rosmake ] Expanded args ['navigation-groovy-devel'] to:
['bondcpp', 'bond', 'smclib', 'bondpy', 'test_bond', 'bfl', 'voxel_grid', 'flann', 'pcl_ros', 'nav_core', 'nodelet', 'move_base_msgs', 'pcl', 'dwa_local_planner', 'clear_costmap_recovery', 'move_slow_and_clear', 'base_local_planner', 'rotate_recovery', 'amcl', 'map_server', 'fake_localization', 'robot_pose_ekf', 'move_base', 'laser_geometry', 'nodelet_topic_tools', 'test_nodelet_topic_tools', 'test_nodelet', 'navfn', 'tf_conversions', 'kdl_conversions', 'eigen_conversions', 'tf', 'costmap_2d', 'carrot_planner', 'pcl_msgs']
[rosmake-0] Starting >>> catkin [ make ]
[rosmake-1] Starting >>> bondcpp [ make ]
[rosmake-1] Finished <<< bondcpp ROS_NOBUILD in package bondcpp
No Makefile in package bondcpp
[rosmake-2] Starting >>> eigen_conversions [ make ]
[rosmake-1] Starting >>> kdl_conversions [ make ] ………………
[rosmake-3] Starting >>> std_srvs [ make ]
[rosmake-3] Finished <<< std_srvs ROS_NOBUILD in package std_srvs
No Makefile in package std_srvs
[rosmake-3] Starting >>> amcl [ make ]
[ rosmake ] Last 40 linesbot_pose_ekf: 4.3 sec ] [ costmap_2d: 4.2 sec ] [ actionli... [ 4 Active 69/82 Complete ]
{-------------------------------------------------------------------------------
vals = rospack.get_depends(package, implicit=True)
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 227, in get_depends
s.update(self.get_depends(p, implicit))
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 227, in get_depends
s.update(self.get_depends(p, implicit))
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 227, in get_depends
s.update(self.get_depends(p, implicit))
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 227, in get_depends
s.update(self.get_depends(p, implicit))
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 227, in get_depends
s.update(self.get_depends(p, implicit))
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 221, in get_depends
names = [p.name for p in self.get_manifest(name).depends]
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 159, in get_manifest
return self._load_manifest(name)
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 198, in _load_manifest
retval = self._manifests[name] = parse_manifest_file(self.get_path(name), self._manifest_name, rospack=self)
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 190, in get_path
raise ResourceNotFound(name, ros_paths=self._ros_paths)
rospkg.common.ResourceNotFound: cmake_modules
ROS path [0]=/home/sxl/ros_catkin_ws1/install_isolated/share/ros
ROS path [1]=/home/sxl/ros_catkin_ws1/src/navigation-groovy-devel
ROS path [2]=/home/sxl/ros_catkin_ws1/src/slam_gmapping
ROS path [3]=/home/sxl/ros_catkin_ws1/src/navigation-1.8.3
ROS path [4]=/home/sxl/ros_catkin_ws1/src/common_rosdeps
ROS path [5]=/home/sxl/ros_catkin_ws1/src/pluginlib
ROS path [6]=/home/sxl/ros_catkin_ws1/src/visualization_msgs
ROS path [7]=/home/sxl/actionlib
ROS path [8]=/home/sxl/ros_catkin_ws1/install_isolated/share
ROS path [9]=/home/sxl/ros_catkin_ws1/install_isolated/stacks
CMake Error at /home/sxl/ros_catkin_ws1/install_isolated/share/dynamic_reconfigure/cmake/cfgbuild.cmake:78 (string):
string sub-command REPLACE requires at least four arguments.
Call Stack (most recent call first):
/home/sxl/ros_catkin_ws1/install_isolated/share/dynamic_reconfigure/cmake/cfgbuild.cmake:99 (gencfg_cpp)
CMakeLists.txt:21 (include)
-- Configuring incomplete, errors occurred!
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package costmap_2d written to:
[ rosmake ] /home/sxl/.ros/rosmake/rosmake_output-20141127-143344/costmap_2d/build_output.log
[rosmake-2] Finished <<< costmap_2d [FAIL] [ 4.22 seconds ]
[ rosmake ] Halting due to failure in package costmap_2d.
[ rosmake ] Waiting for other threads to complete.
[rosmake-3] Finished <<< amcl [PASS] [ 3.36 seconds ]
[ rosmake ] Last 40 linesbot_pose_ekf: 7.3 sec ] [ actionlib: 4.3 sec ] [ 2 Active 70/82 Complete ]
{-------------------------------------------------------------------------------
[ 57%] Built target ROSBUILD_genmsg_cpp
make[3]: 正在进入目录 `/home/sxl/ros_catkin_ws1/src/navigation-groovy-devel/robot_pose_ekf/build'
[ 57%] Built target rospack_gensrv
make[3]: 正在进入目录 `/home/sxl/ros_catkin_ws1/src/navigation-groovy-devel/robot_pose_ekf/build'
make[3]:正在离开目录 `/home/sxl/ros_catkin_ws1/src/navigation-groovy-devel/robot_pose_ekf/build'
make[3]:正在离开目录 `/home/sxl/ros_catkin_ws1/src/navigation-groovy-devel/robot_pose_ekf/build'
[ 57%] Built target rospack_genmsg
make[3]: 正在进入目录 `/home/sxl/ros_catkin_ws1/src/navigation-groovy-devel/robot_pose_ekf/build'
make[3]: 正在进入目录 `/home/sxl/ros_catkin_ws1/src/navigation-groovy-devel/robot_pose_ekf/build'
[ 57%] Built target rospack_gensrv_all
make[3]:正在离开目录 `/home/sxl/ros_catkin_ws1/src/navigation-groovy-devel/robot_pose_ekf/build'
make[3]:正在离开目录 `/home/sxl/ros_catkin_ws1/src/navigation-groovy-devel/robot_pose_ekf/build'
[ 57%] Built target rosbuild_precompile
[ 57%] make[3]: 正在进入目录 `/home/sxl/ros_catkin_ws1/src/navigation-groovy-devel/robot_pose_ekf/build'
Built target rospack_genmsg_all
make[3]:正在离开目录 `/home/sxl/ros_catkin_ws1/src/navigation-groovy-devel/robot_pose_ekf/build'
make[3]: 正在进入目录 `/home/sxl/ros_catkin_ws1/src/navigation-groovy-devel/robot_pose_ekf/build'
[ 71%] [ 85%] [100%] Building CXX object CMakeFiles/robot_pose_ekf.dir/src/nonlinearanalyticconditionalgaussianodo.cpp.o
Building CXX object CMakeFiles/robot_pose_ekf.dir/src/odom_estimation_node.cpp.o
Building CXX object CMakeFiles/robot_pose_ekf.dir/src/odom_estimation.cpp.o
In file included from /home/sxl/ros_catkin_ws1/src/navigation-groovy-devel/robot_pose_ekf/src/nonlinearanalyticconditionalgaussianodo.cpp:18:0:
/home/sxl/ros_catkin_ws1/src/navigation-groovy-devel/robot_pose_ekf/include/robot_pose_ekf/nonlinearanalyticconditionalgaussianodo.h:22:59: 致命错误: pdf/analyticconditionalgaussian_additivenoise.h:没有那个文件或目录
编译中断。
In file included from /home/sxl/ros_catkin_ws1/src/navigation-groovy-devel/robot_pose_ekf/src/odom_estimation.cpp:37:0:
/home/sxl/ros_catkin_ws1/src/navigation-groovy-devel/robot_pose_ekf/include/robot_pose_ekf/odom_estimation.h:40:41: 致命错误: filter/extendedkalmanfilter.h:没有那个文件或目录
编译中断。
make[3]: *** [CMakeFiles/robot_pose_ekf.dir/src/odom_estimation.cpp.o] 错误 1
make[3]: *** 正在等待未完成的任务....
make[3]: *** [CMakeFiles/robot_pose_ekf.dir/src/nonlinearanalyticconditionalgaussianodo.cpp.o] 错误 1
In file included from /home/sxl/ros_catkin_ws1/src/navigation-groovy-devel/robot_pose_ekf/include/robot_pose_ekf/odom_estimation_node.h:44:0,
from /home/sxl/ros_catkin_ws1/src/navigation-groovy-devel/robot_pose_ekf/src/odom_estimation_node.cpp:37:
/home/sxl/ros_catkin_ws1/src/navigation-groovy-devel/robot_pose_ekf/include/robot_pose_ekf/odom_estimation.h:40:41: 致命错误: filter/extendedkalmanfilter.h:没有那个文件或目录
编译中断。
make[3]: *** [CMakeFiles/robot_pose_ekf.dir/src/odom_estimation_node.cpp.o] 错误 1
make[3]:正在离开目录 `/home/sxl/ros_catkin_ws1/src/navigation-groovy-devel/robot_pose_ekf/build'
make[2]: *** [CMakeFiles/robot_pose_ekf.dir/all] 错误 2
make[2]:正在离开目录 `/home/sxl/ros_catkin_ws1/src/navigation-groovy-devel/robot_pose_ekf/build'
make[1]: *** [all] 错误 2
make[1]:正在离开目录 `/home/sxl/ros_catkin_ws1/src/navigation-groovy-devel/robot_pose_ekf/build'
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package robot_pose_ekf written to:
[ rosmake ] /home/sxl/.ros/rosmake/rosmake_output-20141127-143344/robot_pose_ekf/build_output.log
[rosmake-1] Finished <<< robot_pose_ekf [FAIL] [ 7.39 seconds ]
[ rosmake ] Halting due to failure in package robot_pose_ekf.
[ rosmake ] Waiting for other threads to complete.
[rosmake-0] Finished <<< actionlib [PASS] [ 7.03 seconds ]
[ rosmake ] Results:
[ rosmake ] Built 73 packages with 2 failures.
[ rosmake ] Summary output to directory
↧
Turtlebot on mac OSX
I've being trying to get ROS + turtlebot (Hydro) installed on my mac (running osx 10.10).
ROS installed happily.
However I am running into a few issues with compiling the turtlebot specific packages from source (http://wiki.ros.org/turtlebot/Tutorials/hydro/Installation).
When I run:
rosdep install --from-paths src -i -y
I get the following errors:
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
kobuki_ftdi: No definition of [ftdi-eeprom] for OS [osx]
kobuki_qtestsuite: No definition of [pyqt4-dev-tools] for OS [osx]
As expected, continuing on with catkin-make doesn't work out too well.
How would I go about solving/getting arounds this? (I don't mind if its not a full blown answer, would at least like to be pointed in the right direction)
Also, just for reference, a somewhat similar question was asked quite a while back without that much success:
http://answers.ros.org/question/89831/install-turtelbot-simulator-on-mac-os/
↧
↧
Conflicts when source setup.bash
Hi, I wrote an global planner for my turtlebot.
But when I tried to source my .bashrc, only one setup.bash can work.
When I `source ~/turtlebot/devel/setup.bash`,
I can use simulator or navigation .
But I need to load my own planner plugin,
so I `source ~/catkin_ws/devel/setup.bash`,
Then I can see the plugin.
But I can not use anything about turtlebot now.
It seems that `source ~/turtlebot/devel/setup.bash` is cancelled.
If I `source ~/turtlebot/devel/setup.bash` again,
I can use turtlebot but I can not see my plugin,
`source ~/catkin_ws/devel/setup.bash`stopped working.
Can anybody help me with this?
For convenience, I usually put all such things in .bashrc file.
But it seems that only one setup.bash can work at a time.
↧
How to aviod running the command "source devel/setup.bash"
Hello All,
I've built a catkin package which has a main node and links against a repository. My problem is that everytime I need to use the package I have to run "source devel/setup.bash" before running the command 'rosrun'. Otherwise, I receive an error.Is there any way to solve this problem and avoid to run this command everytime?
Thanks.
↧
Is there a guide to cross-compiling ROS for ARM (BBB)?
The eROS project appears to be graveyarded and I'm looking for a place to start.
My Requirements:
* Build ROS Packages in amd64 machine with cross compiler
* "Deploy" binaries on target - Beaglebone black - which already has ROS installed on it
* Run ROS nodes on the target
I *can* build the ROS packages on the BBB itself but that workflow gets out of hand for distributed systems - a cluster of 10-20 BBBs that may all run an instance of the built ROS package..
Thanks!
↧
Catkin Problems on sourcing workspaces
Hi,
I am currently trying to source multiple catikin workspaces but I mostly get only one to work, which is the
last one I include.
What is the problem there?
It was working most of the time but, right now it does not anymore.
When it was working I always had to include one workspace after another one.
If I reverted the order only one of them was found.
But now I am always getting only one workspace to work.
Any idea what's the reason for that?
Thanks!
↧
↧
Source file of ROS
Hi there. I have installed ROS on Mac OS and found there are source files in most packages' src folder.
But in Ubuntu, ROS packages reside in ```opt``` folder and I can not find source file. What
is the difference?
↧
Installing package from source in Indigo
Hi!
I know this question has been asked dozen of times already. So sorry for asking it again, but I really have problems dealing with it and I'm trying for hours now. It seems like the answers for older releases of ROS don't work for Indigo or maybe just for me. :(
I'd just want to install the [descartes-package](https://github.com/ros-industrial-consortium/descartes/tree/indigo-devel) from source as there is no `sudo apt-get install ros-indigo-descartes`.
Can somebody help me out here please?
**Edit:**
Among others I already tried [this approach](http://answers.ros.org/question/60570/how-do-i-install-and-run-a-ros-package/):
there when I type `rosws set --svn https://github.com/ros-industrial-consortium/descartes.git` the error appears `ERROR in config: Command requires a target workspace.`
also this [one](http://answers.ros.org/question/115261/how-to-install-an-individual-package-in-ros-hydro/):
but when entering `wstool merge descartes_catkin.rosinstall`, I get the error `ERROR in config: Is not a local file, nor a valid URL [descartes_catkin.rosinstall] : unknown url type: descartes_catkin.rosinstall`
In my distress I then tried `git clone https://github.com/ros-industrial-consortium/descartes.git -b -indigo-devel` and then `catkin_make` as this was the way to get the UR-package. But then in the C-API the `#include ` and the other includes of descartes coud not be recognized by the compiler.
↧
How to build a package from source?
Hi! I've recently installed the ROS indigo desktop version in my raspberry PI 2, running the last version of Raspbian (following the tutorial http://wiki.ros.org/ROSberryPi/Installing%20ROS%20Indigo%20on%20Raspberry%20Pi). I've installed all properly. Now I'm trying to install new packages from source in the ROS file system, but I don't understand exactly what I have to do to get it. The package I'm trying to install is ros3djs (http://wiki.ros.org/ros3djs).
The steps I've followed are the next:
1-
`$ cd ~/ros_catkin_ws/src`
2-
`$ git clone https://github.com/RobotWebTools/ros3djs.git`
Once I have the package downloaded in the src folder, I don't know exactly what I should do. In the installation of ROS tutorial comes the next command to invoke catkin_make_isolated:
`$ sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/indigo`
but it makes all the workspace to be compiled again and it takes a lot of time, so what I should do? I want to compile only the new packages I add.
Being on the ros_catkin_ws folder, I've tried the next:
3- `$ catkin_make --pkg ros3djs`
But I get the next message:
> Packages "ros3djs" not found in the workspace
I've also tried the catkin_make_isolated:
3- `$ catkin_make_isolated --pkg ros3djs`
> Packages not found in the workspace:> ros3djs
I don't understand very well the structure ROS have to add new packages.
Could someone give me any suggestion?
Thank you very much!
↧