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

Mekateng's profile - activity

2023-07-18 05:21:45 -0500 received badge  Famous Question (source)
2022-11-17 15:47:11 -0500 received badge  Famous Question (source)
2022-11-17 15:45:56 -0500 received badge  Famous Question (source)
2022-07-30 06:43:57 -0500 asked a question Saving real time data

Saving real time data How can save a data to a file (it can be txt file) in real time when we click with the mouse on th

2022-07-24 02:18:25 -0500 received badge  Notable Question (source)
2022-07-24 02:18:25 -0500 received badge  Famous Question (source)
2021-03-11 23:09:05 -0500 received badge  Famous Question (source)
2020-10-18 08:20:36 -0500 received badge  Famous Question (source)
2020-10-18 08:20:36 -0500 received badge  Notable Question (source)
2020-07-29 09:11:26 -0500 received badge  Nice Question (source)
2020-06-20 09:09:23 -0500 received badge  Notable Question (source)
2020-06-20 09:09:23 -0500 received badge  Famous Question (source)
2020-02-24 15:25:54 -0500 commented answer Error while publishing encoder ticks in Arduino

Hi, I want to do same thing but unfortunately ı did not solve my problem yet. If you don't mind, would you please share

2020-02-24 15:18:48 -0500 commented question Publishing odometry with rosserial

Hi @Perrary, I want to obtain the odometry with Arduino Uno too. Could you please share the ros and arduino code with me

2020-02-24 15:14:58 -0500 commented answer computing odometry, creating base controller

I want to do same thing but unfortunately ı did not solve my problem yet. If you don't mind, would you please share the

2020-02-24 14:55:03 -0500 commented question odometry on arduino vs on ROS

I want to do the same thing too. Could you please share the arduino and python code (ros code) about this topic.

2020-02-24 14:44:06 -0500 commented answer Get odometry from wheels encoders

Do you have the arduino encoder code you use next to this code for a real application? If yes, could you please share it

2020-02-22 21:42:41 -0500 received badge  Famous Question (source)
2020-02-18 14:21:37 -0500 commented question How to compute odometry from encoder ticks

Did you solve the problem? If do, could you please share the code?

2019-12-17 10:53:31 -0500 received badge  Famous Question (source)
2019-12-17 10:53:31 -0500 received badge  Notable Question (source)
2019-11-06 12:31:29 -0500 marked best answer What is the meaning of the effort or velocity on urdf model

What is the meaning of these ? (<limit effort="3" velocity="1.178465545" lower="0.0" upper="3.14"/>) on the urdf model. ı changed limit effort or velocity but nothing changed

2019-10-08 05:04:05 -0500 received badge  Popular Question (source)
2019-10-08 05:04:05 -0500 received badge  Notable Question (source)
2019-08-21 00:37:02 -0500 received badge  Notable Question (source)
2019-08-21 00:37:02 -0500 received badge  Popular Question (source)
2019-08-21 00:37:02 -0500 received badge  Famous Question (source)
2019-08-08 08:29:03 -0500 received badge  Notable Question (source)
2019-06-18 11:32:10 -0500 received badge  Notable Question (source)
2019-06-04 14:58:32 -0500 received badge  Famous Question (source)
2019-05-31 14:46:26 -0500 received badge  Famous Question (source)
2019-05-31 14:46:26 -0500 received badge  Popular Question (source)
2019-05-31 14:46:26 -0500 received badge  Notable Question (source)
2019-05-20 02:08:18 -0500 marked best answer How is the distance of an 3d object measured in ROS

Hi, I obtained 3d image using 2d urg-04lx-ug01 .There is an object at a distance of 1 meter. How do ı see that distance in Rviz or in a terminal ? or can ı see object distance ?

2019-05-20 01:44:16 -0500 marked best answer Rotating laser mounted on a vehicle

Hi, I obtained 3d point cloud using 2d rotating laser scanner on a base frame . But now I want to this mounted on a vehicle. How can I do it?

2019-04-24 05:35:45 -0500 received badge  Famous Question (source)
2019-04-08 03:12:13 -0500 commented question Unable to connect LMS151 via ethernet

Hİ, did you solve it?

2019-04-08 01:06:41 -0500 marked best answer Is it possible to measure linear velocity with 3DM-GX1 model IMU on ROS?

Hi, I want to know that Is possible to measure linear velocity with 3DM-GX1 model IMU on ROS? Thanks in advance.

2019-04-08 01:04:44 -0500 received badge  Famous Question (source)
2019-01-04 02:13:30 -0500 received badge  Famous Question (source)
2018-12-19 07:08:22 -0500 received badge  Famous Question (source)
2018-12-19 07:08:22 -0500 received badge  Notable Question (source)
2018-09-14 17:21:52 -0500 marked best answer How to get the closest obstacle with rotating laser using pointcloud

Hi, The following code allows a rotating laser scanner to detect the object closest to itself using the LaserScan(scan topic) message.But ı want to this using pointcloud . How can I do this? How do we make a change in the code below for this? thanks in advance.

#!/usr/bin/env python

import rospy
from sensor_msgs.msg import LaserScan
from geometry_msgs.msg import Point, PoseStamped, PointStamped
import tf2_ros
import PyKDL
import tf2_geometry_msgs
from math import cos,sin
class LaserRot(object):
    def __init__(self):
        self.laser=LaserScan()
        self.laserS=rospy.Subscriber("/scan", LaserScan, self.laser_callback)
        self.closestP=rospy.Publisher("/closest_point", PointStamped, queue_size=1)
        self.tf_buffer=tf2_ros.Buffer(rospy.Duration(1200.0))
        self.tf_listener=tf2_ros.TransformListener(self.tf_buffer)


        self.get_transform()

    def get_transform(self):
        try:
            self.transform = self.tf_buffer.lookup_transform("base_link", "laser", rospy.Time(0), rospy.Duration(1.0))
        except (tf2_ros.LookupException, tf2_ros.ConnectivityException, tf2_ros.ExtrapolationException):
            rospy.logerror("Error getting transform")
            print "Error"

    def laser_callback (self, msg):
        self.laser=msg
        self.get_transform()

    def publish_closest_obstacle(self):
        laser = self.laser.ranges
        shortest_laser = 10000
        point=Point()
        for i in range(len(laser)):
            if laser[i] < shortest_laser:
                angle=self.laser.angle_min + i*self.laser.angle_increment
                x=laser[i]*cos(angle)
                if x>-0.2:
                    shortest_laser=laser[i]
                    point.x=x
                    point.y=shortest_laser*sin(angle)
        pose=PoseStamped()
        pose.header=self.laser.header
        point.z=0.0
        pose.pose.position=point
        pose_transformed= tf2_geometry_msgs.do_transform_pose(pose, self.transform)
        point_transformed=PointStamped()


        point_transformed.header=pose_transformed.header
        point_transformed.point = pose_transformed.pose.position
        self.closestP.publish(point_transformed)

rospy.init_node("compute_closest_obstcl")
r=rospy.Rate(10)
lr=LaserRot()

while not rospy.is_shutdown():
    lr.publish_closest_obstacle()
    r.sleep()
2018-08-20 00:15:31 -0500 received badge  Popular Question (source)
2018-07-19 03:43:14 -0500 asked a question How to save OctoMap data everytime?

How to save OctoMap data everytime? Hi, I'm getting a 3D map using the OctoMap server package. But As the vehicle moves