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

notSoTechnical's profile - activity

2022-04-23 11:42:10 -0500 received badge  Famous Question (source)
2022-04-23 11:42:10 -0500 received badge  Popular Question (source)
2022-04-23 11:42:10 -0500 received badge  Notable Question (source)
2021-04-13 08:18:02 -0500 received badge  Famous Question (source)
2021-04-03 00:37:07 -0500 received badge  Taxonomist
2020-11-17 23:56:57 -0500 received badge  Popular Question (source)
2020-11-17 23:56:57 -0500 received badge  Notable Question (source)
2020-05-25 02:01:08 -0500 received badge  Famous Question (source)
2020-05-25 02:01:08 -0500 received badge  Notable Question (source)
2020-04-03 23:51:05 -0500 received badge  Famous Question (source)
2020-03-24 15:03:16 -0500 received badge  Famous Question (source)
2020-02-03 05:01:31 -0500 received badge  Famous Question (source)
2019-10-22 12:27:48 -0500 received badge  Famous Question (source)
2019-10-22 12:27:45 -0500 received badge  Notable Question (source)
2019-10-22 12:02:26 -0500 asked a question How to ping a laptop by name?

How to ping a laptop by name? The laptop can be ping by IP address, but not by name. The raspberry pi can ping itself

2019-10-10 11:19:51 -0500 received badge  Popular Question (source)
2019-10-09 03:49:29 -0500 received badge  Notable Question (source)
2019-10-08 22:10:49 -0500 edited question How to install ros Melodic or Kinetic on Ubuntu 18.04 (dualboot with Mac)

How to install ros Melodic or Kinetic on Ubuntu 18.04 (dualboot with Mac) notsotechnical@notsotechnical-MacBookPro:~$ su

2019-10-08 22:10:13 -0500 edited question How to install ros Melodic or Kinetic on Ubuntu 18.04 (dualboot with Mac)

How to install ros Melodic or Kinetic on Ubuntu 18.04 (dualboot with Mac) notsotechnical@notsotechnical-MacBookPro:~$ su

2019-10-08 22:09:43 -0500 edited question How to install ros Melodic or Kinetic on Ubuntu 18.04 (dualboot with Mac)

How to install ros Melodic or Kinetic on Ubuntu 18.04 (dualboot with Mac) notsotechnical@notsotechnical-MacBookPro:~$ su

2019-10-08 22:08:19 -0500 asked a question How to install ros Melodic or Kinetic on Ubuntu 18.04 (dualboot with Mac)

How to install ros Melodic or Kinetic on Ubuntu 18.04 (dualboot with Mac) notsotechnical@notsotechnical-MacBookPro:~$ su

2019-10-07 21:00:41 -0500 received badge  Notable Question (source)
2019-10-07 20:10:36 -0500 edited question ERROR: Service [/duckiebutt/inverse_kinematics_node/set_trim] is not available.

ERROR: Service [/duckiebutt/inverse_kinematics_node/set_trim] is not available. Hey I'm following https://docs.duckietow

2019-10-07 20:09:45 -0500 asked a question ERROR: Service [/duckiebutt/inverse_kinematics_node/set_trim] is not available.

ERROR: Service [/duckiebutt/inverse_kinematics_node/set_trim] is not available. Hey I'm following https://docs.duckietow

2019-10-05 15:05:34 -0500 received badge  Popular Question (source)
2019-10-05 06:06:47 -0500 received badge  Famous Question (source)
2019-10-05 06:06:23 -0500 received badge  Popular Question (source)
2019-10-05 02:49:56 -0500 asked a question How to solve E: Unable to correct problems, you have held broken packages.

How to solve E: Unable to correct problems, you have held broken packages. student@robot-teaching-lab9:~$ rostopic list

2019-10-04 16:05:57 -0500 asked a question Does anyone know how to calibrate thecamera for Duckiebot?

Does anyone know how to calibrate thecamera for Duckiebot? I asked the same question at https://www.duckietown.org/quest

2019-09-28 00:26:15 -0500 received badge  Enthusiast
2019-09-27 18:52:26 -0500 asked a question How to solve ImportError: cannot import name Point?

How to solve ImportError: cannot import name Point? viki@c3po:~/catkin_ws/src/repo_hw2/scripts$ source ./devel/setup.ba

2019-09-27 03:04:49 -0500 received badge  Notable Question (source)
2019-09-26 13:42:14 -0500 received badge  Notable Question (source)
2019-09-26 11:56:15 -0500 commented question How to write the publisher in Python correctly?

@mgruhler Thank you!

2019-09-26 11:55:47 -0500 commented answer How to write the publisher in Python correctly?

I thought : "The std_msgs.msg import is so that we can reuse the std_msgs/String message type (a simple string container

2019-09-26 11:44:10 -0500 marked best answer How to write the publisher in Python correctly?

Hi! I'm very confused... I failed to follow the instructions from http://library.isr.ist.utl.pt/docs/ro...

1 #!/usr/bin/env python
   2 # license removed for brevity
   3 import rospy
   4 from std_msgs.msg import String
   5 
   6 def publisher():
   7     pub = rospy.Publisher('chatter', String, queue_size=10)

.........

I have a file name publisher.py and it has

float32 a
float32 b
float32 c

Should I do the following? But it doesn't work. What should I do so it pulls the data from publisher.py?

 1 #!/usr/bin/env python
   2 # license removed for brevity
   3 import rospy
   4 from std_msgs.msg import Float32
   5 
   6 def publisher():
   7     pub = rospy.Publisher('topicName', Float32, queue_size=10)
2019-09-26 04:18:08 -0500 received badge  Popular Question (source)
2019-09-26 00:21:07 -0500 commented answer How to install catkin correctly

@gvdhoorn . It's a long story... I can't get Ubuntu 18.04 running anymore and I can't fix it... Anyway, I have indigo 64

2019-09-26 00:20:52 -0500 commented answer How to install catkin correctly

@gvdhoorn . It's a long story... I can't get Ubuntu 18.04 running anymore and I can't fix it... Anyway, I have indigo 64

2019-09-26 00:16:21 -0500 marked best answer How to display the ROS message in the terminal?
 notsotechnical@notsotechnical-VirtualBox:~/catkin_ws$ catkin_make
