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

Mohsen Hk's profile - activity

2021-06-07 12:19:46 -0500 received badge  Great Question (source)
2020-03-22 02:23:57 -0500 received badge  Good Question (source)
2018-03-05 10:52:24 -0500 received badge  Good Question (source)
2017-07-18 19:39:53 -0500 received badge  Famous Question (source)
2016-11-09 10:18:00 -0500 received badge  Nice Question (source)
2016-07-28 14:18:14 -0500 received badge  Famous Question (source)
2016-07-25 19:30:52 -0500 received badge  Taxonomist
2016-03-17 13:52:07 -0500 marked best answer Problem to install GAZEBO in Synaptic

Hi! when i "Mark" "ros-fuerte-simulator-gazebo" in "Synaptic" when this package "is not installed" (in status!), wanna "to be removed" some ROS packages in list, when i click "mark". it gave me this error:

Can't Mark All Packages For Installation Or Upgrade

ros-fuerte-simulator-gazebo: Depends: ros-fuerte-bullet (=2.79-s1359841903~precise) but 2.79-s1359842349~oneiric is to be installed

Depends: ros-fuerte-common-msgs (=1.8.13-0precise-20130203-0848-+0000) but 1.8.13-0oneiric-20130203-0846-+0000 is to be installed

Depends: ros-fuerte-common-rosdeps (=1.2.0-s1359838704~precise) but 1.2.0-s1359839413~oneiric is to be installed

Depends: ros-fuerte-driver-common but it is not going to be installed

Depends: ros-fuerte-geometry but it is not going to be installed

Depends: ros-fuerte-image-common but it is not going to be installed

Depends: ros-fuerte-nodelet-core (=1.6.5-s1359894314~precise) but 1.6.5- s1359892967~oneiric is to be installed

Depends: ros-fuerte-perception-pcl but it is not going to be installed

Depends: ros-fuerte-robot-model but it is not going to be installed

Depends: ros-fuerte-ros (=1.8.10-0precise-20130202-2019-+0000) but 1.8.10-0oneiric-20130202-2019-+0000 is to be installed

Depends: ros-fuerte-ros-comm (=1.8.15-0precise-20130203-0847-+0000) but 1.8.15-0oneiric-20130203-0849-+0000 is to be installed

Depends: ros-fuerte-visualization-common (=1.8.4-s1359883358~precise) but 1.8.4-s1359886951~oneiric is to be installed

Depends: ros-fuerte-xacro (=1.6.1-s1359883505~precise) but 1.6.1-s1359888901~oneiric is to be installed

Depends: ros-fuerte-protobuf (=0.1.0-s1359883067~precise) but 0.1.0-s1359886619~oneiric is to be installed

what am i shoud to do?

2015-11-28 16:13:36 -0500 marked best answer Change Rviz's View Types in launch file?

i used Rviz in launch file like :

<node pkg="rviz" type="rviz" name="rviz" args="-d $(find hector_slam_launch)/rviz_cfg/mapping_demo.vcg"/>

but i wanna change "TopDownOrtho" view to "XYorbit" view in launch file. how can I?

2015-10-30 17:57:58 -0500 marked best answer Exception AttributeError from '/usr/lib/python2.7/threading.pyc' when RUSCORE start!

Hi friends!

i don't know anything about PYYYTHo0o0o0oN :-s

what am i should to0 do0 whit these exceptionS?

(i have ROS FUERTE)

tnQ

mohsen@mohsen-ThinkPad-R500:~$ roscore
... logging to /home/mohsen/.ros/log/6d9214a4-a0f9-11e2-bd04-00216b5b4a7c/roslaunch-mohsen-ThinkPad-R500-4942.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://mohsen-ThinkPad-R500:57850/
ros_comm version 1.8.10

SUMMARY
========

PARAMETERS
 * /rosdistro
 * /rosversion

NODES

auto-starting new master
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[master]: started with pid [4958]
ROS_MASTER_URI=http://mohsen-ThinkPad-R500:11311/

setting /run_id to 6d9214a4-a0f9-11e2-bd04-00216b5b4a7c
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[rosout-1]: started with pid [4971]
started core service [/rosout]
2015-05-29 13:00:25 -0500 marked best answer how can i use sonar with hector_mapping package (laser and IMU) to draw map?

i created /map with laser an imu by hector_mapping package. but how can i use sonar (with laser and imu) too create better map?

2014-10-06 15:19:07 -0500 received badge  Famous Question (source)
2014-10-06 15:19:07 -0500 received badge  Notable Question (source)
2014-08-03 11:35:13 -0500 received badge  Nice Question (source)
2014-04-20 13:23:51 -0500 marked best answer problem to install ros-groovy-ros-tutorials

Hi. I'm beginner. plz help

mohsen@mohsen-ThinkPad-R500:~/catkin_ws$ sudo apt-get install ros-groovy-ros-tutorials

my error:

Reading package lists... Error!

E: Encountered a section with no Package: header

E: Problem with MergeList /var/lib/apt/lists /extras.ubuntu.com_ubuntu_dists_precise_main_binary-i386_Packages

E: The package lists or status file could not be parsed or opened.

2014-04-20 06:54:47 -0500 marked best answer how to edit costmap data manually?

Hello :) i wanna edit costmap data manually. i have x and y location of map data given by hector_mapping. and my costmap_2d_ros_ data is runs ok like this:

costmap_2d_ros_ = new costmap_2d::Costmap2DROS("global_costmap", tfl_);

how can i do?

costmap_2d::Costmap2D costmap_temp;
costmap_2d_ros_->getCostmapCopy(costmap_temp);

int map_width = costmap_temp.getSizeInCellsX();
int map_height = costmap_temp.getSizeInCellsY();
int num_map_cells = map_width * map_height;

const unsigned char* occupancy_grid_array;
occupancy_grid_array = costmap_temp.getCharMap();

geometry_msgs::PoseStamped lethal_obstacle;
point.pose.position.x=0.1;
point.pose.position.y=0.1;

if(??? QUESTION1 ???)
{
    ??? QUESTION2 ???=costmap_2d::LETHAL_OBSTACLE;
}

??? QUESTION3 ??? now convert costmap_2d::Costmap2D (costmap_temp) to costmap_2d::Costmap2DROS.
2014-04-20 06:54:44 -0500 marked best answer How to Subscribe vector<geometry_msgs::PoseStamped> type topic?

hello :) i wanna publish and subscribe vector<geometry_msgs::posestamped> type topic, how can i do?

void exceptionPointsCallback(const  std::vector<geometry_msgs::PoseStamped::ConstPtr&> msg???????!!!!)

    {

        exceptions_points.clear();

        exceptions_points.swap(msg);

    }
2014-04-20 06:54:30 -0500 marked best answer "roslaunch explore_stage explore.launch" problem

