Results 1 to 6 of 6

Thread: ROS Beginner Tutorials - stuck @ rosmsg compile step

  1. #1
    Join Date
    Apr 2016
    Location
    Detroit Region
    Posts
    12
    Rep Power
    12

    ROS Beginner Tutorials - stuck @ rosmsg compile step

    Hello,

    I am a huge noob (the noobyness is great with this one) and I got stuck and I was wondering if someone might help me with something that appears to be a simple step in the Ros Beginner tutorials. http://wiki.ros.org/ROS/Tutorials/CreatingMsgAndSrv

    In the section: 10. "Creating a ROS msg and srv" I ran the command
    Code:
    rosmsg show beginner_tutorials/Num
    after compiling with
    Code:
    catkin_make install
    . It's printing the error:
    Code:
    Unable to load msg [beginner_tutorials/Num]: Cannot locate message [Num]: unknown package beginner_tutorials on search path [{'rosconsole}: ['/opt/ros/kinetic/share/rosconsole/msg'], ...
    I get the same error when trying to show the service AddTwoInts. I reviewed the CMakeLists and package.xml files and I don't see anything wrong. Did anyone else have a problem here? I haven't had any other errors yet in the tutorials. This is my first experience with compiling and using make commands.

    I'd like to upgrade my awesome Creeper http://letsmakerobots.com/node/47466 to ROS so he can chase you down and blow up or dance to the music but I need to get through the tuts first !

    Thanks,
    Perigalacticon

  2. #2
    Join Date
    Dec 2012
    Location
    Los Angeles, CA
    Posts
    852
    Images
    25
    Rep Power
    86

    Re: ROS Beginner Tutorials - stuck @ rosmsg compile step

    Ok first off the Creeper is cool. My son would love it.

    That tutorial is dependent on previous tutorials, are you doing them all in order?


    Other possibility is, if you didn't add the additional path into your .bashrc you will not be able to compile.

    Run in your catkin workspace
    Code:
    source devel/setup.bash
    Then try catkin_make again.

  3. #3
    Join Date
    Apr 2016
    Location
    Detroit Region
    Posts
    12
    Rep Power
    12

    Re: ROS Beginner Tutorials - stuck @ rosmsg compile step

    accidental double post
    Last edited by perigalacticon; 06-06-2016 at 10:35 PM. Reason: accidental double post

  4. #4
    Join Date
    Apr 2016
    Location
    Detroit Region
    Posts
    12
    Rep Power
    12

    Re: ROS Beginner Tutorials - stuck @ rosmsg compile step

    Quote Originally Posted by KevinO View Post
    Ok first off the Creeper is cool. My son would love it.

    That tutorial is dependent on previous tutorials, are you doing them all in order?


    Other possibility is, if you didn't add the additional path into your .bashrc you will not be able to compile.

    Run in your catkin workspace
    Code:
    source devel/setup.bash
    Then try catkin_make again.

    Thanks that worked! Is that part missing from the tutorial? Yes I have been doing the tutorials sequentially from the start. I really appreciate it. I would really like to understand what is happening better with this part of the system as I am new to C outside of Arduino sketches (I have a 500-line one for Curt though now). Do you know of any good references for explaining the make process ?

    I have a lot of ideas for Curt.

    Thanks again!
    Perigalacticon

  5. #5
    Join Date
    Dec 2012
    Location
    Los Angeles, CA
    Posts
    852
    Images
    25
    Rep Power
    86

    Re: ROS Beginner Tutorials - stuck @ rosmsg compile step

    Quote Originally Posted by perigalacticon View Post
    Do you know of any good references for explaining the make process ?
    I don't have any additional references other than the tutorials. Although I did go through them all twice to just drive home how ROS did things.

    The "devel/setup.bash" is in the tutorials but in the very beginning when you first setup your workspace. It is easy to forget after a few days so I just added it to my .bashrc so it is always there.

  6. #6
    Join Date
    Apr 2016
    Location
    Detroit Region
    Posts
    12
    Rep Power
    12

    Re: ROS Beginner Tutorials - stuck @ rosmsg compile step

    Quote Originally Posted by KevinO View Post
    I don't have any additional references other than the tutorials. Although I did go through them all twice to just drive home how ROS did things.

    The "devel/setup.bash" is in the tutorials but in the very beginning when you first setup your workspace. It is easy to forget after a few days so I just added it to my .bashrc so it is always there.

    Sorry for the double post I am just getting the hang of the forum I guess!

    Thanks again. I posted more information about Curt if you are interested there's more info at LetMakeRobots where I started him.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Question(s) unable to compile ArbotiXBlink
    By erazor in forum Software and Programming
    Replies: 13
    Last Post: 10-26-2014, 09:30 AM
  2. Question(s) PhantomX dynamixel id 1 stuck at 512
    By KevinO in forum Humanoids, Walkers & Crawlers
    Replies: 3
    Last Post: 12-19-2012, 01:26 AM
  3. ros.pde compile error on arduino-0023
    By bellscotcv in forum Arbotix, Microcontrollers, Arduino
    Replies: 1
    Last Post: 07-16-2012, 02:08 PM
  4. malloc no declared error on compile of ros.pde
    By bellscotcv in forum Arbotix, Microcontrollers, Arduino
    Replies: 5
    Last Post: 07-13-2012, 03:28 PM
  5. Next step
    By rebel in forum Humanoids, Walkers & Crawlers
    Replies: 5
    Last Post: 05-27-2012, 03:54 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •