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

Nachum's profile - activity

2023-06-19 11:10:16 -0500 received badge  Famous Question (source)
2022-08-23 09:44:23 -0500 received badge  Notable Question (source)
2022-07-06 15:05:59 -0500 received badge  Notable Question (source)
2022-05-16 17:28:22 -0500 received badge  Notable Question (source)
2022-05-15 01:57:24 -0500 edited question Madgwick filter goes bad after big time jump

Madgwick filter goes bad after big time jump Hi Our robot doesn't have a permanent internet connection so when it is tur

2022-05-14 15:39:57 -0500 received badge  Popular Question (source)
2022-05-13 07:11:37 -0500 edited question Madgwick filter goes bad after big time jump

Madgwick filter goes bad after big time jump Hi Our robot doesn't have a permanent internet connection so when it is tur

2022-05-13 07:09:38 -0500 edited question Madgwick filter goes bad after big time jump

Madgwick filter goes bad after big time jump Hi Our robot doesn't have a permanent internet connection so when it is tur

2022-05-12 13:47:47 -0500 asked a question Madgwick filter goes bad after big time jump

Madgwick filter goes bad after big time jump Hi Our robot doesn't have a permanent internet connection so when it is tur

2022-01-24 03:24:40 -0500 received badge  Self-Learner (source)
2022-01-24 01:41:32 -0500 answered a question robot_localization angles diverge when robot is in high pitch

Thanks for all the help, problem was in configuration, imu0_differential: true the right configuration is imu0_differen

2022-01-19 11:36:36 -0500 received badge  Popular Question (source)
2022-01-19 09:17:19 -0500 commented question robot_localization angles diverge when robot is in high pitch

at high pitch there is a lot of slipping so wheel data isn't enough.

2022-01-19 08:26:58 -0500 commented question robot_localization angles diverge when robot is in high pitch

position and orientation motor data is wheel forward movement obviously we need to use the map but the problem here is

2022-01-19 08:22:54 -0500 edited question robot_localization angles diverge when robot is in high pitch

robot_localization angles diverge when robot is in high pitch Hi I'm using robot localization package for mapping which

2022-01-19 07:43:09 -0500 edited question robot_localization angles diverge when robot is in high pitch

robot_localization angles diverge when robot is in high pitch Hi I'm using robot localization package for mapping which

2022-01-19 04:10:23 -0500 asked a question robot_localization angles diverge when robot is in high pitch

robot_localization angles diverge when robot is in high pitch Hi I'm using robot localization package for mapping which

2022-01-19 04:10:21 -0500 asked a question robot_localization angles diverge when robot is in high pitch

robot_localization angles diverge when robot is in high pitch Hi I'm using robot localization package for mapping which

2022-01-14 08:11:07 -0500 marked best answer ros publisher not publishing in debug

Hi

I'm running my node in debug (vscode) and getting weird results. I have a loop which is publishing to a motor

while (std::abs(orientation.roll) > ROLL_FLAT_SURFACE)
{     
    ros::spinOnce();
    bla bla bla


    robotControlPublisher_.publish(motor_cmd_);
    ros::Duration(TIME_TO_SLEEP).sleep();


}

if I put a breakpoint before and after the loop and run in debug the publisher will publish. if I stop each iteration the publisher won't publish. how can I fix it? Thanks

2021-12-25 10:10:34 -0500 received badge  Notable Question (source)
2021-12-24 00:40:15 -0500 commented answer ros publisher not publishing in debug

TIME_TO_SLEEP =0.1

2021-12-24 00:35:57 -0500 commented answer ros publisher not publishing in debug

