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

lamiastella's profile - activity

2018-10-08 08:38:40 -0500 received badge  Famous Question (source)
2018-09-25 21:15:59 -0500 received badge  Famous Question (source)
2018-08-27 03:11:49 -0500 marked best answer $ rostopic list ERROR: Unable to communicate with master!

I am trying to calibrate a Logitic 920 HD 1080p camera in Ubuntu 16.04. I have installed ros kinetik. I am not sure if this tutorial is the correct link but I get this error:

http://wiki.ros.org/camera_calibratio...

mona@Mona:~$ rosdep install camera_calibration
#All required rosdeps installed successfully
mona@Mona:~$ rosmake camera_calibration
[ rosmake ] rosmake starting...                                                 
[ rosmake ] Packages requested are: ['camera_calibration']                      
[ rosmake ] Logging to directory /home/mona/.ros/rosmake/rosmake_output-20180802-101208
[ rosmake ] Expanded args ['camera_calibration'] to:
['camera_calibration']     
[rosmake-0] Starting >>> catkin [ make ]                                        
(...)

[rosmake-5] Finished <<< image_geometry ROS_NOBUILD in package image_geometry
 No Makefile in package image_geometry
[rosmake-5] Starting >>> camera_calibration [ make ]                            
[rosmake-5] Finished <<< camera_calibration ROS_NOBUILD in package camera_calibration
 No Makefile in package camera_calibration
[ rosmake ] Results:                                                            
[ rosmake ] Built 45 packages with 0 failures.                                  
[ rosmake ] Summary output to directory                                         
[ rosmake ] /home/mona/.ros/rosmake/rosmake_output-20180802-101208              
mona@Mona:~$ rostopic list
ERROR: Unable to communicate with master!
mona@Mona:~$

if the tutorial is the correct one for this camera, how should I fix this error, if the tutorial is wrong, please link me to the correct tutorial.

2018-08-03 07:21:03 -0500 received badge  Notable Question (source)
2018-08-03 03:30:13 -0500 received badge  Popular Question (source)
2018-08-02 09:17:47 -0500 asked a question $ rostopic list ERROR: Unable to communicate with master!

$ rostopic list ERROR: Unable to communicate with master! I am trying to calibrate a Logitic 920 HD 1080p camera in Ubun

2018-08-02 09:17:45 -0500 asked a question $ rostopic list ERROR: Unable to communicate with master!

$ rostopic list ERROR: Unable to communicate with master! I am trying to calibrate a Logitic 920 HD 1080p camera in Ubun

2017-10-25 07:45:55 -0500 received badge  Nice Question (source)
2016-09-14 14:40:00 -0500 received badge  Notable Question (source)
2016-02-28 10:03:59 -0500 received badge  Student (source)
2015-11-12 10:11:24 -0500 received badge  Famous Question (source)
2015-09-27 18:05:10 -0500 received badge  Famous Question (source)
2015-09-24 02:42:17 -0500 received badge  Notable Question (source)
2015-08-25 16:22:32 -0500 received badge  Notable Question (source)
2015-08-25 16:22:32 -0500 received badge  Popular Question (source)
2015-08-13 16:40:30 -0500 received badge  Popular Question (source)
2015-08-04 14:33:21 -0500 asked a question How to run a .html file with js including roslibjs

So I am trying to run a .html file which includes the javascript and uses roslibjs. I get the following error in the js console in firefox:

ReferenceError: ROSLIB is not defined math.html:10
Use of getPreventDefault() is deprecated.  Use defaultPrevented instead.

I am running the example provided in the roslibjs repo in github.

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<script src="http://cdn.robotwebtools.org/EventEmitter2/current/eventemitter2.min.js"></script>
<script src="../build/roslib.js"></script>

<script>
  // Let's start by adding some vectors.
  var v1 = new ROSLIB.Vector3({
    x : 1,
    y : 2,
    z : 3
  });
  var v2 = v1.clone();
  v1.add(v2);
  console.log(v1);

  // Now let's play with some quaternions.
  var q1 = new ROSLIB.Quaternion({
    x : 0.1,
    y : 0.2,
    z : 0.3,
    w : 0.4
  });
  var q2 = q1.clone();
  q1.multiply(q2);
  q1.invert();
  console.log(q1);

  // Let's copy the results into a pose.
  var p = new ROSLIB.Pose({
    position : v1,
    orientation : q1
  });
  console.log(p);

  // Finally, let's play with some transforms.
  var tf = new ROSLIB.Transform({
    translation : v2,
    rotation : q2
  });
  p.applyTransform(tf);
  console.log(p);
</script>
</head>

<body>
  <h1>Simple Math Example</h1>
  <p>Check the JavaScript console for the output.</p>
</body>
</html>

Besides that I was trying to learn how to publish the commands or literally any output to a webpage using the roslibjs. I have followed these steps:

1)roscore
2) open a new terminal 
3)rostopic pub /listener std_msgs/String "Hello, World" in the new terminal
This is what I see after entering this command:
publishing and latching message. Press ctrl-C to terminate
4) open another terminal:
5) rostopic echo /cmd_vel in the new terminal
6) This is what I see after entering the command:
WARNING: topic [/cmd_vel] does not appear to be published yet
7) browse to localhost:9090 I get this message:
Can "Upgrade" only to "WebSocket".
8) also after running this nothing happens and it just shows no result or warning:
rosrun rospy_tutorials add_two_ints_server
9) eventually when I run this I get the errors:
roslaunch rosbridge_server rosbridge_websocket.launch
... logging to /home/mona/.ros/log/9cc9437a-3a51-11e5-8592-340286a5d052/roslaunch-mona-Latitude-E5550-27665.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://mona-Latitude-E5550:51847/