Base path: /home/notsotechnical/catkin_ws
Source space: /home/notsotechnical/catkin_ws/src
Build space: /home/notsotechnical/catkin_ws/build
Devel space: /home/notsotechnical/catkin_ws/devel
Install space: /home/notsotechnical/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/notsotechnical/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/notsotechnical/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/melodic
-- This workspace overlays: /opt/ros/melodic
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/notsotechnical/catkin_ws/build/test_results
-- Found gmock sources under '/usr/src/googletest': gmock will be built
-- Found gtest sources under '/usr/src/googletest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.17
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 2 packages in topological order:
-- ~~  - repo_name_hw2
-- ~~  - repo_uniquename_hw2
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'repo_name_hw2'
-- ==> add_subdirectory(repo_name_hw2)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- repo_name_hw2: 1 messages, 0 services
-- +++ processing catkin package: 'repo_uniquename_hw2'
-- ==> add_subdirectory(repo_uniquename_hw2)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/notsotechnical/catkin_ws/build
####
#### Running command: "make -j1 -l1" in "/home/notsotechnical/catkin_ws/build"
####
Scanning dependencies of target std_msgs_generate_messages_cpp
[  0%] Built target std_msgs_generate_messages_cpp
Scanning dependencies of target _repo_name_hw2_generate_messages_check_deps_test_custom_msg
[  0%] Built target _repo_name_hw2_generate_messages_check_deps_test_custom_msg
Scanning dependencies of target repo_name_hw2_generate_messages_cpp
[ 14%] Generating C++ code from repo_name_hw2/test_custom_msg.msg
[ 14%] Built target repo_name_hw2_generate_messages_cpp
Scanning dependencies of target std_msgs_generate_messages_py
[ 14%] Built target std_msgs_generate_messages_py
Scanning dependencies of target repo_name_hw2_generate_messages_py
[ 28%] Generating Python from MSG repo_name_hw2/test_custom_msg
[ 42%] Generating Python msg __init__.py for repo_name_hw2
[ 42%] Built target repo_name_hw2_generate_messages_py
Scanning dependencies of target std_msgs_generate_messages_nodejs
[ 42%] Built target std_msgs_generate_messages_nodejs
Scanning dependencies of target repo_name_hw2_generate_messages_nodejs
[ 57%] Generating Javascript code from repo_name_hw2/test_custom_msg.msg
[ 57%] Built target repo_name_hw2_generate_messages_nodejs
Scanning dependencies of target std_msgs_generate_messages_eus
[ 57%] Built target std_msgs_generate_messages_eus
Scanning dependencies of target repo_name_hw2_generate_messages_eus
[ 71%] Generating EusLisp code from repo_name_hw2/test_custom_msg.msg
[ 85%] Generating EusLisp manifest code for repo_name_hw2
[ 85%] Built target repo_name_hw2_generate_messages_eus
Scanning dependencies of target std_msgs_generate_messages_lisp
[ 85%] Built target std_msgs_generate_messages_lisp
Scanning dependencies of target repo_name_hw2_generate_messages_lisp
[100%] Generating Lisp code from repo_name_hw2/test_custom_msg.msg
[100%] Built target repo_name_hw2_generate_messages_lisp
Scanning dependencies of target repo_name_hw2_generate_messages
[100%] Built target repo_name_hw2_generate_messages
notsotechnical@notsotechnical-VirtualBox:~/catkin_ws$ rosmsg show repo_name_hw2/Num
Unable to load msg [repo_name_hw2/Num]: Cannot locate message [Num]: unknown package [repo_name_hw2] on search path [{}]
notsotechnical@notsotechnical-VirtualBox:~/catkin_ws$ rosmsg show Num
Could not find msg 'Num'
notsotechnical@notsotechnical-VirtualBox:~/catkin_ws$ rospack profile
Full tree crawl took 0.000001 seconds.
Directories marked with (*) contain no manifest.  You may
want to delete these directories.
To get just of list of directories without manifests,
re-run the profile with --zombie-only
-------------------------------------------------------------
notsotechnical@notsotechnical-VirtualBox:~/catkin_ws$ source devel/setup.bash
notsotechnical@notsotechnical-VirtualBox:~/catkin_ws$ rosmsg show repo_name_hw2/Num
Unable to load msg [repo_name_hw2/Num]: Cannot locate message [Num] in package [repo_name_hw2] with paths [['/home/notsotechnical/catkin_ws/src/repo_name_hw2/msg', '/home/notsotechnical/catkin_ws/devel/share/repo_name_hw2/msg']]
notsotechnical@notsotechnical-VirtualBox:~/catkin_ws$ rosmsg show Num
Could not find msg 'Num'
notsotechnical@notsotechnical-VirtualBox:~/catkin_ws$ rosmsg show [string]
Could not find msg '[string]'
notsotechnical@notsotechnical-VirtualBox:~/catkin_ws$ rosmsg show Num
Could not find msg 'Num'
notsotechnical@notsotechnical-VirtualBox:~/catkin_ws$ source /opt ...
(more)
2019-09-26 00:13:49 -0500 edited question How to write the publisher in Python correctly?

How to write the publisher in Python correctly? Hi! I'm very confused... I failed to follow the instructions from ht

2019-09-26 00:13:17 -0500 edited question How to write the publisher in Python correctly?

How to write the publisher in Python correctly? Hi! I'm very confused... I failed to follow the instructions from ht

