Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all 1516 articles
Browse latest View live

ERROR: can't locate node in package [gazebo_ros]

$
0
0
Hello~ I'm new in ROS and am learning it by the tutorials.However,there were some errors when I followed the [Tutorial: Using a URDF in Gazebo](http://gazebosim.org/tutorials/?tut=ros_urdf). Everthing is normal until I ran the the command: roslaunch rrbot_gazebo rrbot_world.launch ![image description](/upfiles/14962325128104838.png) However, it seems I can start gazebo by command line. ![image description](/upfiles/1496232962215369.png) Thanks a lot for your help!

Prismatic joint with PositionJointInterface interferes with Gazebo physics

$
0
0
I working on a simulation model of a forklift using ROS control and Gazebo. I'm using a prismatic joint to simulate the piston moving the forks up and down. Since I added a PositionJointInterface to the joint transmission I have been having issues with the physics. It seams to fix the joint in place. If I put the forklift in the air it hangs there, swinging by the joint, instead of falling down. This does not happen if I use the VelocityJointInterface or EffortJointInterface. Is this a bug or am I using the position controller incorrectly? Forklift refusing to fall Here is the transmission transmission_interface/SimpleTransmissionPositionJointInterfacePositionJointInterface1 Here is the joint and link definition

Hector sonar implementation on a Pioneer 3DX

$
0
0
Hello, I'm working on a simulation of two Pioneer-3DX robots on Gazebo. (Debian Stretch / Gazebo 7 / ROS Kinetic) I'm trying to implement sonar readings with Hector_sonar (to make one robot follow the other) but it seems like it doesn't work. The problem I face is that I don't get any range/sonar display on rviz and the range I get from the sonar is always the same, even when the p3dx is alone with nothing around it (range moves between 0.04 and 0.05 which is not really what I would expect). Here's how I did : I cloned in my catkin_ws/src : https://github.com/tu-darmstadt-ros-pkg/hector_models I used https://github.com/tu-darmstadt-ros-pkg/hector_models/blob/groovy-devel/hector_sensors_description/urdf/sonar_sensor.urdf.xacro from hector_models package to make my pioneer3dx_sonar.xacro : true${update_rate}0 0 0 0 0 0false${ray_count}1-${field_of_view/2} ${field_of_view/2}${ray_count}1-${field_of_view/2} ${field_of_view/2}${min_range}${max_range}0.010.005${ros_topic}${name}_link Ten I added into my pioneer3dx.xacro a line to call the previous file : And I obviously deleted how the sonar was defined before. (There was only a model with joint and link and nothing to actually make use of the sonar) If someone could figure out how to make this work with these informations, I'd be really thankful. If you need to know more and these aren't enough, just let me know. Hdifsttar **Edit 1 :** I changed the min value of the sonar range(=0.7) and the range changed to oscillate between the min range(=0.7) and the min range +0.04 (=0.74). Seems like the data I get from the sonar is only the gaussian noise produced in the plugin. So, I think I get 0 from the sonar and the rest is up to the noise. **Edit 2:** I changed the min value and i still got 0.7 from the sonar. The value I got from the sonar (0.74) and the value min I set (0.7) was just a coincidence. The sonar is now working just because i changed the min value from 0.01 to 0.08. Don't know how to explain that. I still can't see any sonar on Rviz though. **Edit 3:** I fixed Rviz, it was just a mistake of topic selected, my bad. I'm closing the topic since I got my answers, feel free to pm me if you ever encounter any problems like that, or want to do the same thing.

Synchronous communication with gazebo

$
0
0
Hi, I am trying to implement a robot controller using ros + gazebo - So, what I want it to tell gazebo a particular command and then gazebo should return the state after 1 second. And after that it should pause itself.Now, I do some processing and again give a command - and it should again run for only 1 second. I need my actions to be used for equal amounts of time.

Source build of Ros Lunar Gazebo / Husky on Debian Stretch

