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

pankaj patel's profile - activity

2020-12-05 20:10:56 -0500 received badge  Student (source)
2016-07-28 11:16:43 -0500 received badge  Famous Question (source)
2016-07-21 19:05:58 -0500 received badge  Famous Question (source)
2016-06-28 20:57:11 -0500 received badge  Famous Question (source)
2016-06-01 23:43:00 -0500 received badge  Notable Question (source)
2016-06-01 05:38:20 -0500 received badge  Popular Question (source)
2016-06-01 05:34:41 -0500 commented answer GPS integration in robot_localization

One more thing that I want to ask is, robot localization will work with only gps or it needs IMU sensor also ? By saying Transformation from odom-> base_link do you mean integration of one more sensor ?

2016-06-01 04:08:16 -0500 commented answer GPS integration in robot_localization

Thanks for the reply IvanV, Do you mean in parameter values there should be only frame names like map, odom, base_link as given in default ? I changed those things you mentioned earlier, still not getting anything. Can you please tell more about problems in my configurations.

2016-06-01 02:43:14 -0500 received badge  Notable Question (source)
2016-06-01 01:32:06 -0500 asked a question GPS integration in robot_localization

Hello all, I am trying to integrate UBlox Lea6h gps module with robot_localization, this gps is to be mounted on my quadcopter. I am using ros indigo in ubuntu 14.04. By using NavSatFix of rosserial I am feeding lat and long data with a rostopic /fix to the navsat_transform_node. My rostopic echo /fix output :

header: 
  seq: 84
 stamp: 
secs: 1464760028
nsecs: 759104988
frame_id: /fix
status: 
status: 0
service: 0
latitude: 19.1345443726
longitude: 72.906288147
altitude: 0.0
position_covariance: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
position_covariance_type: 0

I don't know how to find out and where to write the position covariance. My ekf_localization_node:

<launch>   
<node pkg="robot_localization" type="ekf_localization_node" name="ekf_localization" clear_params="true">

  <!-- ======== STANDARD PARAMETERS ======== -->     
  <param name="frequency" value="30"/>

  <param name="sensor_timeout" value="0.1"/>

  <param name="two_d_mode" value="false"/>

    <param name="map_frame" value="map"/>

  <param name="odom_frame" value="odom"/>

  <param name="base_link_frame" value="base_link"/>

  <param name="world_frame" value="map"/>

  <param name="transform_time_offset" value="0.0"/>

      <param name="odom0" value="/odometry/gps"/>

<rosparam param="odom0_config">[true, true, false, false, false, false, false, false, false, false, false, false, false, false, false]</rosparam>