This command (ros::Duration(TIME_TO_SLEEP).sleep should have helped

2021-12-24 00:32:09 -0500 received badge  Popular Question (source)
2021-12-23 14:47:26 -0500 commented answer ros publisher not publishing in debug

I'm looking at the published topic no msgs are received

2021-12-23 01:20:53 -0500 commented question ros publisher not publishing in debug

put a breakpoint after ros::spinOnce(); press F5 to run to the next breakpoint

2021-12-22 14:01:36 -0500 asked a question ros publisher not publishing in debug

ros publisher not publishing in debug Hi I'm running my node in debug (vscode) and getting weird results. I have a loo

2021-12-12 02:57:21 -0500 commented question Odom frame initialized at 180 degrees to base_link

why did you change x to y (self.vx = msg.linear.y )?

2021-11-21 13:58:56 -0500 commented question robot_localization error in odometry with high pitch and tf wrong time

@janindu I tried it but i have an altitude measurement which I assume causes that velocity. all the nodes are on the sa

2021-11-17 09:50:35 -0500 received badge  Popular Question (source)
2021-11-17 05:52:00 -0500 commented question robot_localization error in odometry with high pitch and tf wrong time

let's assume a car, it only moves forward but I don't want to use 2d mode because it drives up a very steep angle so my

2021-11-17 01:58:13 -0500 edited question robot_localization error in odometry with high pitch and tf wrong time

robot_localization error in odometry with high pitch and tf Hi I have a robot that can move only on a plane (x-y body)

2021-11-16 14:43:41 -0500 edited question robot_localization error in odometry with high pitch and tf wrong time

error in odometry in robot_localization with high pitch Hi I have a robot that can move only on a plane (x-y body) but

2021-11-16 14:30:45 -0500 edited question robot_localization error in odometry with high pitch and tf wrong time

error in odometry in robot_localization with high pitch Hi I have a robot that can move only on a plane (x-y body) but

2021-11-16 14:29:38 -0500 asked a question robot_localization error in odometry with high pitch and tf wrong time

error in odometry in robot_localization with high pitch Hi I have a robot that can move only on a plane (x-y body) but

2021-09-02 01:37:17 -0500 received badge  Enthusiast
2021-09-02 01:37:17 -0500 received badge  Enthusiast
2021-08-31 02:38:30 -0500 marked best answer started roscore with different URI but when launched launch file a new ros core was started

Hi

I was trying to run on one machine two nodes in parallel, so I started the first node with "roscore" and on a different terminal a new roscore with

export ROS_MASTER_URI=http://localhost:11312 roscore --port 11312

but then when I launched a launch file it looked for the regular roscore

ROS_MASTER_URI=http://localhost:11311 saw it wasn't started in the terminal so stsrted it

How can I make my nodes run with the new roscore?

Thanks

2021-08-31 02:36:34 -0500 commented question started roscore with different URI but when launched launch file a new ros core was started

Thanks! solved the problem

2021-08-31 00:10:46 -0500 asked a question started roscore with different URI but when launched launch file a new ros core was started

started roscore with different URI but when launched launch file a new ros core was started Hi I was trying to run on o

2021-08-24 06:10:40 -0500 edited question rosbag play batch get notification when file changed

rosbag play batch get notification when file changed Hi I am trying to run a number of rosbags as a batch, how can I kn

2021-08-23 06:10:16 -0500 answered a question Callback function never stop subscribing

You should use "if" command. Until you publish something new you will see the same data published. To check if the data

2021-08-23 06:10:16 -0500 received badge  Rapid Responder (source)
2021-08-23 05:19:08 -0500 commented question Callback function never stop subscribing

why not use if? each msg will used once, the last value will stay published

2021-08-23 04:09:07 -0500 commented question Callback function never stop subscribing

do you want your callback to run until you get a new msg?

2021-08-23 03:48:01 -0500 asked a question rosbag play batch get notification when file changed

rosbag play batch get notification when file changed Hi I am trying to run a number of rosbags as a batch, how can I kno

2021-08-23 03:35:00 -0500 commented answer How to use rosbag play to paly multiple rosbags which are in a folder with a single command ?

Is there a way that I will have input that it is a new file?

2016-10-18 01:02:14 -0500 marked best answer trying to use get joint state with my urdf

hi i am trying to use the jointstates topic of pr2 for my own urdf file, i am not sure how should i start. how do i get my robot to publish on that topic? do i need to write a code for a publisher of my own? (very new in ros & c++)

thanks everyone

so now i found this link- http://ros.org/wiki/joint_state_publisher but istill don't understand how to work it. somehow these things aren't working for me :(

2016-09-15 17:01:01 -0500 marked best answer installing joint_state_publisher

Hi I am trying to install joint_state_publisher but it isn't working. how should it be done? i did this- sudo apt-get install ros-fuerte-JKU-Robotic-Stack and got error E: Unable to locate package ros-fuerte-JKU-Robotic-Stack i tried git https://github.com/AaronMR/JKU_Robotic_Stack.git and got error . how should it be done? Thanks Nachum

2015-11-02 02:01:28 -0500 marked best answer problem with plugin in gazebo

Hi i was trying to spawn again a urdf model that I spawned a lot allready but today it isn't recognizing the plugin

any ideas? the plugin that is doing it-

<gazebo>
    <controller:gazebo_ros_controller_manager name="gazebo_ros_controller_manager" plugin="libgazebo_ros_controller_manager.so">
      <alwaysOn>true</alwaysOn>
      <updateRate>1000.0</updateRate>
      <interface:audio name="gazebo_ros_controller_manager_dummy_iface" />
   </controller:gazebo_ros_controller_manager>
  </gazebo>

edit5: I made a different urdf file and it wasn't willing to spawn it either.

can i get this plugin to work a different way?

Thanks

yesterday it did work fine

edit4: I reinstalled all of ros and it still isn't spawning i am getting this message-- Dbg plugin model name: bob

[ INFO] [1347535810.546163240, 391.723000000]: starting gazebo_ros_controller_manager plugin in ns: /
[ INFO] [1347535810.546328843, 391.723000000]: Callback thread id=0x7f2a0c10f010

How should i get it to work??

the error is

Error [Plugin.hh:101] Failed to load plugin libgazebo_ros_controller_manager.so: libgazebo_ros_controller_manager.so: cannot open shared object file: No such file or directory

edit1: i was able to copy that file into the directory, somehow i have two directories of pr2_gazebo_plugins. now it doesn't say it can't find the plugin, just writes -- loading model xml from file

[INFO] [WallTime: 1347451924.654210] [0.000000] waiting for service /gazebo/spawn_urdf_model

w/o nothing happening. am I missing files? (gazebo spawns other models like pr2 etc.)

edit2: If I first did --roslaunch pr2_examples_gazebo single_link.launch-- then exited and then again launched gazebo, it was able to spawn the model but the topic about joint states thought that my joint was the same as the single link model.

edit3: I did these commands--

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install --reinstall ros-fuerte-pr2-simulator

and the same thing happened, the model is not spawned.

Thanks

Nachum

2015-08-31 20:55:16 -0500 marked best answer Error when loading joint controller

Hi I am trying to load a real time joint controller as in the tutorial http://www.ros.org/wiki/pr2_mechanism/Tutorials/Running%20a%20realtime%20joint%20controller when i write rosrun pr2_controller_manager pr2_controller_manager list-types i find my controller.

rosrun pr2_controller_manager pr2_controller_manager list-types
JointGravityController
JointPendulumController
MyControllerCart
ethercat_trigger_controllers/MultiTriggerController
ethercat_trigger_controllers/ProjectorController
ethercat_trigger_controllers/TriggerController
my_controller_pkg/MyControllerPlugin

but when i try to run it by -- rosrun pr2_controller_manager pr2_controller_manager load my_controller_ns i get an error [

    [ WARN] [1348483742.077905347, 5304.895000000]: The deprecated controller type MyControllerPlugin was not found.  Using the namespaced version my_controller_pkg/MyControllerPlugin instead.  Please update your configuration to use the namespaced version.
[ERROR] [1348483742.078175612, 5304.896000000]: Could not load class my_controller_pkg/MyControllerPlugin: Failed to load library /home/nachum/my_controller_pkg/lib/libmy_controller_lib.so. Make sure that you are calling the PLUGINLIB_REGISTER_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Cannot load library: No manifest in /home/nachum/my_controller_pkg/lib/libmy_controller_lib.so: my_controller_pkg__MyControllerPlugin
[ERROR] [1348483742.078288739, 5304.896000000]: Could not load controller 'my_controller_ns' because controller type 'my_controller_pkg/MyControllerPlugin' does not exist

any ideas what am i doing wrong? Thanks

Nachum