$
0
0
Attempting to make and launch Husky in gazebo simulator. jeffa@lunar:~$ uname -a Linux lunar 4.9.0-2-amd64 #1 SMP Debian 4.9.18-1 (2017-03-30) x86_64 GNU/Linux jeffa@lunar:~$ root@lunar:/etc/apt/sources.list.d# cat ros-latest.list deb http://packages.ros.org/ros/ubuntu stretch main I followed the directions Debian install of ROS Lunar `apt-get install ros-lunar-desktop-full` This is on an old HP tx2000. I make husky / gazebo by downloading source, eventually I get a clean build. Some of the packages I used seemed pretty old. Wherever possible I attempted to use the lunar branch of the git repositories. jeffa@lunar:~/catkin_ws/src$ ll total 4 drwxr-xr-x 4 jeffa jeffa 4096 May 28 12:44 beginner_tutorials lrwxrwxrwx 1 jeffa jeffa 48 May 28 04:48 CMakeLists.txt -> /opt/ros/lunar/share/catkin/cmake/toplevel.cmake lrwxrwxrwx 1 jeffa jeffa 37 Jun 3 18:44 cpr_multimaster_tools -> /home/jeffa/git/cpr_multimaster_tools lrwxrwxrwx 1 jeffa jeffa 31 Jun 4 00:11 gazebo_ros_pkgs -> /home/jeffa/git/gazebo_ros_pkgs lrwxrwxrwx 1 jeffa jeffa 31 Jun 3 19:17 geographic_info -> /home/jeffa/git/geographic_info lrwxrwxrwx 1 jeffa jeffa 21 Jun 3 18:31 husky -> /home/jeffa/git/husky lrwxrwxrwx 1 jeffa jeffa 47 Jun 3 22:12 interactive_marker_twist_server -> /home/jeffa/git/interactive_marker_twist_server lrwxrwxrwx 1 jeffa jeffa 22 Jun 3 19:47 lms1xx -> /home/jeffa/git/lms1xx lrwxrwxrwx 1 jeffa jeffa 32 Jun 3 20:22 multimaster_fkie -> /home/jeffa/git/multimaster_fkie lrwxrwxrwx 1 jeffa jeffa 31 Jun 3 19:09 navigation_msgs -> /home/jeffa/git/navigation_msgs lrwxrwxrwx 1 jeffa jeffa 34 Jun 3 19:13 robot_localization -> /home/jeffa/git/robot_localization lrwxrwxrwx 1 jeffa jeffa 24 Jun 3 20:44 ros_comm -> /home/jeffa/git/ros_comm lrwxrwxrwx 1 jeffa jeffa 29 Jun 1 13:29 ros_tutorials -> /home/jeffa/git/ros_tutorials lrwxrwxrwx 1 jeffa jeffa 38 Jun 3 12:48 teleop_twist_keyboard -> /home/jeffa/git/teleop_twist_keyboard/ lrwxrwxrwx 1 jeffa jeffa 25 Jun 3 22:23 twist_mux -> /home/jeffa/git/twist_mux lrwxrwxrwx 1 jeffa jeffa 34 Jun 3 19:20 unique_identifier -> /home/jeffa/git/unique_identifier/ jeffa@lunar:~/catkin_ws/src$ At this point it's built and runs, that is the husky model appears in gazebo. I invoke it as follows. - Sometimes I runt it twice with it loading the model sporadically. This line looks suspicious and the long indicates "ontroller Spawner couldn't find the expected controller_manager ROS interface." I have read a couple answers on this forum that were helpful, but I haven't solved this for myself. Any additional insight for me, or additional trouble shooting suggestions? The .launch file Controller Spawner couldn't find the expected controller_manager ROS interface. [WARN] [1496710736.318317, 0.000000]: Master_discovery node appear not to running. Wait for topic with type 'MasterState. [gazebo-2] process has died [pid 6074, exit code 255, cmd /home/jeffa/catkin_ws/src/gazebo_ros_pkgs/gazebo_ros/scripts/gzserver -e ode worlds/empty.world __name:=gazebo __log:=/home/jeffa/.ros/log/4a86cdbc-4a53-11e7-a002-00210051c57a/gazebo-2.log]. log file: /home/jeffa/.ros/log/4a86cdbc-4a53-11e7-a002-00210051c57a/gazebo-2*.log [WARN] [1496710772.655472, 0.000000]: Controller Spawner couldn't find the expected controller_manager ROS interface. From the base_controller_spawner-9.log [rospy.client][INFO] 2017-06-05 17:59:02,256: init_node, name[/base_controller_spawner], pid[6098] [xmlrpc][INFO] 2017-06-05 17:59:02,266: XML-RPC server binding to 0.0.0.0:0 [rospy.init][INFO] 2017-06-05 17:59:02,271: ROS Slave URI: [http://lunar:35231/] [xmlrpc][INFO] 2017-06-05 17:59:02,272: Started XML-RPC server [http://lunar:35231/] [rospy.impl.masterslave][INFO] 2017-06-05 17:59:02,272: _ready: http://lunar:35231/ [xmlrpc][INFO] 2017-06-05 17:59:02,294: xml rpc node: starting XML-RPC server [rospy.registration][INFO] 2017-06-05 17:59:02,298: Registering with master node http://localhost:11311 [rospy.init][INFO] 2017-06-05 17:59:02,372: registered with master [rospy.rosout][INFO] 2017-06-05 17:59:02,373: initializing /rosout core topic [rospy.rosout][INFO] 2017-06-05 17:59:02,396: connected to core topic /rosout [rospy.simtime][INFO] 2017-06-05 17:59:02,411: initializing /clock core topic [rospy.simtime][INFO] 2017-06-05 17:59:02,446: connected to core topic /clock [rosout][INFO] 2017-06-05 17:59:02,476: Controller Spawner: Waiting for service controller_manager/load_controller [rospy.internal][INFO] 2017-06-05 17:59:02,615: topic[/rosout] adding connection to [/rosout], count 0 [rosout][WARNING] 2017-06-05 17:59:32,655: Controller Spawner couldn't find the expected controller_manager ROS interface. [rospy.core][INFO] 2017-06-05 17:59:32,656: signal_shutdown [atexit] [rospy.internal][INFO] 2017-06-05 17:59:32,690: topic[/rosout] removing connection to /rosout [rospy.impl.masterslave][INFO] 2017-06-05 17:59:32,693: atexit Fire it up with roslaunch jeffa@lunar:~$ source ~/catkin_ws/devel/setup.bash jeffa@lunar:~$ export HUSKY_GAZEBO_DESCRIPTION=$(rospack find husky_gazebo)/urdf/description.gazebo.xacro jeffa@lunar:~$ export GAZEBO_RESOURCE_PATH=/home/jeffa/git/gazebo_ros_pkgs/gazebo_plugins/test2/worlds/ jeffa@lunar:~$ roslaunch husky_gazebo husky_empty_world.launch ... logging to /home/jeffa/.ros/log/c362956c-4a13-11e7-b2f8-00210051c57a/roslaunch-lunar-592.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://lunar:44261/ SUMMARY ======== PARAMETERS * /ekf_localization/base_link_frame: base_link * /ekf_localization/frequency: 50 * /ekf_localization/imu0: imu/data * /ekf_localization/imu0_config: [False, False, Fa... * /ekf_localization/imu0_differential: True * /ekf_localization/imu0_queue_size: 10 * /ekf_localization/imu0_remove_gravitational_acceleration: True * /ekf_localization/odom0: husky_velocity_co... * /ekf_localization/odom0_config: [False, False, Fa... * /ekf_localization/odom0_differential: False * /ekf_localization/odom0_queue_size: 10 * /ekf_localization/odom_frame: odom * /ekf_localization/two_d_mode: True * /ekf_localization/world_frame: odom * /export_relay/actions: [{'action': 'move... * /export_relay/global_frames: ['map', 'world'] * /export_relay/prefix_operation: add * /export_relay/services: [{'type': 'robot_... * /export_relay/tf_prefix: robot * /export_relay/to: /public/robot * /export_relay/topics: [{'topic': 'odome... * /husky_joint_publisher/publish_rate: 50 * /husky_joint_publisher/type: joint_state_contr... * /husky_velocity_controller/angular/z/has_acceleration_limits: True * /husky_velocity_controller/angular/z/has_velocity_limits: True * /husky_velocity_controller/angular/z/max_acceleration: 6.0 * /husky_velocity_controller/angular/z/max_velocity: 2.0 * /husky_velocity_controller/base_frame_id: base_link * /husky_velocity_controller/cmd_vel_timeout: 0.25 * /husky_velocity_controller/enable_odom_tf: False * /husky_velocity_controller/estimate_velocity_from_position: False * /husky_velocity_controller/left_wheel: ['front_left_whee... * /husky_velocity_controller/linear/x/has_acceleration_limits: True * /husky_velocity_controller/linear/x/has_velocity_limits: True * /husky_velocity_controller/linear/x/max_acceleration: 3.0 * /husky_velocity_controller/linear/x/max_velocity: 1.0 * /husky_velocity_controller/pose_covariance_diagonal: [0.001, 0.001, 0.... * /husky_velocity_controller/publish_rate: 50 * /husky_velocity_controller/right_wheel: ['front_right_whe... * /husky_velocity_controller/twist_covariance_diagonal: [0.001, 0.001, 0.... * /husky_velocity_controller/type: diff_drive_contro... * /husky_velocity_controller/wheel_radius_multiplier: 1.0 * /husky_velocity_controller/wheel_separation_multiplier: 1.875 * /import_relay/from: /public/robot * /import_relay/global_frames: ['map', 'world'] * /import_relay/prefix_operation: remove * /import_relay/tf_prefix: robot * /import_relay/topics: [{'topic': 'cmd_v... * /master_sync/sync_services: ['/public*', '/si... * /master_sync/sync_topics: ['/public*', '/si... * /robot_description: exists due to fixed joint reduction overwriting previous value [true] with [false]. Unhandled exception in thread started by sys.excepthook is missing lost sys.stderr [spawn_husky_model-14] process has finished cleanly log file: /home/jeffa/.ros/log/c362956c-4a13-11e7-b2f8-00210051c57a/spawn_husky_model-14*.log [ INFO] [1496683463.504600206, 0.024000000]: waitForService: Service [/gazebo/set_physics_properties] is now available. [ INFO] [1496683465.750582417, 0.318000000]: Physics dynamic reconfigure ready. Segmentation fault [gazebo-2] process has died [pid 642, exit code 139, cmd /home/jeffa/catkin_ws/src/gazebo_ros_pkgs/gazebo_ros/scripts/gzserver -e ode worlds/empty.world __name:=gazebo __log:=/home/jeffa/.ros/log/c362956c-4a13-11e7-b2f8-00210051c57a/gazebo-2.log]. log file: /home/jeffa/.ros/log/c362956c-4a13-11e7-b2f8-00210051c57a/gazebo-2*.log [WARN] [1496683481.958125, 0.459000]: Controller Spawner couldn't find the expected controller_manager ROS interface. Unhandled exception in thread started by sys.excepthook is missing lost sys.stderr [base_controller_spawner-9] process has finished cleanly log file: /home/jeffa/.ros/log/c362956c-4a13-11e7-b2f8-00210051c57a/base_controller_spawner-9*.log