<param name="odom0_differential" value="false"/>

  <param name="odom0_relative" value="false"/>

  <param name="print_diagnostics" value="true"/>

  <!-- ======== ADVANCED PARAMETERS ======== -->
  <param name="odom0_queue_size" value="2"/>
  <param name="odom0_pose_rejection_threshold" value="5"/>
  <param name="odom0_twist_rejection_threshold" value="1"/>  
  <param name="debug"           value="false"/>
  <param name="debug_out_file"  value="debug_ekf_localization.txt"/>

  <rosparam param="process_noise_covariance">[0.05, 0,    0,    0,    0,    0,    0,     0,     0,    0,    0,    0,    0,    0,    0,
                                              0,    0.05, 0,    0,    0,    0,    0,     0,     0,    0,    0,    0,    0,    0,    0,
                                              0,    0,    0.06, 0,    0,    0,    0,     0,     0,    0,    0,    0,    0,    0,    0,
                                              0,    0,    0,    0.03, 0,    0,    0,     0,     0,    0,    0,    0,    0,    0,    0,
                                              0,    0,    0,    0,    0.03, 0,    0,     0,     0,    0,    0,    0,    0,    0,    0,
                                              0,    0,    0,    0,    0,    0.06, 0,     0,     0,    0,    0,    0,    0,    0,    0,
                                              0,    0,    0,    0,    0,    0,    0.025, 0,     0,    0,    0,    0,    0,    0,    0,
                                              0,    0,    0,    0,    0,    0,    0,     0.025, 0,    0,    0,    0,    0,    0,    0,
                                              0,    0,    0,    0,    0,    0,    0,     0,     0.04, 0,    0,    0,    0,    0,    0,
                                              0,    0,    0,    0,    0,    0,    0,     0,     0,    0.01, 0,    0,    0,    0,    0,
                                              0,    0,    0,    0,    0,    0,    0,     0,     0,    0,    0.01, 0,    0,    0,    0,
                                              0,    0,    0,    0,    0,    0,    0,     0,     0,    0,    0,    0.02, 0,    0,    0,
                                              0,    0,    0,    0,    0,    0,    0,     0,     0,    0,    0,    0,    0.01, 0,    0,
                                              0,    0,    0,    0,    0,    0,    0,     0,     0,    0,    0,    0,    0,    0.01, 0,
                                              0,    0,    0,    0,    0,    0,    0,     0,     0,    0,    0,    0,    0,    0,    0.015]</rosparam>


       <rosparam param="initial_estimate_covariance">[1e-9, 0,    0,    0,    0,    0,    0,    0,    0,    0,     0,     0,     0,    0 ...
(more)
2016-05-18 15:39:39 -0500 received badge  Notable Question (source)
2016-04-20 11:36:20 -0500 commented answer Tried to publish before configured topic id 125

Hey Vmato thanks a lot. I was forgetting to add install path. It worked now.

2016-04-20 11:28:07 -0500 received badge  Popular Question (source)
2016-04-20 07:55:28 -0500 received badge  Popular Question (source)
2016-04-20 06:26:10 -0500 commented answer Publishing multiple data types in one ros topic in Arduino

Hi Nicholas I made header file for string and integer data type as you said. Now I am having another issue I posted here :link text

2016-04-20 06:24:07 -0500 asked a question Tried to publish before configured topic id 125

Hi I am using rosserial arduino, from the tutorial link text I made my custom message file which contains string and integer data types in catkin_ws/src/beginner_tutorials/msg/Datatype.msg and converted it into a header file Datatype.h, After that I ran following commandrosrun rosserial_arduino make_libraries.py . It created header datatype.h in /sketchbook/libraries/roslib/beginner_tutorials. Now I am able to compile my header file . But while running serial_node.py I am getting following errors:

pankaj@pankaj-HP-Pavilion-dv4-Notebook-PC:~$ rosrun rosserial_python serial_node.py /dev/ttyACM0`[INFO] [WallTime: 1461149079.336082] ROS Serial Python Node
[INFO] [WallTime: 1461149079.343509] Connecting to /dev/ttyACM0 at 57600 baud
[ERROR] [WallTime: 1461149082.330481] Creation of publisher failed: beginner_tutorials
`ROS path [0]=/opt/ros/indigo/share/ros
ROS path [1]=/opt/ros/indigo/share
ROS path [2]=/opt/ros/indigo/stacks
[ERROR] [WallTime: 1461149083.266678] Tried to publish before configured, topic id 125
[ERROR] [WallTime: 1461149083.266678] Tried to publish before configured, topic id 125
[ERROR] [WallTime: 1461149083.266678] Tried to publish before configured, topic id 125

Other examples of arduino like Hello world are working fine. I am getting error only when I use my custom message header.`Why am I getting this error ? please help.

2016-04-19 03:43:40 -0500 commented answer Publishing multiple data types in one ros topic in Arduino

Thanks Nicholas for replying, I am reading an arduino mega board by ros. I have string, integer and float data coming from arduino and I want to print all data in one terminal. But I can see only one type of data in one terminal by rostopic echo. How can I do this ? I am new to ROS.

2016-04-18 13:18:12 -0500 asked a question Publishing multiple data types in one ros topic in Arduino

Hi all, I followed this tutorial for rosserial in arduino link text But here in this tutorial I need to add different ros topics for every new data types like string, int ,float etc. What if I want to publish multiple data types in a single ros topic ? What should I do ?

2016-04-05 01:03:01 -0500 received badge  Popular Question (source)
2016-03-21 10:07:31 -0500 received badge  Supporter (source)
2016-03-21 03:36:49 -0500 answered a question Problem in running hector_quadrotor launch files.

Actually when I do not source catkin workspace with ~/catkin_ws$ source devel/setup.bash Then It doesn't show that error and I am able to launch all those files inside hector_quadrotor_gazebo. I tried to run what you said, and it gives following output :

pankaj@patel-lab:~/catkin_ws$ rosrun controller_manager controller_spawner
[rosrun] Couldn't find executable named controller_spawner below /home/pankaj/catkin_ws/src/controller_manager

It gives the same output whether I source to catkin workspace or not.

2016-03-20 09:41:25 -0500 received badge  Enthusiast
2016-03-13 07:58:03 -0500 asked a question Problem in running hector_quadrotor launch files.

Hi all, I am new to ROS and trying to use hector_quadrotor for my project. I am using Ubuntu 14.04, ROS indigo and gazebo 2.2.3. When I launch any of the launch files present inside the package "hector_quadrotor_gazebo" then it gives error :

 ERROR: cannot launch node of type [controller_manager/controller_spawner]: can't locate node [controller_spawner] in package [controller_manager]

and nothing appears in gazebo simulator. Although controller_manager is present at location : /opt/ros/indigo/share. How to fix that error ?