Ask Your Question

younes's profile - activity

2020-04-20 15:27:03 -0500 received badge  Notable Question (source)
2019-02-22 18:26:54 -0500 received badge  Notable Question (source)
2016-03-13 15:55:50 -0500 received badge  Popular Question (source)
2015-08-31 07:40:33 -0500 asked a question passing image as a message
 Hi,

I would like to understand this function

 void image_callback(sensor_msgs::ImageConstPtr image)
{
  ROS_DEBUG_STREAM("VO:image_callback{" << ros::Time::now() << "} seq=" << image->header.seq);

  static nav_msgs::Odometry odom_output;

/* vo->on_image(&image->data[0], (image->encoding == "bgr8" ? false : true), image->width, image->height, &odom_output.twist.twist.linear.x, &odom_output.twist.twist.angular.z);

  odom_output.header.stamp = image->header.stamp;
  odom_output.header.seq++;*/

  pub_vo.publish(odom_output);
}

Thanks

2015-08-31 07:37:41 -0500 commented answer Can't compile with catkin_make

I run the command source source /opt/ros/indigo/setup.bash source /opt/ros/indigo/setup.bash and source :~/catkin_ws/devel/setup.bash

2015-08-13 17:20:17 -0500 received badge  Famous Question (source)
2015-05-26 01:59:36 -0500 received badge  Popular Question (source)
2015-05-23 08:36:51 -0500 received badge  Notable Question (source)
2015-05-23 07:26:18 -0500 asked a question Moving a robot for SLAM

I am working on ratSLAM. I want to move the robot to a precise goal. What should I do? Thanks

2015-05-23 06:39:46 -0500 commented answer Can't compile with catkin_make

I removed /opt/ros/indigo/ros folder that contains another package created before: sudo rm -r /opt/ros/indigo/ros Then I can run catkin_make

2015-05-23 05:59:28 -0500 answered a question Can't compile with catkin_make

It's OK. I arrive to run my package by resolving the conflicts. Thanks

2015-05-21 06:49:49 -0500 received badge  Popular Question (source)
2015-05-20 09:57:47 -0500 asked a question Can't compile with catkin_make

Hello,

I'd like to use catkin_make command to compile a package, So I create a folder src in my workspace with mkdir, then use catkin_init_workspace to initialize the package. But when runing catkin_make I obtain the following error even if my src folder is empty:

/opt/ros/indigo/share/catkin/cmake/em/order_packages.cmake.em:23: error: <type 'exceptions.RuntimeError'>: Multiple packages found with the same name "ros":
- ros
- share/ros
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/em.py", line 3276, in <module>
    if __name__ == '__main__': main()
  File "/usr/lib/python2.7/dist-packages/em.py", line 3274, in main
    invoke(sys.argv[1:])
  File "/usr/lib/python2.7/dist-packages/em.py", line 3257, in invoke
    interpreter.wrap(interpreter.file, (file, name))
  File "/usr/lib/python2.7/dist-packages/em.py", line 2262, in wrap
    self.fail(e)
  File "/usr/lib/python2.7/dist-packages/em.py", line 2253, in wrap
    callable(*args)
  File "/usr/lib/python2.7/dist-packages/em.py", line 2326, in file
    self.safe(scanner, done, locals)
  File "/usr/lib/python2.7/dist-packages/em.py", line 2368, in safe
    self.parse(scanner, locals)
  File "/usr/lib/python2.7/dist-packages/em.py", line 2388, in parse
    token.run(self, locals)
  File "/usr/lib/python2.7/dist-packages/em.py", line 1403, in run
    interpreter.execute(self.code, locals)
  File "/usr/lib/python2.7/dist-packages/em.py", line 2565, in execute
    exec(statements, self.globals)
  File "<string>", line 17, in <module>
  File "/usr/lib/python2.7/dist-packages/catkin_pkg/topological_order.py", line 111, in topological_order
    for path, package in find_packages(space).items():
  File "/usr/lib/python2.7/dist-packages/catkin_pkg/packages.py", line 92, in find_packages
    raise RuntimeError('\n'.join(duplicates))
RuntimeError: Multiple packages found with the same name "ros":
- ros
- share/ros
CMake Error at /opt/ros/indigo/share/catkin/cmake/safe_execute_process.cmake:11 (message):

  execute_process(/home/limiarf/catkin_ws/build/catkin_generated/env_cached.sh
  "/usr/bin/python" "/usr/lib/python2.7/dist-packages/em.pyc" "--raw-errors"
  "-F" "/home/limiarf/catkin_ws/build/catkin_generated/order_packages.py"
  "-o" "/home/limiarf/catkin_ws/build/catkin_generated/order_packages.cmake"
  "/opt/ros/indigo/share/catkin/cmake/em/order_packages.cmake.em") returned
  error code 1
Call Stack (most recent call first):
  /opt/ros/indigo/share/catkin/cmake/em_expand.cmake:25 (safe_execute_process)
  /opt/ros/indigo/share/catkin/cmake/catkin_workspace.cmake:29 (em_expand)
  CMakeLists.txt:63 (catkin_workspace)


-- Configuring incomplete, errors occurred!
See also "/home/limiarf/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/limiarf/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed

What should I do?

Thanks Younès

2014-08-18 05:34:43 -0500 received badge  Popular Question (source)
2014-08-17 22:49:09 -0500 edited question Error with rosdep

Hi,

When I tap the command:

rosdep install --from-paths src --ignore-src --rosdistro hydro -y

I get the error:

ERROR: Rosdep experienced an internal error. Please go to the rosdep page [1] and file a bug report with the message below. [1] : http://www.ros.org/wiki/rosdep

rosdep version: 0.10.30

Bad installer [homebrew]: 0

What should I do?

Thanks

Younes