simulated stereo camera fails when remapping topics

$
0
0
Dear all, I'm trying to simulate the Multisense SL device in Gazebo. I've started by modifying the plugin available here: https://bitbucket.org/osrf/drcsim/src/194be8500fef81593f79607a21ee2badd9700a0e/drcsim_gazebo_ros_plugins/src/?at=default The Gazebo-related URDF is the following: 0.90.90.90.90.90.90.90.910 0 0 0 0 0false4010811-2.3561942.3561940.1030.00.01gaussian0.00.0${prefix}/lidar_scan${prefix}/head_hokuyo_frame10.01.396263410241024R8G8B80.02300gaussian0.00.0070 -0.07 0 0 0 01.396263410241024R8G8B80.02300gaussian0.00.007true10.0${prefix}/cameraimage_colorcamera_info${prefix}/left_camera_optical_frame${prefix}/right_camera_optical_frame0.070.00.00.00.00.011000.0gaussian0.02e-40.00000750.00000080.01.7e-20.10.001${robot_name} To simulate the stereo, I need to run the stereo imageproc node from ROS, which needs a remap from the name "image_raw" (standard for the node) to "image_color" (standard name for Multisense real hardware). The code is the following: When I run the two, I get more than 600 Hz for the `/multisense/camera/left/image_color` topic (despite the update rate is set at 10 Hz), while for the `/multisense/camera/points2` I get 0.2 Hz. If I put `image_raw` in both files, I correctly get 10 Hz for both topics. Any suggestions? I'm running the simulation on Gazebo 2.2 with Indigo and Ubuntu 14.04.