2019-09-26 00:12:34 -0500 asked a question How to write the publisher in Python correctly?

How to write the publisher in Python correctly? Hi! I'm very confused... I failed to follow the instructions from ht

2019-09-25 19:13:32 -0500 received badge  Notable Question (source)
2019-09-25 14:03:34 -0500 marked best answer How to create a string message in a ROS package with catkin correctly?

This is the output of catkin_make that shows an error.

notsotechnical@notsotechnical-VirtualBox:~/catkin_ws$ catkin_make
        Base path: /home/notsotechnical/catkin_ws
        Source space: /home/notsotechnical/catkin_ws/src
        Build space: /home/notsotechnical/catkin_ws/build
        Devel space: /home/notsotechnical/catkin_ws/devel
        Install space: /home/notsotechnical/catkin_ws/install
        ####
        #### Running command: "make cmake_check_build_system" in "/home/notsotechnical/catkin_ws/build"
        ####
        -- Using CATKIN_DEVEL_PREFIX: /home/notsotechnical/catkin_ws/devel
        -- Using CMAKE_PREFIX_PATH: /opt/ros/melodic
        -- This workspace overlays: /opt/ros/melodic
        -- Using PYTHON_EXECUTABLE: /usr/bin/python
        -- Using Debian Python package layout
        -- Using empy: /usr/bin/empy
        -- Using CATKIN_ENABLE_TESTING: ON
        -- Call enable_testing()
        -- Using CATKIN_TEST_RESULTS_DIR: /home/notsotechni
        cal/catkin_ws/build/test_results
        -- Found gmock sources under '/usr/src/googletest': gmock will be built
        -- Found gtest sources under '/usr/src/googletest': gtests will be built
        -- Using Python nosetests: /usr/bin/nosetests-2.7
        -- catkin 0.7.17
        -- BUILD_SHARED_LIBS is on
        -- BUILD_SHARED_LIBS is on
        -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        -- ~~  traversing 1 packages in topological order:
        -- ~~  - repo_name_hw2
        -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        -- +++ processing catkin package: 'repo_name_hw2'
        -- ==> add_subdirectory(repo_name_hw2)
        -- Could NOT find roscpp (missing: roscpp_DIR)
        -- Could not find the required component 'roscpp'. 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 /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
          Could not find a package configuration file provided by "roscpp" with any
          of the following names:

            roscppConfig.cmake
            roscpp-config.cmake

          Add the installation prefix of "roscpp" to CMAKE_PREFIX_PATH or set
          "roscpp_DIR" to a directory containing one of the above files.  If "roscpp"
          provides a separate development package or SDK, be sure it has been
          installed.
        Call Stack (most recent call first):
          repo_name_hw2/CMakeLists.txt:10 (find_package)


        -- Configuring incomplete, errors occurred!
        See also "/home/notsotechnical/catkin_ws/build/CMakeFiles/CMakeOutput.log".
        See also "/home/notsotechnical/catkin_ws/build/CMakeFiles/CMakeError.log".
        Makefile:334: recipe for target 'cmake_check_build_system' failed
        make: *** [cmake_check_build_system] Error 1
        Invoking "make cmake_check_build_system" failed
        notsotechnical@notsotechnical-VirtualBox:~/catkin_ws$

I also tried the following:

notsotechnical@notsotechnical-VirtualBox:~$ export CMAKE_PREFIX_PATH=/home/notsotechnical/Programs
notsotechnical@notsotechnical-VirtualBox:~$ echo $CMAKE_PREFIX_PATH
/home/notsotechnical/Programs
notsotechnical@notsotechnical-VirtualBox:~$

Update

Hey I got rid of thw following errors by reinstalling ROS melodic:

Could not find a package configuration file provided by "roscpp" with any of the following names:

        roscppConfig.cmake
        roscpp-config.cmake

