Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Bob Davis
    @rwdavis513
    @rbaynes @Spaghet Thank you!
    @Spaghet Were you able to add checksum message verification and retries to the library? Is the checksum failing the reason for this warning message?
    Rikuo Hasegawa
    @sp4ghet
    No checksums but it does retry
    Bob Davis
    @rwdavis513
    ok. Once Rob fixes this first issue we'll want to add that
    Bob Davis
    @rwdavis513
    @Spaghet Does the new protocol confirm the message was received as well?
    Bob Davis
    @rwdavis513
    Here are some good thoughts on how to rst the Arduino code: https://stackoverflow.com/questions/780819/how-can-i-unit-test-arduino-code
    Rob Baynes
    @rbaynes
    thanks @rwdavis513
    Bob Davis
    @rwdavis513
    Here's another great option to assist with debugging Arduino code. it's the visual studio plugin: https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.vscode-arduino
    Bob Davis
    @rwdavis513
    Here's a good reference to help understand how the ros file system works and locate where files are installed:
    http://wiki.ros.org/ROS/Tutorials/NavigatingTheFilesystem
    Rikuo Hasegawa
    @sp4ghet
    Might as well do the whole tutorial while you're at it lol
    http://wiki.ros.org/ROS/Tutorials
    I wonder if there's docs on the inside of a package with its special directory exceptions like node/ and src/ and scripts/ and launch/
    im sure gordon wrote something
    Bob Davis
    @rwdavis513
    @Spaghet Do you know how to install individual ros packages? All I can find are installing them from the apt-get repo or building them from source.
    Rikuo Hasegawa
    @sp4ghet
    Well, those would be the only ways to go about installing a ros package I assume
    Add it's source code to catkin_ws/src or apt-get
    You can get it's source and add it to src using rosinstall_generator, rosdep, and wstool
    Bob Davis
    @rwdavis513
    oh ok...
    Rikuo Hasegawa
    @sp4ghet
    What did you have in mind?
    Bob Davis
    @rwdavis513
    I'm struggling with the usb_cam and trying to get it to work, so I can subscribe to the topic and read the images.
    Rikuo Hasegawa
    @sp4ghet
    It would probably be
    $ rosinstall_generator usb_cam --rosdistro indigo --deps --wet-only --exclude roslisp --tar >  ./usb_cam.rosinstall`
    $ wstool merge -t ~/catkin_ws/src --merge-replace ./usb_cam.rosinstall
    $ rosdep install --from-paths ~/catkin_ws/src --ignore-src --rosdistro indigo -y -r --os=debian:jessie
    $ catkin_make
    assuming you're in catkin_ws I guess for catkin_make
    If the package is available on rodistro/rosdep then you could add it as a dependency in package.xml and you'd just have to run rosdep install
    available on rosdistro ‚Čí apt-get
    Bob Davis
    @rwdavis513
    thanks! How do you check if the package is available as a rosdependency?
    Rikuo Hasegawa
    @sp4ghet
    it's in a github repo
    uhh
    check if your thing is in there for debian
    oh hang I've confused rosdep
    rosdep is for external deps
    Bob Davis
    @rwdavis513
    ok, no worries
    Any ideas on this error? I'm trying to install "image_view"
    -- Could not find the required component 'dynamic_reconfigure'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
    CMake Error at /home/pi/catkin_ws/devel/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
      Could not find a package configuration file provided by
      "dynamic_reconfigure" with any of the following names:
    
        dynamic_reconfigureConfig.cmake
        dynamic_reconfigure-config.cmake
    
      Add the installation prefix of "dynamic_reconfigure" to CMAKE_PREFIX_PATH
      or set "dynamic_reconfigure_DIR" to a directory containing one of the above
      files.  If "dynamic_reconfigure" provides a separate development package or
      SDK, be sure it has been installed.
    Call Stack (most recent call first):
      image_view/CMakeLists.txt:4 (find_package)
    After running command: catkin_make -DCATKIN_WHITELIST_PACKAGES="image_view"
    Rikuo Hasegawa
    @sp4ghet
    I'd say you haven't merged the .rosinstall and run downloaded the source code for image_view/dynamic reconfigure
    If you don't want to read into how ROS installs things work I'd suggest doing fresh reinstalls
    Bob Davis
    @rwdavis513
    I tried this... wstool merge -t ~/catkin_ws/src --merge-replace ./image_view.rosinstall
    Rikuo Hasegawa
    @sp4ghet
    wstool update -t ~/catkin_ws/src --delete-changed-uris
    Bob Davis
    @rwdavis513
    I'd be glad to learn, but the docs aren't very clear or haven't found the right ones to read.
    Rikuo Hasegawa
    @sp4ghet
    Gordon did a good writeup on ROS's install/build process in the wiki
    or you can peek into openag_brain/scripts/init_dev
    image_view is already a dependency under the develop branch so it should install cleanly on a fresh reinstall
    Bob Davis
    @rwdavis513
    @Spaghet One more question, were you able to get image_saver to work? I'm getting this error:
    rosrun image_view image_saver image:=/usb_cam/image_raw
    Couldn't find executable named image_saver below /home/pi/catkin_ws/src/image_view
    Rikuo Hasegawa
    @sp4ghet
    I don't get that error
    I usually get a permission denied error on /var/www/html/img.jpg
    Bob Davis
    @rwdavis513
    ok
    Rikuo Hasegawa
    @sp4ghet
    Hey @jakerye I'm getting this weird behaviour from the relay where I will pull D28 or D29 down on the Arduino and this makes relay K15 and K16 both turn on
    Any tips?
    Rikuo Hasegawa
    @sp4ghet
    It works without the signal board
    I may have soldered the 2 connections together...