Not getting all roslaunch turtlebot_ packages

$
0
0
Hi, I am following a ROS download tutorial and currently trying to get turtlebot working. Just for reference, I am on Ubuntu 16.04 and using ROS Kinetic. The tutorial says that when I enter "roslaunch turtlebot_ (tab)(tab)" I should see many (17 to be exact) packages including turtlebot_gazebo. When I run this, I see only 4: bringup, capabilities, description, and teleop. Does anyone know how I can get gazebo and the rest? Thanks!

TF error after updating Gazebo

$
0
0
Hello! I am using ROS Kinetic on Ubuntu 16.04. I had a running implementation of the navigation stack (amcl/gmapping) and I was performing the simulations using Gazebo 7. I upgraded to Gazebo 8 to add animated obstacles (humans/other robots) and ever since I did that, I am seeing the following error when I launch the AMCL launch file: > Timed out waiting for transform from base_link to map to become available before running costmap, tf error: . canTransform returned after 0.101 timeout was 0.1. When I run 'rosrun tf view_frames', the resulting pdf shows 'no tf data received'. I am unsure what to do since everything was working perfectly until I updated Gazebo. Please help!

Simulating a Structured Light Sensor in Gazebo

$
0
0
Hello, I am in the process of working on a system that will end up using a structured light sensor similar to the one being depicted in the image below, and I was wondering what the best way to simulate this sensor in Gazebo was/if it already has been. One idea was to take two depth camera's and AND their pointclouds together, that way if one of the cameras were obstructed or part of either's FOV was obstructed, it would cast a shadow. Looking for input and help to ensure we have as realistic of a simulation as possible. Thanks in advance! ![image description](https://courseware.ee.calpoly.edu/~fdepiero/fdepiero_research/gif/PRIME_sl_tri.gif)

Robot "Headlights" in Gazebo

$
0
0
Is it possible to include headlights (or any type of mounted lighting fixture) on your robot model in Gazebo?

Publishing problem with gazebo using trajectory_msgs

$
0
0
Hi everyone, I'm working on arm robotic, first, i wrote a physical model of the arm with a URDF files. This model work with Rviz and Gazebo. Moreover, i created a controllers.yaml file (for controls all robot's joints) and when I use the command : `rostopic pub /arm_controller/command trajectory_msgs/JointTrajectory '{joint_names: ["hip","shoulder","elbow","wrist"], points: [{positions:[0.1,-0.5,0.5,0.75], time_from_start: [1.0,0.0]}]}' -1` both models (on rivz and gazebo) move simultaneously. But now, I want to create a .cpp file for the arm to move independently by using trajectory_msgs::JointTrajectory. Here's my cpp file : #include #include ros::Publisher arm_pub; int main(int argc, char** argv) { ros::init(argc, argv, "state_publisher"); ros::NodeHandle n; arm_pub = n.advertise("/arm_controller/command",1); trajectory_msgs::JointTrajectory traj; traj.header.stamp = ros::Time::now(); traj.header.frame_id = "base_link"; traj.joint_names.resize(4); traj.points.resize(4); traj.joint_names[0] ="hip"; traj.joint_names[1] ="shoulder"; traj.joint_names[2] ="elbow"; traj.joint_names[3] ="wrist"; while(ros::ok()){ for(int i=0;i<4;i++) { int j = i%3; trajectory_msgs::JointTrajectoryPoint points_n; points_n.positions.push_back(j+0.1); points_n.positions.push_back(j+0.3); points_n.positions.push_back(j+0.3); points_n.positions.push_back(j); traj.points.push_back(points_n); traj.points[i].time_from_start = ros::Duration(1.0,0.0); } arm_pub.publish(traj); ros::spinOnce(); } return 0; } When i launch my file.launch and I rosrun my cpp file, both are connected on rqt_graph. But immediately, i have an error (on launch terminal) : > [ERROR] [1497596211.214814221, 9.889000000]: Trajectory message contains waypoints that are not strictly increasing in time. Effectively, when i use the command `rostopic echo /arm_controller/command`, i have : `positions: [0.0, 1.0, 0.0, 2.0] velocities: [] accelerations: [] effort: [] time_from_start: secs: 0 nsecs: 0` The time_from_start is always 0. So, I think i've a problem in my code but i don't know where. Does anyone have an idea what is wrong? Thank you.

