Ask Your Question

pacifickid9's profile - activity

2019-05-20 01:49:27 -0500 marked best answer Error trying to build Robot_localization from git

I have been trying to install the package robot_localizaton from i am using these commands to download it from github.

cd ~/ros_catkin_ws/src
git clone -b kinetic-devel https://github.com/cra-ros-pkg/robot_localization.git
cd ~/ros_catkin_ws
catkin_make

then i am running into the error:

-- +++ processing catkin package: 'tf2_bullet'
-- ==> add_subdirectory(geometry2/bullet)
-- Checking for module 'bullet' >-- No package 'bullet' found >CMake Error at /usr/share/cmake-3.7/Modules/FindPkgConfig.cmake:415 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.7/Modules/FindPkgConfig.cmake:588 (_pkg_check_modules_internal)
geometry2/bullet/CMakeLists.txt:7 (pkg_check_modules)
-- Configuring incomplete, errors occurred!
See also "/home/pi/ros_catkin_ws/build/CMakeFiles/CMakeOutput.log". > See also "/home/pi/ros_catkin_ws/build/CMakeFiles/CMakeError.log". Invoking "cmake" failed

even though I have tf2_bullet installed in my Geometry2 package. is the problem that the cmake is looking for 'bullet' verses 'tf2_bullet'?

Edit: I am following the procedure laid out by @gvdhoorn

im getting stuck on the error

pi@raspberrypi:~/ros_catkin_ws $ rosdep install --from-paths src --ignore-src --rosdistro kinetic ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
orocos_kinematics_dynamics: No definition of [python_orocos_kdl] for OS version [stretch]

i have cloned this git https://github.com/orocos/orocos_kine... in the src file but rosdep install is still not recognizing it. any suggestions?

2018-01-30 21:36:31 -0500 marked best answer How to change the ROS_DISTRO variable?

I had hydro installed on my raspberry pi earlier, then i removed it to install kinetic, everything seemed to be fine except the ROS_DISTRO variable. I tried the .bashrc rile there was no mention of hydro so i tried logging in and out but still no luck i also tried the export ROS_DISTRO command that didnt work either. sorry if this is a easy answer im new to ros. any help you could give would be awesome!

Thanks for you reply, I looked through the .bashrc and the only thing there is source /opt/ros/kinetic/setup.bash line.

`# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples

# If not running interactively, don't do anything
case $- in
    *i*) ;;
      *) return;;
esac

# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth

# append to the history file, don't overwrite it
shopt -s histappend

# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000

# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize

# If set, the pattern "**" used in a pathname expansion context will
# match all files and zero or more directories and subdirectories.
#shopt -s globstar

# make less more friendly for non-text input files, see lesspipe(1)
#[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"

# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
    debian_chroot=$(cat /etc/debian_chroot)
fi

# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
    xterm-color) color_prompt=yes;;
esac

# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
force_color_prompt=yes

if [ -n "$force_color_prompt" ]; then
    if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
    # We have color support; assume it's compliant with Ecma-48
    # (ISO/IEC-6429). (Lack of such support is extremely rare, and such
    # a case would tend to support setf rather than setaf.)
    color_prompt=yes
    else
    color_prompt=
    fi
fi

if [ "$color_prompt" = yes ]; then
    PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w \$\[\033[00m\] '
else
    PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
unset color_prompt force_color_prompt

# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
    PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
    ;;
*)
    ;;
esac

# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
    test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
    alias ls='ls --color=auto'
    #alias dir='dir --color=auto'
    #alias vdir='vdir --color=auto'

    alias grep='grep --color=auto'
    alias fgrep='fgrep --color=auto'
    alias egrep='egrep --color=auto'
fi

# colored GCC warnings and errors ...
(more)
2018-01-30 21:36:14 -0500 received badge  Famous Question (source)
2017-12-07 07:40:05 -0500 received badge  Famous Question (source)
2017-11-27 23:19:41 -0500 received badge  Famous Question (source)
2017-11-27 02:18:52 -0500 marked best answer Problems Connecting to serial Port :/dev/ACM0

I've been stuck on this for a while my problem is I cant access GPS data for a ublox node. I am connecting to a Raspberry pi 3 that is running a RPI 2 Snappy Image. I am connecting to the PI through a SSH on a ubuntu 14.04 laptop.

I am running the following command and getting this error: (updated output with correct port spelling)

    ubuntu@ubuntu:~$ roslaunch ublox_gps ublox_device.launch 
... logging to /home/ubuntu/.ros/log/cefae814-d237-11e7-8ade-b827ebffc577/roslaunch-ubuntu-1799.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://192.168.2.55:35153/

SUMMARY
========

PARAMETERS
 * /rosdistro: kinetic
 * /rosversion: 1.12.7
 * /ublox_gps/debug: 1
 * /ublox_gps/device: /dev/ttyAMC0
 * /ublox_gps/dgnss_mode: 3
 * /ublox_gps/dr_limit: 0
 * /ublox_gps/dynamic_model: portable
 * /ublox_gps/enable_ppp: False
 * /ublox_gps/fix_mode: auto
 * /ublox_gps/frame_id: gps
 * /ublox_gps/gnss/beidou: False
 * /ublox_gps/gnss/glonass: True
 * /ublox_gps/gnss/qzss: False
 * /ublox_gps/inf/all: True
 * /ublox_gps/nav_rate: 4
 * /ublox_gps/publish/aid/hui: False
 * /ublox_gps/publish/all: True
 * /ublox_gps/publish/nav/posecef: False
 * /ublox_gps/rate: 4
 * /ublox_gps/save/device: 4
 * /ublox_gps/save/mask: 3103
 * /ublox_gps/uart1/baudrate: 19200
 * /ublox_gps/uart1/in: 32
 * /ublox_gps/uart1/out: 0

NODES
  /
    ublox_gps (ublox_gps/ublox_gps)

auto-starting new master
process[master]: started with pid [1813]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to cefae814-d237-11e7-8ade-b827ebffc577
process[rosout-1]: started with pid [1826]
started core service [/rosout]
process[ublox_gps-2]: started with pid [1829]
terminate called after throwing an instance of 'std::runtime_error'
  what():  U-Blox: Could not open serial port :/dev/ttyAMC0 open: No such file or directory
[ublox_gps-2] process has died [pid 1829, exit code -6, cmd /home/ubuntu/catkin_ws/devel/lib/ublox_gps/ublox_gps __name:=ublox_gps __log:=/home/ubuntu/.ros/log/cefae814-d237-11e7-8ade-b827ebffc577/ublox_gps-2.log].
log file: /home/ubuntu/.ros/log/cefae814-d237-11e7-8ade-b827ebffc577/ublox_gps-2*.log
^C[rosout-1] killing on exit
[master] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done

I checked that the port was correct by using

cat /dev/ttyACM0

it outputted my GPS Data that I was looking for, I assumed that I was permission were off so I did the command

groups

this is the output

ubuntu adm dialout cdrom floppy sudo audio dip video plugdev netdev lxd

it says I'm in the dialout group, so i assumed my permissions were fine. when I do

ls -la /dev/ttyACM0
crw-rw-rw- 1 root dialout 166, 0 Feb 11  2016 /dev/ttyACM0

So there is a problem with my # after dialout its should be 666 right? I tried using

sudo chmod 666 /dev/ttyAMC0

No change to the permissions.

Does anyone know how to change the dialout 166 problem? thanks - or any other solutions that would allow me to open the port or read the GPS Data.

2017-11-25 17:35:49 -0500 commented question Problems Connecting to serial Port :/dev/ACM0

I think i spelled it wrong I got another error so this one must have been solved thanks guys ill be more careful next ti

2017-11-25 17:30:25 -0500 commented question Problems Connecting to serial Port :/dev/ACM0

Hi guys sorry about that I have re edited it with the correct spelling.

2017-11-25 17:28:29 -0500 edited question Problems Connecting to serial Port :/dev/ACM0

Problems Connecting to serial Port :/dev/ACM0 I've been stuck on this for a while my problem is I cant access GPS data f

2017-11-25 17:25:51 -0500 edited question Problems Connecting to serial Port :/dev/ACM0

Problems Connecting to serial Port :/dev/ACM0 I've been stuck on this for a while my problem is I cant access GPS data f

2017-11-25 10:36:04 -0500 received badge  Notable Question (source)
2017-11-25 02:49:08 -0500 received badge  Popular Question (source)
2017-11-24 21:34:42 -0500 commented question Problems Connecting to serial Port :/dev/ACM0

Sorry I miss typed into the launch file parameters, but i retested it with /dev/ttyACM0 and got the same result.

2017-11-24 17:07:22 -0500 asked a question Problems Connecting to serial Port :/dev/ACM0

HELP!! Problems Connecting to serial Port :/dev/ACM0 I've been stuck on this for a while my problem is I cant access GPS

2017-10-31 11:35:49 -0500 commented question Error trying to build Robot_localization from git

Sorry still new at this. I am trying to install in on a raspberry pi 3 model B, and the OS is raspbian jessie. Sorry wha

2017-10-31 09:02:59 -0500 received badge  Notable Question (source)
2017-10-31 03:13:25 -0500 received badge  Popular Question (source)
2017-10-31 01:27:45 -0500 received badge  Organizer (source)
2017-10-31 01:12:24 -0500 edited question Error trying to build Robot_localization from git

Error trying to build Robot_localization from git I have been trying to install the package robot_localizaton from i am

2017-10-31 01:09:13 -0500 edited question Error trying to build Robot_localization from git

Error trying to build Robot_localization from git I have been trying to install the package robot_localizaton from i am

2017-10-29 20:32:18 -0500 asked a question Error trying to build Robot_localization from git

Error trying to build Robot_localization from git I have been trying to install the package robot_localizaton from i am

2017-10-29 19:49:33 -0500 received badge  Enthusiast
2017-10-21 11:42:16 -0500 commented answer How to change the ROS_DISTRO variable?

and i used this tutorial to install hydro http://wiki.ros.org/ROSberryPi/Setting%20up%20Hydro%20on%20RaspberryPi does th

2017-10-21 11:41:44 -0500 commented answer How to change the ROS_DISTRO variable?

cat /etc/os-release gave me VERSION="8 (jessie)" and ID_LIKE=debian so im not sure which im running. maybe that is my pr

2017-10-21 11:41:16 -0500 commented answer How to change the ROS_DISTRO variable?

cat /etc/os-release gave me VERSION="8 (jessie)" and ID_LIKE=debian so im not sure which im running. maybe that is my pr

2017-10-21 11:37:24 -0500 commented answer How to change the ROS_DISTRO variable?

and i used this tutorial to install hydro http://wiki.ros.org/ROSberryPi/Setting%20up%20Hydro%20on%20RaspberryPi does th

2017-10-21 11:37:03 -0500 commented answer How to change the ROS_DISTRO variable?

cat /etc/os-release gave me VERSION="8 (jessie)" and ID_LIKE=debian so im not sure which im running. maybe that is my pr

2017-10-21 11:28:36 -0500 edited question How to change the ROS_DISTRO variable?

How to change the ROS_DISTRO variable? I had hydro installed on my raspberry pi earlier, then i removed it to install ki

2017-10-21 11:27:17 -0500 commented question How to change the ROS_DISTRO variable?

yes i think i did. just fixed it!

2017-10-21 10:49:47 -0500 received badge  Notable Question (source)
2017-10-20 23:54:14 -0500 received badge  Popular Question (source)
2017-10-20 21:55:33 -0500 commented answer How I completely remove all ros from my system?

@Jon what if you did install it from a source? what do you have to do to remove it?

2017-10-20 21:53:42 -0500 received badge  Editor (source)
2017-10-20 21:53:42 -0500 edited question How to change the ROS_DISTRO variable?

How to change the ROS_DISTRO variable? I had hydro installed on my raspberry pi earlier, then i removed it to install ki

2017-10-20 21:51:53 -0500 edited question How to change the ROS_DISTRO variable?

How to change the ROS_DISTRO variable? I had hydro installed on my raspberry pi earlier, then i removed it to install ki

2017-10-20 21:17:22 -0500 received badge  Supporter (source)
2017-10-20 12:10:26 -0500 asked a question How to change the ROS_DISTRO variable?

How to change the ROS_DISTRO variable? I had hydro installed on my raspberry pi earlier, then i removed it to install ki

2017-10-20 12:10:26 -0500 asked a question How do you change ROS_DISTRO variable?

How do you change ROS_DISTRO variable? I had hydro installed on my raspberry pi earlier, then i removed it to install ki