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

Farid's profile - activity

2022-10-12 03:00:19 -0500 received badge  Great Answer (source)
2020-11-05 06:33:03 -0500 received badge  Famous Question (source)
2020-10-15 08:10:22 -0500 commented answer bag file to pcd files

is there anyway to run this command: rosrun pcl_ros bag_to_pcd <input_file.bag> <topic> <output_directory

2020-08-28 10:05:32 -0500 received badge  Famous Question (source)
2020-08-19 04:35:38 -0500 commented question image_transport rosbag issue

I get this error running my android phone with ip address with IP webcam App and video_stream_opencv package!

2020-07-31 06:46:23 -0500 commented answer import cv2 error caused by ROS!

this should be an accepted answer though

2020-07-10 07:50:00 -0500 commented answer Simple test if Ros was installed correctly?

rosversion -d should work for all of ROS distribution, including kinetic, indigo etc.

2020-07-02 05:27:40 -0500 commented answer ROS / Point Grey Chameleon USB3 Cam / No Colour Images

I get the same problem in rviz with $ roslaunch pointgrey_camera_driver camera.launch. there are three published topics

2020-07-02 05:27:17 -0500 commented answer ROS / Point Grey Chameleon USB3 Cam / No Colour Images

I get the same problem in rviz with $ roslaunch pointgrey_camera_driver camera.launch. there are three published topics

2020-07-02 05:26:47 -0500 commented answer ROS / Point Grey Chameleon USB3 Cam / No Colour Images

I get the same problem in rviz with $ roslaunch pointgrey_camera_driver camera.launch. there are three published topics:

2020-07-02 05:26:21 -0500 commented answer ROS / Point Grey Chameleon USB3 Cam / No Colour Images

I get the same problem in rviz with roslaunch pointgrey_camera_driver camera.launch. there are three published topics: /

2020-07-02 05:22:01 -0500 commented answer ROS / Point Grey Chameleon USB3 Cam / No Colour Images

how is this an answer? this should be comment cuz it does not solve the problem

2020-03-20 05:04:46 -0500 received badge  Good Answer (source)
2020-01-20 07:32:28 -0500 marked best answer Custom ROS message with unit8[] in python!

I have a PacketMsg.msg as follows in my package:

uint8[] buf

I would like to decode /topic with this sample python script;

import rospy
from ouster_ros.msg import PacketMsg

def cb(msg):
    rospy.loginfo('len_msg: {}, type_msg: {}'.format(len(msg.buf), type(msg.buf)))
    rospy.loginfo('msg: {}'.format(msg.buf)) 

def main():
    rospy.init_node("my_sub")
    rospy.Subscriber('/topic', PacketMsg,cb)
    rospy.spin()

if __name__ == "__main__":
    main()

This is the output printed in terminal:

[INFO] [1579270050.540915]: len_msg: 49, type_msg: <type 'str'>
[INFO] [1579270050.541343]: msg: ��H?�~�a�B��`����g=��?M��

whereas, $ rostopic echo /topic returns:

buf: [47, 185, 250, 245, 155, 0, 0, 0, 54, 238, 166, ....................... , 23, 154, 0, 0]

Does anybody know how to change such <type 'str'> to a list for further usages?

Cheers,

2020-01-20 07:27:16 -0500 received badge  Notable Question (source)
2020-01-18 05:06:53 -0500 received badge  Popular Question (source)
2020-01-17 08:20:17 -0500 marked best answer Remove installed ROS package

I installed a ros package wih this command:

$ sudo apt-get install ros-kinetic-novatel-gps-driver

Now I would like to remove this package and build it from its github page. What is the safest and cleanest way to do so?

I am aware of:

$ sudo apt remove ros-kinetic-novatel-gps-driver

or

$ sudo apt-get purge ros-kinetic-novatel-gps-driver

cheers,

2020-01-17 08:20:17 -0500 received badge  Scholar (source)
2020-01-17 08:20:06 -0500 received badge  Notable Question (source)
2020-01-17 08:20:06 -0500 received badge  Popular Question (source)
2020-01-17 08:19:52 -0500 edited question Custom ROS message with unit8[] in python!

Costume message with unit8[] in python! I have a PacketMsg.msg as follows in my package: uint8[] buf I would like to

2020-01-17 08:19:49 -0500 edited question Custom ROS message with unit8[] in python!

Costume message with unit8[] in python! I have a PacketMsg.msg as follows in my package: uint8[] buf I would like to

2020-01-17 08:18:10 -0500 commented question Monocular SLAM with OctoMap

not really after one year! :)

2020-01-17 08:16:35 -0500 asked a question Custom ROS message with unit8[] in python!

Costume message with unit8[] in python! I have a PacketMsg.msg as follows in my package: uint8[] buf I would like to

2020-01-08 11:07:15 -0500 commented answer rosbag info in C++

So how do we print them in terminal? maybe cout << info->topic << "\t[" << info->datatype &

2020-01-08 10:57:43 -0500 commented answer rosbag info in C++

So how do we print them in terminal? maybe cout << info->topic << endl; inside BOOST_FOREACH function?

2020-01-08 10:51:35 -0500 commented answer rosbag info in C++

So how do we print them in terminal?

2019-12-12 06:19:04 -0500 commented answer How to publish a pose in quaternion?

you should edit your answer to -->> p.orientation.y = 0.0 and p.orientation.z = 0.0

2019-12-06 06:06:28 -0500 commented answer Remove a single ROS package

so what is the safest and cleanest way to do so after all?

2019-12-06 06:05:44 -0500 asked a question Remove installed ROS package

Remove installed ROS package I installed a ros package wih this command: $ sudo apt-get install ros-kinetic-novate

2019-12-06 05:28:03 -0500 commented question "all processes on machine have died, roslaunch will exit"

same here!

2019-11-14 02:18:49 -0500 received badge  Nice Answer (source)
2019-09-12 07:25:08 -0500 received badge  Good Answer (source)
2019-09-11 21:57:50 -0500 received badge  Student (source)
2019-04-13 02:03:21 -0500 received badge  Nice Answer (source)
2019-01-02 05:18:55 -0500 commented question which I should use python or c++?

ROS wiki provides pretty educational tutorials for both c++ and python. It is just the matter of which language you've g

2018-12-21 07:14:28 -0500 received badge  Necromancer (source)
2018-12-21 03:22:35 -0500 edited answer Call to publish() on an invalid Publisher

Publisher must be initialized. The following sample code to publish IMU message might be helpful: void pubIMU(double ts

2018-12-21 03:22:05 -0500 edited answer Call to publish() on an invalid Publisher

Publisher must be initialized. The following sample code to publish IMU message might be helpful: void pubIMU(double ts

2018-12-21 03:22:05 -0500 received badge  Editor (source)
2018-12-21 03:21:09 -0500 answered a question Call to publish() on an invalid Publisher

Publisher must be initialized. The following sample code to publish IMU message might be helpful: void pubIMU(double ts

2018-12-03 10:38:53 -0500 answered a question how to display video we get from cv_bridge?

You may want to give this code a try to have a live stream from either your IP camera (Android phone) or a low cost USB

2018-11-21 03:42:22 -0500 answered a question Roslaunch won't work after moving catkin_ws directory

You may consider to source your new workspace in your .bashrc file as follows: $ cd ~/ open the .bashrc file with you

2018-11-20 07:30:19 -0500 received badge  Nice Answer (source)
2018-11-16 12:43:09 -0500 commented question I am using ROS kinetic on Ubuntu 16.04 and I couldn't launch Moveit demo.

Have you sourced your bash file? $ cd ~/ws_moveit $ source devel/setup.bash