Why does my robot skid ?

$
0
0
Hi all. I have a simple robot (like a car) but when it rolls it skids and I don't want it I tried : - Decrease / increase mass - Set mu1 and mu2 of every links to Inf - Set mu1 and mu2 of my world ground plane to inf Joint between motor and wheel : true Here is a video to illustrate my problem : https://youtu.be/O--KlG6fj5s In the video I publish : rostopic pub /robot/left_wheel_traction_controller/command std_msgs/Float64 "data : 5.0" (5.0 rad/s on wheel) rostopic pub /robot/right_wheel_traction_controller/command std_msgs/Float64 "data : 5.0" (5.0 rad/s on wheel) Does someone have an idea why the robot is sliping ?

Quadricopter using ROS (rosjava) and Gazebo

$
0
0
Does anyone know of any quadricoptero implemented in Java and that can be used with ROS and GAZEBO?

Spawning multiple robots with diff_drive_controller

$
0
0
**Target:** I am trying to spawn multiple robots in Gazebo and also using ros_control, for this I group each one like in the launch files bellow. **Problem(s):** No odometry, tf points to only one robot: base_link, no control on the joints and one_robot.launch looks like So everything works if i have just one robot and no grouping. I can get the odometry and the controller can control the joints. After I add the groups the odom frame is no longer published. The cmd_vel is but does not work. Also the topic looks like `/robot1/robot1/diff_drive_controller/cmd_vel,` so adding at the namespace the name of the model too. I would like to see the robots in gazebo and rviz. I also get these errors [ERROR] [1497949872.152710755, 0.048000000]: Tried to advertise a service that is already advertised in this node [/controller_manager/list_controllers] [ERROR] [1497949872.154815513, 0.048000000]: Tried to advertise a service that is already advertised in this node [/controller_manager/list_controller_types] [ERROR] [1497949872.154982735, 0.048000000]: Tried to advertise a service that is already advertised in this node [/controller_manager/load_controller] [ERROR] [1497949872.155112475, 0.048000000]: Tried to advertise a service that is already advertised in this node [/controller_manager/unload_controller] [ERROR] [1497949872.155239819, 0.048000000]: Tried to advertise a service that is already advertised in this node [/controller_manager/switch_controller] [ERROR] [1497949872.155365523, 0.048000000]: Tried to advertise a service that is already advertised in this node [/controller_manager/reload_controller_libraries]

teb local planner - min obstacle height to put in local cost map

$
0
0
Is there a parameter that lets me specify the min height of the obstacle to put in the teb local planner,like there is with Trajectory planner ROS?

Moving model out of origin gives error

$
0
0
I'm trying to move hector_quadrotor from origin to position `(-12.0, -1, 0)` in the world. The hector_quadrotor model is made of many parts. One of them, is the `sonar sensor`. My code to place it in the word follows: However, I got the error: propulsion model input contains **!?* Nan values! drag model input contains **!?* Nan values! The code to the sensor is this link https://github.com/tu-darmstadt-ros-pkg/hector_models/blob/groovy-devel/hector_sensors_description/urdf/sonar_sensor.urdf.xacro

ROS real robot

$
0
0
I'm very new to ROS I'm using ROS indigo.I have simulated an arm in gazebo and able to control it from rviz using motion planning I used Moveit setup assistant tool.Now i have so many topics on my **rostopic list** I now want to control a real arm.What has to be done for that. I'm using arduino to control the servos using rosserial. What topic should i listen to ? How to convert the trajectories to angles for controlling servos ? [C:\fakepath\topics_1.png](/upfiles/1498049520141679.png) [C:\fakepath\Topics_2.png](/upfiles/14980495298434908.png)

Cannot connect mavros to gazebo