SUMMARY
========

PARAMETERS
 * /rosbridge_websocket/address: 
 * /rosbridge_websocket/authenticate: False
 * /rosbridge_websocket/port: 9090
 * /rosdistro: jade
 * /rosversion: 1.11.13

NODES
  /
    rosapi (rosapi/rosapi_node)
    rosbridge_websocket (rosbridge_server/rosbridge_websocket)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[rosbridge_websocket-1]: started with pid [27687]
process[rosapi-2]: started with pid [27688]
registered capabilities (classes):
 - rosbridge_library.capabilities.call_service.CallService
 - rosbridge_library.capabilities.advertise.Advertise
 - rosbridge_library.capabilities.publish.Publish
 - rosbridge_library.capabilities.subscribe.Subscribe
 - <class 'rosbridge_library.capabilities.defragmentation.Defragment'>
 - rosbridge_library.capabilities.advertise_service.AdvertiseService
 - rosbridge_library.capabilities.service_response.ServiceResponse
 - rosbridge_library.capabilities.unadvertise_service.UnadvertiseService
Traceback (most recent call last):
  File "/opt/ros/jade/lib/rosbridge_server/rosbridge_websocket", line 135, in <module>
    application.listen(port, address)
  File "/opt/ros/jade/lib/python2.7/dist-packages/tornado/web.py", line 1691, in listen
    server ...
(more)
2015-08-04 13:44:16 -0500 commented answer Visualizing bag files using d3.js

Hi @William can you please provide more details like the commands I should run in terminal? I am new to ROS and find this answer very high-level for me. Is there also a similar work of visualizing bag files using d3.js you can link me to? I've been googling but it was unsuccessful

2015-08-04 01:44:31 -0500 received badge  Popular Question (source)
2015-08-03 23:39:27 -0500 received badge  Supporter (source)
2015-08-02 18:36:26 -0500 asked a question Visualizing bag files using d3.js

I wonder if there is any previous work for visualizing bag files using d3.js. I know I can convert them to csv but even in that case they differ somewhat from the normal csv files. Any hint is really appreciated.

2015-08-02 15:28:02 -0500 asked a question How to Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set "Eigen3_DIR" to a directory containing one of the above files

When I entered this command:

cd /Users/mona/ros_catkin_ws/build_isolated/pcl_ros && /Users/mona/ros_catkin_ws/install_isolated/env.sh cmake /Users/mona/ros_catkin_ws/src/perception_pcl/pcl_ros -DCATKIN_DEVEL_PREFIX=/Users/mona/ros_catkin_ws/devel_isolated/pcl_ros -DCMAKE_INSTALL_PREFIX=/Users/mona/ros_catkin_ws/install_isolated -DCMAKE_BUILD_TYPE=Release -G 'Unix Makefiles'

I get the following error:

-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   system
--   filesystem
--   thread
CMake Error at CMakeLists.txt:7 (find_package):
  By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Eigen3", but
  CMake did not find one.

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

    Eigen3Config.cmake
    eigen3-config.cmake

  Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set
  "Eigen3_DIR" to a directory containing one of the above files.  If "Eigen3"
  provides a separate development package or SDK, be sure it has been
  installed.


-- Configuring incomplete, errors occurred!
See also "/Users/mona/ros_catkin_ws/build_isolated/pcl_ros/CMakeFiles/CMakeOutput.log".

I tried to follow the guide for installing the eigen but apparently it was unsuccessful. I have these in /usr/local/eigen :

Monas-MacBook-Pro:~ mona$ cd /usr/local/eigen
Monas-MacBook-Pro:eigen mona$ ls
CMakeLists.txt              build_dir
COPYING.BSD             cmake
COPYING.GPL             debug
COPYING.LGPL                demos
COPYING.MINPACK             doc
COPYING.MPL2                eigen3.pc.in
COPYING.README              failtest
CTestConfig.cmake           lapack
CTestCustom.cmake.in            scripts
Eigen                   signature_of_eigen3_matrix_library
INSTALL                 test
bench                   unsupported
blas

And I have followed these steps in INSTALL file:

cd build_dir
cmake source_dir
make install

However when I enter eigen it is not recognized.

I need to get this fixed for this step of installing ROS on OSX:

./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release

I am not an OSX guru, so if you are want to help me, it is best suggested to tell me how to set paths or where the files you want me to modify are located.

** I used destination path for eigen3:

cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/eigen3
make install

and now I have these items after make install :

Monas-MacBook-Pro:build_dir mona$ ls /usr/local/eigen3/include/eigen3/
Eigen                   unsupported
signature_of_eigen3_matrix_library
Monas-MacBook-Pro:build_dir mona$ ls /usr/local/eigen3/include/eigen3/Eigen/
Array           Householder     QR          StdDeque
Cholesky        IterativeLinearSolvers  QtAlignedMalloc     StdList
CholmodSupport      Jacobi          SPQRSupport     StdVector
Core            LU          SVD         SuperLUSupport
Dense           LeastSquares        Sparse          UmfPackSupport
Eigen           MetisSupport        SparseCholesky      src
Eigen2Support       OrderingMethods     SparseCore
Eigenvalues     PaStiXSupport       SparseLU
Geometry        PardisoSupport      SparseQR

Yet I don't know where is the executable for eigen3 and how to set path for cmake.

Thanks a bunch, Mona Jalal