However, I got more errors :(

notsotechnical@notsotechnical-VirtualBox:~/catkin_ws$ catkin_make
Base path: /home/notsotechnical/catkin_ws
Source space: /home/notsotechnical/catkin_ws/src
Build space: /home/notsotechnical/catkin_ws/build
Devel space: /home/notsotechnical/catkin_ws/devel
Install space: /home/notsotechnical/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/notsotechnical/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/notsotechnical/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/melodic
-- This workspace overlays: /opt/ros/melodic
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/notsotechnical/catkin_ws/build/test_results
-- Found gmock sources under '/usr/src/googletest': gmock will be built
-- Found gtest sources under '/usr/src/googletest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.17
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 2 packages in topological order:
-- ~~  - repo_name_hw2 ...
(more)
2019-09-25 14:02:15 -0500 commented question Ubuntu got stuck (black/brown screen) before login?

Thanks! I just reposted the question on Ubuntu instead.

2019-09-25 14:01:52 -0500 commented question Ubuntu got stuck (black/brown screen) before login?

Thanks! I just reposted the question on Ubuntu.

2019-09-25 14:00:01 -0500 marked best answer How to install catkin correctly

Straight dump of the error messages:

notsotechnical@notsotechnical-VirtualBox:~$ **sudo apt-get install ros-melodic-catkin**
Reading package lists... Done
Building dependency tree       
Reading state information... Done
**E: Unable to locate package ros-melodic-catkin**
notsotechnical@notsotechnical-VirtualBox:~$ **sudo apt-get install python-rosdep python-rosinstall-generator python-wstool python-rosinstall build-essential**
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version (12.4ubuntu1).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 python-catkin-pkg : Depends: python-catkin-pkg-modules (>= 0.4.13) but it is not going to be installed
 python-rosdep : Depends: python-rospkg (>= 1.1.8) but 1.1.4-1 is to be installed
                 Depends: python-rosdistro (>= 0.7.0) but it is not going to be installed
 python-rosinstall : Depends: python-vcstools (>= 0.1.38) but it is not going to be installed
                     Depends: python-rosdistro (>= 0.3.0) but it is not going to be installed
                     Depends: subversion but it is not going to be installed
                     Depends: mercurial but it is not going to be installed
                     Depends: bzr but it is not going to be installed
 python-rosinstall-generator : Depends: python-rosdistro (>= 0.7.3) but it is not going to be installed
 python-wstool : Depends: python-vcstools (>= 0.1.38) but it is not going to be installed
                 Depends: subversion but it is not going to be installed
                 Depends: mercurial but it is not going to be installed
                 Depends: bzr but it is not going to be installed
**E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).**
notsotechnical@notsotechnical-VirtualBox:~$ **apt --fix-broken install**
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
notsotechnical@notsotechnical-VirtualBox:~$ sudo apt-get update
Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu bionic InRelease                    
Hit:3 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease            
Ign:4 http://dl.google.com/linux/chrome/deb stable InRelease                  
Hit:5 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease          
Hit:6 http://packages.ros.org/ros/ubuntu trusty InRelease                     
Hit:7 http://dl.google.com/linux/chrome/deb stable Release                    
Reading package lists... Done                      
notsotechnical@notsotechnical-VirtualBox:~$ sudo apt-get install ros-melodic-catkin
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package ros-melodic-catkin
notsotechnical@notsotechnical-VirtualBox:~$ sudo apt-get install python-rosdep python-rosinstall-generator python-wstool python-rosinstall build-essential
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version (12.4ubuntu1).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 python-catkin-pkg : Depends: python-catkin-pkg-modules (>= 0.4.13) but it is not going to be installed
 python-rosdep : Depends: python-rospkg (>= 1.1.8) but 1.1.4-1 is to be installed
                 Depends: python-rosdistro (>= 0.7.0) but it is not going to be installed
 python-rosinstall : Depends: python-vcstools (>= 0.1.38) but it is not going to be installed
                     Depends: python-rosdistro (>= 0.3.0 ...
(more)