$
0
0
xacro: Traditional processing is deprecated. Switch to --inorder processing! To check for compatibility of your document, use option --check-order. For more infos, see http://wiki.ros.org/xacro#Processing_Order xacro.py is deprecated; please use xacro instead started roslaunch server http://ECPC:45272/ SUMMARY ======== CLEAR PARAMETERS * /mavros/ PARAMETERS * /mavros/cmd/use_comp_id_system_control: False * /mavros/conn/heartbeat_rate: 1.0 * /mavros/conn/system_time_rate: 1.0 * /mavros/conn/timeout: 10.0 * /mavros/conn/timesync_rate: 10.0 * /mavros/distance_sensor/hrlv_ez4_pub/field_of_view: 0.0 * /mavros/distance_sensor/hrlv_ez4_pub/frame_id: hrlv_ez4_sonar * /mavros/distance_sensor/hrlv_ez4_pub/id: 0 * /mavros/distance_sensor/hrlv_ez4_pub/orientation: ROLL_180 * /mavros/distance_sensor/hrlv_ez4_pub/send_tf: True * /mavros/distance_sensor/hrlv_ez4_pub/sensor_position/x: 0.0 * /mavros/distance_sensor/hrlv_ez4_pub/sensor_position/y: 0.0 * /mavros/distance_sensor/hrlv_ez4_pub/sensor_position/z: -0.1 * /mavros/distance_sensor/laser_1_sub/id: 3 * /mavros/distance_sensor/laser_1_sub/orientation: ROLL_180 * /mavros/distance_sensor/laser_1_sub/subscriber: True * /mavros/distance_sensor/lidarlite_pub/field_of_view: 0.0 * /mavros/distance_sensor/lidarlite_pub/frame_id: lidarlite_laser * /mavros/distance_sensor/lidarlite_pub/id: 1 * /mavros/distance_sensor/lidarlite_pub/orientation: ROLL_180 * /mavros/distance_sensor/lidarlite_pub/send_tf: True * /mavros/distance_sensor/lidarlite_pub/sensor_position/x: 0.0 * /mavros/distance_sensor/lidarlite_pub/sensor_position/y: 0.0 * /mavros/distance_sensor/lidarlite_pub/sensor_position/z: -0.1 * /mavros/distance_sensor/sonar_1_sub/id: 2 * /mavros/distance_sensor/sonar_1_sub/orientation: ROLL_180 * /mavros/distance_sensor/sonar_1_sub/subscriber: True * /mavros/fcu_url: udp://localhost:1... * /mavros/gcs_url: udp://localhost:1... * /mavros/global_position/frame_id: fcu * /mavros/global_position/rot_covariance: 99999.0 * /mavros/global_position/tf/child_frame_id: fcu_utm * /mavros/global_position/tf/frame_id: local_origin * /mavros/global_position/tf/send: False * /mavros/image/frame_id: px4flow * /mavros/imu/angular_velocity_stdev: 0.000349065850399 * /mavros/imu/frame_id: fcu * /mavros/imu/linear_acceleration_stdev: 0.0003 * /mavros/imu/magnetic_stdev: 0.0 * /mavros/imu/orientation_stdev: 1.0 * /mavros/local_position/frame_id: fcu * /mavros/local_position/tf/child_frame_id: fcu * /mavros/local_position/tf/frame_id: local_origin * /mavros/local_position/tf/send: False * /mavros/local_position/tf/send_fcu: False * /mavros/mission/pull_after_gcs: True * /mavros/mocap/use_pose: True * /mavros/mocap/use_tf: False * /mavros/odometry/estimator_type: 3 * /mavros/plugin_blacklist: ['safety_area', '... * /mavros/plugin_whitelist: [] * /mavros/px4flow/frame_id: px4flow * /mavros/px4flow/ranger_fov: 0.0 * /mavros/px4flow/ranger_max_range: 5.0 * /mavros/px4flow/ranger_min_range: 0.3 * /mavros/safety_area/p1/x: 1.0 * /mavros/safety_area/p1/y: 1.0 * /mavros/safety_area/p1/z: 1.0 * /mavros/safety_area/p2/x: -1.0 * /mavros/safety_area/p2/y: -1.0 * /mavros/safety_area/p2/z: -1.0 * /mavros/setpoint_accel/send_force: False * /mavros/setpoint_attitude/reverse_throttle: False * /mavros/setpoint_attitude/tf/child_frame_id: attitude * /mavros/setpoint_attitude/tf/frame_id: local_origin * /mavros/setpoint_attitude/tf/listen: False * /mavros/setpoint_attitude/tf/rate_limit: 10.0 * /mavros/setpoint_position/tf/child_frame_id: setpoint * /mavros/setpoint_position/tf/frame_id: local_origin * /mavros/setpoint_position/tf/listen: False * /mavros/setpoint_position/tf/rate_limit: 50.0 * /mavros/startup_px4_usb_quirk: True * /mavros/sys/disable_diag: False * /mavros/sys/min_voltage: 10.0 * /mavros/target_component_id: 1 * /mavros/target_system_id: 1 * /mavros/tdr_radio/low_rssi: 40 * /mavros/time/time_ref_source: fcu * /mavros/time/timesync_avg_alpha: 0.6 * /mavros/time/timesync_mode: MAVLINK * /mavros/vibration/frame_id: vibration * /mavros/vision_pose/tf/child_frame_id: vision * /mavros/vision_pose/tf/frame_id: local_origin * /mavros/vision_pose/tf/listen: False * /mavros/vision_pose/tf/rate_limit: 10.0 * /mavros/vision_speed/listen_twist: False * /robot_description: This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see:. Find the GDB manual and other documentation resources online at:. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from gzserver...(no debugging symbols found)...done. [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [ INFO] [1498053724.694860308]: Plugin ftp initialized [ INFO] [1498053724.695010211]: Plugin global_position loaded [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [ INFO] [1498053724.702242094]: Plugin global_position initialized [ INFO] [1498053724.702381087]: Plugin hil_actuator_controls loaded [ INFO] [1498053724.702967454]: Plugin hil_actuator_controls initialized [ INFO] [1498053724.703068271]: Plugin hil_controls loaded [ INFO] [1498053724.703587555]: Plugin hil_controls initialized [ INFO] [1498053724.703691732]: Plugin home_position loaded [ INFO] [1498053724.706892087]: Plugin home_position initialized [ INFO] [1498053724.707017724]: Plugin imu_pub loaded [ INFO] [1498053724.713092120]: Plugin imu_pub initialized [ INFO] [1498053724.713282003]: Plugin local_position loaded [ INFO] [1498053724.717959610]: Plugin local_position initialized [ INFO] [1498053724.718107920]: Plugin manual_control loaded [ INFO] [1498053724.718637743]: Plugin manual_control initialized [ INFO] [1498053724.718745870]: Plugin mocap_fake_gps loaded [ INFO] [1498053724.720883291]: Plugin mocap_fake_gps initialized [ INFO] [1498053724.720971476]: Plugin mocap_pose_estimate loaded [ INFO] [1498053724.724442534]: Plugin mocap_pose_estimate initialized [ INFO] [1498053724.724545602]: Plugin odom loaded [ INFO] [1498053724.727198224]: Plugin odom initialized [ INFO] [1498053724.727362703]: Plugin param loaded [ INFO] [1498053724.730051174]: Plugin param initialized [ INFO] [1498053724.730248541]: Plugin px4flow loaded [ INFO] [1498053724.734537682]: Plugin px4flow initialized [ INFO] [1498053724.734700249]: Plugin rc_io loaded [ INFO] [1498053724.737583554]: Plugin rc_io initialized [ INFO] [1498053724.737606431]: Plugin safety_area blacklisted [ INFO] [1498053724.737732150]: Plugin setpoint_accel loaded [ INFO] [1498053724.740118520]: Plugin setpoint_accel initialized [ INFO] [1498053724.740227414]: Plugin setpoint_attitude loaded [ INFO] [1498053724.749577354]: Plugin setpoint_attitude initialized [ INFO] [1498053724.749729720]: Plugin setpoint_position loaded [ INFO] [1498053724.754295513]: Plugin setpoint_position initialized [ INFO] [1498053724.754452886]: Plugin setpoint_raw loaded [ INFO] [1498053724.762059394]: Plugin setpoint_raw initialized [ INFO] [1498053724.762215932]: Plugin setpoint_velocity loaded [ INFO] [1498053724.766491023]: Plugin setpoint_velocity initialized [ INFO] [1498053724.766711849]: Plugin sys_status loaded [ INFO] [1498053724.771686421]: Plugin sys_status initialized [ INFO] [1498053724.771809220]: Plugin sys_time loaded [ INFO] [1498053724.774507793]: TM: Timesync mode: MAVLINK [ INFO] [1498053724.775499621]: Plugin sys_time initialized [ INFO] [1498053724.775610451]: Plugin vfr_hud loaded [ INFO] [1498053724.776870780]: Plugin vfr_hud initialized [ INFO] [1498053724.776900540]: Plugin vibration blacklisted [ INFO] [1498053724.777010180]: Plugin vision_pose_estimate loaded [INFO] [1498053724.782402, 0.000000]: Tiempo antes de arming: 0 segundos [ INFO] [1498053724.786024546]: Plugin vision_pose_estimate initialized [ INFO] [1498053724.786170495]: Plugin vision_speed_estimate loaded [ INFO] [1498053724.788728078]: Plugin vision_speed_estimate initialized [ INFO] [1498053724.788865202]: Plugin waypoint loaded [ INFO] [1498053724.792267034]: Plugin waypoint initialized [ INFO] [1498053724.792321800]: Autostarting mavlink via USB on PX4 [ INFO] [1498053724.792446899]: Built-in SIMD instructions: SSE, SSE2 [ INFO] [1498053724.792468670]: Built-in MAVLink package version: 2017.6.6 [ INFO] [1498053724.792490682]: Known MAVLink dialects: common ardupilotmega ASLUAV autoquad matrixpilot paparazzi slugs standard uAvionix ualberta [ INFO] [1498053724.792509370]: MAVROS started. MY ID 1.240, TARGET ID 1.1 [INFO] [1498053724.816312, 0.000000]: Loading model xml from ros parameter [INFO] [1498053724.818444, 0.000000]: Waiting for service /gazebo/spawn_urdf_model [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [New Thread 0x7fffcebda700 (LWP 712)] Gazebo multi-robot simulator, version 7.8.1 Copyright (C) 2012 Open Source Robotics Foundation. Released under the Apache 2 License. http://gazebosim.org [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [New Thread 0x7fffca580700 (LWP 714)] [New Thread 0x7fffc9d7f700 (LWP 715)] [New Thread 0x7fffc957e700 (LWP 718)] [New Thread 0x7fffc8d7d700 (LWP 719)] [New Thread 0x7fffc3fff700 (LWP 720)] [New Thread 0x7fffc37fe700 (LWP 733)] [New Thread 0x7fffc2ffd700 (LWP 734)] [New Thread 0x7fffc27fc700 (LWP 735)] [New Thread 0x7fffc1ffb700 (LWP 737)] [New Thread 0x7fffc17fa700 (LWP 738)] [New Thread 0x7fffc0ff9700 (LWP 739)] [New Thread 0x7fffabfff700 (LWP 740)] [New Thread 0x7fffab7fe700 (LWP 741)] [New Thread 0x7fffaaffd700 (LWP 742)] [New Thread 0x7fffaa7fc700 (LWP 743)] [New Thread 0x7fffa9ffb700 (LWP 744)] [ INFO] [1498053725.529683648]: Finished loading Gazebo ROS API Plugin. [ INFO] [1498053725.529917072]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting... [Msg] Waiting for master. [Msg] Connected to gazebo master @ http://127.0.0.1:11345 [Msg] Publicized address: 10.1.202.12 [New Thread 0x7fffa97fa700 (LWP 746)] [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [New Thread 0x7fff7c4bf700 (LWP 747)] [New Thread 0x7fff7bcbe700 (LWP 748)] [New Thread 0x7fff7b4bd700 (LWP 749)] [New Thread 0x7fff7acbc700 (LWP 750)] [New Thread 0x7fff7a4bb700 (LWP 751)] [New Thread 0x7fff79cba700 (LWP 752)] [New Thread 0x7fff794b9700 (LWP 753)] [New Thread 0x7fff78cb8700 (LWP 754)] [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [New Thread 0x7fff53dff700 (LWP 772)] [New Thread 0x7fff539fe700 (LWP 774)] [New Thread 0x7fff535fd700 (LWP 775)] [New Thread 0x7fff52dfb700 (LWP 776)] [New Thread 0x7fff529fa700 (LWP 778)] [New Thread 0x7fff531fc700 (LWP 777)] [New Thread 0x7fff525f9700 (LWP 779)] [New Thread 0x7fff521f8700 (LWP 825)] [New Thread 0x7fff519f7700 (LWP 826)] [New Thread 0x7fff511f6700 (LWP 827)] [New Thread 0x7fff509f5700 (LWP 828)] [ INFO] [1498053725.844152843, 0.023000000]: waitForService: Service [/gazebo/set_physics_properties] is now available. [ INFO] [1498053725.883559762, 0.061000000]: Physics dynamic reconfigure ready. [Thread 0x7fffa9ffb700 (LWP 744) exited] [INFO] [1498053726.024558, 0.199000]: Calling service /gazebo/spawn_urdf_model [INFO] [1498053726.224786, 0.352000]: Spawn status: SpawnModel: Successfully spawned model [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] [iris_spawn-4] process has finished cleanly log file: /home/maureen/.ros/log/343a72f0-568a-11e7-a601-408d5c04aa4b/iris_spawn-4*.log [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device] Afterwards I can see the output of the node I told it to run, but the arm and takeoff both fail. mavros/state shows: seq: 0 stamp: secs: 0 nsecs: 0 frame_id: '' connected: False armed: False guided: False mode: '' system_status: 0 So clearly I can't get anything to connect. This is the launch file I've been trying to fix this for ages so any help would be greatly appreciated

