ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

pntripathi9417's profile - activity

2015-01-21 10:09:47 -0500 received badge  Famous Question (source)
2014-03-07 01:17:21 -0500 received badge  Notable Question (source)
2014-03-07 01:17:21 -0500 received badge  Popular Question (source)
2014-01-28 17:26:11 -0500 marked best answer Roboearth installation in fuerte in ubuntu 12.04

I m trying to install Roboearth from the wiki page but when i try to install ros-fuerte-perception-pcl-addons. it returns with the error no such package found. Is there some other way to install these depedencies?

Thanks in advance :)

2014-01-28 17:23:16 -0500 marked best answer unable to build gazebo package in ROS.

while running rosmake gazebo. i get the following error:

/home/pragyan/tredext/biome_simulator/simulator_gazebo/gazebo/build/gazebo/server/audio_video/AudioDecoder.cc:105:49: error: ‘avcodec_decode_audio2’ was not declared in this scope

I tried to uncomment the use of this function and tried to make it the next error was related OREG. Can anyone just tell me the solution to this problem?

Thanks in advance :)

2014-01-28 17:23:11 -0500 marked best answer Roboearth build fails at re_vision

I m trying to build roboearth on oneiric on electric version of ROS and using gcc4.6 compiler. but i came across with the following error:

[ 19%] Building CXX object CMakeFiles/DUtilsCV.dir/src/3rdparty/DUtilsCV/Drawing.o /home/pragyan/tredext/biome/roboearth/re_vision/src/3rdparty/DUtilsCV/Drawing.cpp: In static member function ‘static void DUtilsCV::Drawing::drawCorrespondences(cv::Mat&, const cv::Mat&, const cv::Mat&, const std::vector<cv::keypoint>&, const std::vector<cv::keypoint>&, const std::vector<int>&, const std::vector<int>&)’:
/home/pragyan/tredext/biome/roboearth/re_vision/src/3rdparty/DUtilsCV/Drawing.cpp:107:35: error: taking address of temporary [-fpermissive]
/home/pragyan/tredext/biome/roboearth/re_vision/src/3rdparty/DUtilsCV/Drawing.cpp:116:3: error: taking address of temporary [-fpermissive]
/home/pragyan/tredext/biome/roboearth/re_vision/src/3rdparty/DUtilsCV/Drawing.cpp:124:3: error: taking address of temporary [-fpermissive] make[3]: * [CMakeFiles/DUtilsCV.dir/src/3rdparty/DUtilsCV/Drawing.o] Error 1 make[3]: Leaving directory /home/pragyan/tredext/biome/roboearth/re_vision/build' make[2]: *** [CMakeFiles/DUtilsCV.dir/all] Error 2 make[2]: Leaving directory /home/pragyan/tredext/biome/roboearth/re_vision/build' make[1]: * [all] Error 2 make[1]: Leaving directory `/home/pragyan/tredext/biome/roboearth/re_vision/build'

Any body with clue what's the meaning of error: taking address of temporary[-fpermissive] and how it can be resolved? Thanks in advanced.

2013-02-24 05:10:59 -0500 received badge  Famous Question (source)
2013-02-24 05:10:59 -0500 received badge  Notable Question (source)
2013-02-24 05:10:59 -0500 received badge  Popular Question (source)
2013-01-30 22:57:09 -0500 received badge  Popular Question (source)
2013-01-30 22:57:09 -0500 received badge  Famous Question (source)
2013-01-30 22:57:09 -0500 received badge  Notable Question (source)
2012-10-02 04:18:35 -0500 received badge  Famous Question (source)
2012-09-19 08:23:26 -0500 marked best answer planning_model package build fails: oneric

Hi, I m trying to build armnavigation stack of ros electric. in ubuntu oneiric using gcc4.6. but i ran into the following errors:

/home/pragyan/tredext/biome/armnavigation/planning_models/src/kinematic_model.cpp:251:37: error: wrong number of template arguments (1, should be 3)
/usr/include/boost/detail/container_fwd.hpp:90:64: error: provided for ‘template<class key,="" class="" compare,="" class="" allocator=""> struct std::set’
/home/pragyan/tredext/biome/armnavigation/planning_models/src/kinematic_model.cpp:251:49: error: invalid type in declaration before ‘it’
/home/pragyan/tredext/biome/armnavigation/planning_models/src/kinematic_model.cpp:251:49: error: expected ‘;’ before ‘it’
/home/pragyan/tredext/biome/armnavigation/planning_models/src/kinematic_model.cpp:251:49: error: ‘it’ was not declared in this scope
/home/pragyan/tredext/biome/armnavigation/planning_models/src/kinematic_model.cpp:251:64: error: request for member ‘begin’ in ‘joint_set’, which is of non-class type ‘int’
/home/pragyan/tredext/biome/armnavigation/planning_models/src/kinematic_model.cpp:252:27: error: request for member ‘end’ in ‘joint_set’, which is of non-class type ‘int’
/home/pragyan/tredext/biome/armnavigation/planning_models/src/kinematic_model.cpp:252:32: error: expected ‘)’ before ‘;’ token
/home/pragyan/tredext/biome/armnavigation/planning_models/src/kinematic_model.cpp:251:40: warning: unused variable ‘iterator’ [-Wunused-variable]
/home/pragyan/tredext/biome/armnavigation/planning_models/src/kinematic_model.cpp:253:11: error: ‘it’ was not declared in this scope
/home/pragyan/tredext/biome/armnavigation/planning_models/src/kinematic_model.cpp:253:15: error: expected ‘;’ before ‘)’ token
/home/pragyan/tredext/biome/armnavigation/planning_models/src/kinematic_model.cpp: In member function ‘planning_models::KinematicModel::LinkModel* planning_models::KinematicModel::constructLinkModel(const urdf::Link)’:
/home/pragyan/tredext/biome/armnavigation/planning_models/src/kinematic_model.cpp:422:23: error: ‘ROS_ASSERT’ was not declared in this scope
/home/pragyan/tredext/biome/armnavigation/planning_models/src/kinematic_model.cpp: In member function ‘shapes::Shape
planning_models::KinematicModel::constructShape(const urdf::Geometry)’:
/home/pragyan/tredext/biome/armnavigation/planning_models/src/kinematic_model.cpp:453:18: error: ‘ROS_ASSERT’ was not declared in this scope
/home/pragyan/tredext/biome/armnavigation/planning_models/src/kinematic_model.cpp: In constructor ‘planning_models::KinematicModel::JointModelGroup::JointModelGroup(const string&, const std::vector<const planning_models::kinematicmodel::jointmodel*&gt;&amp;,="" const="" std::vector<const="" planning_models::kinematicmodel::jointmodel*&gt;&amp;,="" const="" planning_models::kinematicmodel<="" em="">)’:
/home/pragyan/tredext/biome/armnavigation/planning_models/src/kinematic_model.cpp:1264:28: error: wrong number of template arguments (1, should be 3)
/usr/include/boost/detail/container_fwd.hpp:90:64: error: provided for ‘template<class key,="" class="" compare,="" class="" allocator=""> struct std::set’
/home/pragyan/tredext/biome/armnavigation/planning_models/src/kinematic_model.cpp:1264:45: error: invalid type in declaration before ‘;’ token
/home/pragyan/tredext/biome/armnavigation/planning_models/src/kinematic_model.cpp:1268:21: error: request for member ‘insert’ in ‘group_links_set’, which is of non-class type ‘int’
/home/pragyan/tredext/biome/armnavigation/planning_models/src/kinematic_model.cpp:1275:23: error: request for member ‘insert’ in ‘group_links_set’, which is of non-class type ‘int’
/home/pragyan/tredext/biome/armnavigation/planning_models/src/kinematic_model.cpp:1281:32: error: wrong number of template arguments (1, should be 3)
/usr/include/boost/detail/container_fwd.hpp:90:64: error: provided for ‘template<class key,="" class="" compare,="" class="" allocator=""> struct std::set’
/home ...

(more)
2012-09-19 08:23:03 -0500 received badge  Famous Question (source)
2012-09-19 08:23:03 -0500 received badge  Popular Question (source)
2012-09-19 08:23:03 -0500 received badge  Notable Question (source)
2012-09-13 04:07:43 -0500 received badge  Famous Question (source)
2012-09-13 04:07:43 -0500 received badge  Notable Question (source)
2012-08-28 00:57:33 -0500 received badge  Notable Question (source)
2012-08-28 00:57:33 -0500 received badge  Popular Question (source)
2012-08-22 12:22:06 -0500 received badge  Popular Question (source)
2012-08-22 12:22:06 -0500 received badge  Notable Question (source)
2012-08-22 12:22:06 -0500 received badge  Famous Question (source)
2012-08-16 23:37:24 -0500 received badge  Famous Question (source)
2012-07-22 03:13:06 -0500 received badge  Popular Question (source)
2012-07-06 16:09:29 -0500 asked a question android_core compilation error

I m trying to compile android_core stack. first I ran the command

android update project --path ./android_gingerbread_mr1 --target android-13

after this running ./gradelw debug causes the following error

-pre-compile:

-compile:
    [javac] Compiling 40 source files to /home/pragyan/Techiome/android_core/android_honeycomb_mr2/bin/classes
    [javac] /home/pragyan/Techiome/android_core/android_honeycomb_mr2/src/org/ros/android/view/visualization/layer/CompressedBitmapLayer.java:40: package compressed_visualization_transport_msgs does not exist
    [javac]     SubscriberLayer<compressed_visualization_transport_msgs.CompressedBitmap> implements TfLayer {
    [javac]                                                            ^
    [javac] /home/pragyan/Techiome/android_core/android_honeycomb_mr2/src/org/ros/android/view/visualization/layer/CompressedBitmapLayer.java:83: package compressed_visualization_transport_msgs does not exist
    [javac]   void update(compressed_visualization_transport_msgs.CompressedBitmap compressedBitmap) {
    [javac]                                                      ^
    [javac] /home/pragyan/Techiome/android_core/android_honeycomb_mr2/src/org/ros/android/view/visualization/VisualizationView.java:67: cannot find symbol
    [javac] symbol  : constructor FrameTransformTree()
    [javac] location: class org.ros.rosjava_geometry.FrameTransformTree
    [javac]     frameTransformTree = new FrameTransformTree();
    [javac]                          ^
    [javac] /home/pragyan/Techiome/android_core/android_honeycomb_mr2/src/org/ros/android/view/visualization/VisualizationView.java:126: cannot find symbol
    [javac] symbol  : method setPrefix(java.lang.String)
    [javac] location: class org.ros.rosjava_geometry.FrameTransformTree
    [javac]       frameTransformTree.setPrefix(tfPrefix);
    [javac]                         ^
    [javac] /home/pragyan/Techiome/android_core/android_honeycomb_mr2/src/org/ros/android/view/visualization/layer/CompressedBitmapLayer.java:70: package compressed_visualization_transport_msgs does not exist
    [javac]     Subscriber<compressed_visualization_transport_msgs.CompressedBitmap> subscriber =
    [javac]                                                       ^
    [javac] /home/pragyan/Techiome/android_core/android_honeycomb_mr2/src/org/ros/android/view/visualization/layer/CompressedBitmapLayer.java:74: package compressed_visualization_transport_msgs does not exist
    [javac]         .addMessageListener(new MessageListener<compressed_visualization_transport_msgs.CompressedBitmap>() {
    [javac]                                                                                        ^
    [javac] /home/pragyan/Techiome/android_core/android_honeycomb_mr2/src/org/ros/android/view/visualization/layer/CompressedBitmapLayer.java:77: package compressed_visualization_transport_msgs does not exist
    [javac]               compressed_visualization_transport_msgs.CompressedBitmap compressedBitmap) {
    [javac]                                                      ^
    [javac] Note: /home/pragyan/Techiome/android_core/android_honeycomb_mr2/src/org/ros/android/view/visualization/VisualizationView.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 7 errors

BUILD FAILED
/home/pragyan/Techiome/android-sdk-linux/tools/ant/build.xml:680: The following error occurred while executing this line:
/home/pragyan/Techiome/android-sdk-linux/tools/ant/build.xml:693: Compile failed; see the compiler error output for details.

Total time: 3 seconds

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':android_honeycomb_mr2:debug'.
> Command 'ant' finished with (non-zero) exit value 1.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Any solutions?

Thanks in advance :)

2012-06-28 11:10:07 -0500 answered a question Did rosjava break at most recent push?

I m also having the same problem. What should be the work around in this case. I m using ubuntu 12.04 and ROS fuerte!

2012-06-26 17:43:53 -0500 received badge  Editor (source)
2012-06-26 17:42:54 -0500 asked a question rosjava compilation error

while compiling recent rosjava_core library following error was encountered.

Building > :apache_xmlrpc_server:compileJava > Resolving dependencies ':apache_xmlrpc_server:compil:apache_xmlrpc_server:compileJava Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. :apache_xmlrpc_server:processResources UP-TO-DATE :apache_xmlrpc_server:classes :apache_xmlrpc_server:jar :apache_xmlrpc_server:install :rosjava_bootstrap:compileJava UP-TO-DATE :rosjava_bootstrap:processResources UP-TO-DATE :rosjava_bootstrap:classes UP-TO-DATE :rosjava_bootstrap:jar :rosjava_messages:generateSources :rosjava_messages:compileJava /home/pragyan/Techiome/rosjava_core/rosjava_messages/build/generated-src/test_rosjava_jni/TestDataTypes.java:52: getByte() is already defined in test_rosjava_jni.TestDataTypes
std_msgs.Byte getByte(); ^ /home/pragyan/Techiome/rosjava_core/rosjava_messages/build/generated-src/test_rosjava_jni/TestDataTypes.java:54: getByteV() is already defined in test_rosjava_jni.TestDataTypes
java.util.List<std_msgs.byte> getByteV(); ^ 2 errors

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':rosjava_messages:compileJava'.

    Compilation failed; see the compiler error output for details.

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 57.017 secs

any clue how to resolve this? I m using ubuntu 10.10 over electric distribution of ROS.

2012-06-12 23:16:07 -0500 received badge  Notable Question (source)
2012-05-24 03:17:09 -0500 received badge  Popular Question (source)
2012-05-18 01:05:53 -0500 asked a question skeletal_tracker build fails

I m trying to build skeletal_tracker package from kinect demos in ubuntu 12.04and running into following error log:

/opt/ros/fuerte/include/ros/publisher.h:103: undefined reference to ros::console::initializeLogLocation(ros::console::LogLocation*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, ros::console::levels::Level)' /opt/ros/fuerte/include/ros/publisher.h:103: undefined reference toros::console::setLogLocationLevel(ros::console::LogLocation, ros::console::levels::Level)' /opt/ros/fuerte/include/ros/publisher.h:103: undefined reference to ros::console::checkLogLocationEnabled(ros::console::LogLocation*)' /opt/ros/fuerte/include/ros/publisher.h:103: undefined reference toros::console::print(ros::console::FilterBase, log4cxx::Logger, ros::console::levels::Level, char const, int, char const, char const, ...)' /opt/ros/fuerte/include/ros/publisher.h:103: undefined reference to ros::console::initialize()' /opt/ros/fuerte/include/ros/publisher.h:103: undefined reference toros::console::print(ros::console::FilterBase, log4cxx::Logger, ros::console::levels::Level, char const, int, char const, char const, ...)' /opt/ros/fuerte/include/ros/publisher.h:103: undefined reference to ros::console::initialize()' CMakeFiles/tracker.dir/src/main.o: In functionros::Publisher ros::NodeHandle::advertise<mapping_msgs::polygonalmap_<std::allocator<void> > >(std::basic_string<char, std::char_traits<char="">, std::allocator<char> > const&, unsigned int, bool)': /opt/ros/fuerte/include/ros/node_handle.h:241: undefined reference to ros::NodeHandle::advertise(ros::AdvertiseOptions&)' CMakeFiles/tracker.dir/src/main.o: In functionros::Publisher ros::NodeHandle::advertise<body_msgs::skeletons_<std::allocator<void> > >(std::basic_string<char, std::char_traits<char="">, std::allocator<char> > const&, unsigned int, bool)': /opt/ros/fuerte/include/ros/node_handle.h:241: undefined reference to ros::NodeHandle::advertise(ros::AdvertiseOptions&)' CMakeFiles/tracker.dir/src/main.o: In functionmain': /home/pragyan/Techiome/SandBox/kinect_demos/mit-ros-pkg/kinect_utils/skeletal_tracker/src/main.cpp:373: undefined reference to ros::init(int&, char**, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)' /home/pragyan/Techiome/SandBox/kinect_demos/mit-ros-pkg/kinect_utils/skeletal_tracker/src/main.cpp:374: undefined reference toros::NodeHandle::NodeHandle(std::basic_string<char, std::char_traits<char="">, std::allocator<char> > const&, std::map<std::basic_string<char, std::char_traits<char="">, std::allocator<char> >, std::basic_string<char, std::char_traits<char="">, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char="">, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char="">, std::allocator<char> > const, std::basic_string<char, std::char_traits<char="">, std::allocator<char> > > > > const&)' /home/pragyan/Techiome/SandBox/kinect_demos/mit-ros-pkg/kinect_utils/skeletal_tracker/src/main.cpp:380: undefined reference to ros::Publisher::~Publisher()' /home/pragyan/Techiome/SandBox/kinect_demos/mit-ros-pkg/kinect_utils/skeletal_tracker/src/main.cpp:381: undefined reference toros::Publisher::~Publisher()' /home/pragyan/Techiome/SandBox/kinect_demos/mit-ros-pkg/kinect_utils/skeletal_tracker/src/main.cpp:439: undefined reference to ros::NodeHandle::~NodeHandle()' /home/pragyan/Techiome/SandBox/kinect_demos/mit-ros-pkg/kinect_utils/skeletal_tracker/src/main.cpp:398: undefined reference toros::package::getPath(std::basic_string<char, std::char_traits<char="">, std::allocator<char> > const&)' /home/pragyan/Techiome/SandBox/kinect_demos/mit-ros-pkg/kinect_utils/skeletal_tracker/src/main.cpp:439: undefined reference to ros::NodeHandle::~NodeHandle()' /home/pragyan/Techiome/SandBox/kinect_demos/mit-ros-pkg/kinect_utils ... (more)