plz heeelllpp! :( i used explore_stage before, but after upgrade my ubuntu, it gave me this error!

mohsen@mohsen-ThinkPad-R500:~$ roslaunch explore_stage explore.launch
... logging to /home/mohsen/.ros/log/e3e2f4c6-bca0-11e2-b4c1-001c259b7f6b/roslaunch-mohsen-ThinkPad-R500-5445.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.

WARNING: ignoring defunct <master /> tag
started roslaunch server http://mohsen-ThinkPad-R500:43843/

SUMMARY
========

PARAMETERS
 * /explore/close_loops
 * /explore/explore_costmap/base_scan/clearing
 * /explore/explore_costmap/base_scan/data_type
 * /explore/explore_costmap/base_scan/expected_update_rate
 * /explore/explore_costmap/base_scan/marking
 * /explore/explore_costmap/base_scan/observation_persistance
 * /explore/explore_costmap/base_scan/sensor_frame
 * /explore/explore_costmap/circumscribed_radius
 * /explore/explore_costmap/cost_scaling_factor
 * /explore/explore_costmap/global_frame
 * /explore/explore_costmap/height
 * /explore/explore_costmap/inflation_radius
 * /explore/explore_costmap/inscribed_radius
 * /explore/explore_costmap/lethal_cost_threshold
 * /explore/explore_costmap/map_type
 * /explore/explore_costmap/max_obstacle_height
 * /explore/explore_costmap/observation_sources
 * /explore/explore_costmap/obstacle_range
 * /explore/explore_costmap/origin_x
 * /explore/explore_costmap/origin_y
 * /explore/explore_costmap/publish_frequency
 * /explore/explore_costmap/raytrace_range
 * /explore/explore_costmap/resolution
 * /explore/explore_costmap/robot_base_frame
 * /explore/explore_costmap/rolling_window
 * /explore/explore_costmap/static_map
 * /explore/explore_costmap/track_unknown_space
 * /explore/explore_costmap/transform_tolerance
 * /explore/explore_costmap/update_frequency
 * /explore/explore_costmap/width
 * /explore/gain_scale
 * /explore/orientation_scale
 * /explore/potential_scale
 * /move_base/NavfnROS/transform_tolerance
 * /move_base/TrajectoryPlannerROS/acc_lim_th
 * /move_base/TrajectoryPlannerROS/acc_lim_x
 * /move_base/TrajectoryPlannerROS/acc_lim_y
 * /move_base/TrajectoryPlannerROS/dwa
 * /move_base/TrajectoryPlannerROS/escape_reset_dist
 * /move_base/TrajectoryPlannerROS/escape_reset_theta
 * /move_base/TrajectoryPlannerROS/goal_distance_bias
 * /move_base/TrajectoryPlannerROS/heading_lookahead
 * /move_base/TrajectoryPlannerROS/heading_scoring
 * /move_base/TrajectoryPlannerROS/heading_scoring_timestep
 * /move_base/TrajectoryPlannerROS/holonomic_robot
 * /move_base/TrajectoryPlannerROS/max_vel_th
 * /move_base/TrajectoryPlannerROS/max_vel_x
 * /move_base/TrajectoryPlannerROS/min_in_place_vel_th
 * /move_base/TrajectoryPlannerROS/min_vel_th
 * /move_base/TrajectoryPlannerROS/min_vel_x
 * /move_base/TrajectoryPlannerROS/occdist_scale
 * /move_base/TrajectoryPlannerROS/oscillation_reset_dist
 * /move_base/TrajectoryPlannerROS/path_distance_bias
 * /move_base/TrajectoryPlannerROS/sim_granularity
 * /move_base/TrajectoryPlannerROS/sim_time
 * /move_base/TrajectoryPlannerROS/simple_attractor
 * /move_base/TrajectoryPlannerROS/transform_tolerance
 * /move_base/TrajectoryPlannerROS/vtheta_samples
 * /move_base/TrajectoryPlannerROS/vx_samples
 * /move_base/TrajectoryPlannerROS/world_model
 * /move_base/TrajectoryPlannerROS/xy_goal_tolerance
 * /move_base/TrajectoryPlannerROS/yaw_goal_tolerance
 * /move_base/footprint
 * /move_base/global_costmap/base_scan/clearing
 * /move_base/global_costmap/base_scan/data_type
 * /move_base/global_costmap/base_scan/expected_update_rate
 * /move_base/global_costmap/base_scan/marking
 * /move_base/global_costmap/base_scan/observation_persistance
 * /move_base/global_costmap/base_scan/sensor_frame
 * /move_base/global_costmap/circumscribed_radius
 * /move_base/global_costmap/cost_scaling_factor
 * /move_base/global_costmap/global_frame
 * /move_base/global_costmap/height
 * /move_base/global_costmap/inflation_radius
 * /move_base/global_costmap/inscribed_radius
 * /move_base/global_costmap/lethal_cost_threshold
 * /move_base/global_costmap/map_type
 * /move_base/global_costmap/max_obstacle_height
 * /move_base/global_costmap/observation_sources
 * /move_base/global_costmap/obstacle_range
 * /move_base/global_costmap/origin_x
 * /move_base/global_costmap/origin_y
 * /move_base/global_costmap/publish_frequency
 * /move_base/global_costmap/raytrace_range
 * /move_base/global_costmap/resolution
 * /move_base/global_costmap/robot_base_frame
 * /move_base/global_costmap/rolling_window
 * /move_base/global_costmap/static_map
 * /move_base/global_costmap/transform_tolerance
 * /move_base/global_costmap/update_frequency
 * /move_base/global_costmap/width
 * /move_base/local_costmap/base_scan/clearing
 * /move_base/local_costmap/base_scan/data_type
 * /move_base/local_costmap/base_scan/expected_update_rate
 * /move_base/local_costmap/base_scan/marking
 * /move_base/local_costmap/base_scan/observation_persistance
 * /move_base/local_costmap/base_scan/sensor_frame
 * /move_base/local_costmap/circumscribed_radius
 * /move_base/local_costmap/cost_scaling_factor
 * /move_base/local_costmap/global_frame
 * /move_base/local_costmap/height
 * /move_base/local_costmap/inflation_radius
 * /move_base/local_costmap/inscribed_radius
 * /move_base/local_costmap/lethal_cost_threshold
 * /move_base/local_costmap/map_type
 * /move_base/local_costmap/max_obstacle_height
 * /move_base/local_costmap/observation_sources
 * /move_base/local_costmap/obstacle_range
 * /move_base/local_costmap/origin_x
 * /move_base/local_costmap/origin_y
 * /move_base/local_costmap/publish_frequency
 * /move_base/local_costmap/raytrace_range
 * /move_base/local_costmap/resolution
 * /move_base/local_costmap/robot_base_frame
 * /move_base/local_costmap/rolling_window
 * /move_base/local_costmap/static_map
 * /move_base/local_costmap/transform_tolerance
 * /move_base/local_costmap/update_frequency
 * /move_base/local_costmap/width
 * /rosdistro
 * /rosversion
 * /use_sim_time

NODES
  /
    explore (explore/explore)
    fake_localize (tf/static_transform_publisher)
    move_base (move_base/move_base)
    stage (stage/stageros)

auto-starting new master
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
process[master]: started with pid [5461]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to e3e2f4c6-bca0-11e2-b4c1-001c259b7f6b
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in ...
(more)
2014-04-20 06:54:24 -0500 marked best answer what are the differences between "name" and "type" in roslaunch?

what are the differents between "name" and "type" in roslaunch for nodes?

<launch>
  <master auto="start"/>
<node pkg="tf" type="static_transform_publisher" name="fake_localize" args="0 0 0 0 0 0 map odom 10"/>
</launch>
2014-04-20 06:53:56 -0500 marked best answer Node from which Package is running now?

there are some node running, i saw them in rqt_graph. but how can i find where they are runned from which ros package?

2014-04-20 06:53:55 -0500 marked best answer make error > depends on non-existent package gazebo

i have gazebo , i installed gazebo with synaptic and i can open it with "$gazebo" in terminal. when i make hector_gazebo_plugins package, it gave me this error :( any body help?

mohsen@mohsen-ThinkPad-R500:~/fuerte_workspace/tu-darmstadt-ros-pkg/hector_gazebo/hector_gazebo_plugins$ make
mkdir -p bin
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake  ..
[rosbuild] Building package hector_gazebo_plugins
Failed to invoke /opt/ros/fuerte/bin/rospack deps-manifests hector_gazebo_plugins
[rospack] Error: package/stack hector_gazebo_plugins depends on non-existent package gazebo


CMake Error at /opt/ros/fuerte/share/ros/core/rosbuild/public.cmake:129 (message):



  Failed to invoke rospack to get compile flags for package
  'hector_gazebo_plugins'.  Look above for errors from rospack itself.
  Aborting.  Please fix the broken dependency!

Call Stack (most recent call first):
  /opt/ros/fuerte/share/ros/core/rosbuild/public.cmake:203 (rosbuild_invoke_rospack)
  CMakeLists.txt:12 (rosbuild_init)


-- Configuring incomplete, errors occurred!
make: *** [all] Error 1
mohsen@mohsen-ThinkPad-R500:~/fuerte_workspace/tu-darmstadt-ros-pkg/hector_gazebo/hector_gazebo_plugins$
2014-04-20 06:53:48 -0500 marked best answer gazebo on ubuntu 11.10?

Hi guys :) can i install GAZEBO on UBUNTU 11.10 form gazebosim.org? which version? tnx :)

2014-04-20 06:53:26 -0500 marked best answer problem on "turtle_tf: Missing resource catkin"

hi, this is my error. any body help me plz? :)

mohsen@mohsen-ThinkPad-R500:~$ rosdep install turtle_tf rviz

ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: turtle_tf: Missing resource catkin

ROS path [0]=/opt/ros/fuerte/share/ros

ROS path [1]=/home/mohsen/fuerte_workspace

ROS path [2]=/opt/ros/fuerte/share

ROS path [3]=/opt/ros/fuerte/stacks

2014-04-20 06:53:26 -0500 marked best answer problem on "rosdep install"

i did every command on this page and it was ok, but i have problem on this command! plz help me :(

mohsen@mohsen-ThinkPad-R500:/opt/ros/fuerte/stacks/geometry_tutorials/turtle_tf$ rosdep install AMAZING_PACKAGE

ERROR: Rosdep cannot find all required resources to answer your query Missing resource AMAZING_PACKAGE

ROS path [0]=/opt/ros/fuerte/share/ros

ROS path [1]=/home/mohsen/fuerte_workspace

ROS path [2]=/opt/ros/fuerte/share

ROS path [3]=/opt/ros/fuerte/stacks