Turtlebot simulator laser scan not working.

$
0
0
Hi everyone, I'm learning ROS and I'm trying to follow this tutorial link: http://wiki.ros.org/turtlebot_simulator/Tutorials/hydro/Explore%20the%20Gazebo%20world, when I put several objects in the gazebo, and ran the command **roslaunch turtlebot_rviz_launchers view_robot.launch**. I expected to see the laser sensor and camera can read this and show their information in the Rviz, however it just gave me a blank screen without any sensory information. The image doesn't work properly either. Anybody has any ideas ? I'm using ubuntu 12.04, ROS Hydro, and gazebo 1.9.6. The global fixed frame is "base_link", the laserscan topic is /scan, and the image topic is /camera/depth/image_raw and /camera/rgb/image_raw Thanks very much !

How to stop moving of turtlebot on ROS Hydro Gazebo?

$
0
0
I run the following instructions to launch turtlebot on gazebo: export TURTLEBOT_BASE=create export TURTLEBOT_STACKS=circles export TURTLEBOT_3D_SENSOR=asus_xtion_pro roslaunch turtlebot_gazebo turtlebot_empty_world.launch I make sure I do not send any twist but the robot move autonomously. Here are two pictures to verify this: ![image description](/upfiles/14980967944488532.png) ![image description](/upfiles/14980968076783621.png) How to solve this? Thank you very much!
Viewing all 1516 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>