Open yimengweima0 opened 4 days ago
When I didn't change anything and just ported the code to Melodic, the robot still shake that much.
started roslaunch server http://localhost:37401/
PARAMETERS
NODES / amcl (amcl/amcl) bumper2pointcloud (nodelet/nodelet) cmd_vel_mux (nodelet/nodelet) cnn_data_pub (drl_vo_nav/cnn_data_pub.py) drl_vo_cmd (drl_vo_nav/drl_vo_inference.py) gazebo (gazebo_ros/gzserver) gazebo_gui (gazebo_ros/gzclient) gazebo_map_broadcaster (tf/static_transform_publisher) goal_visualize (drl_vo_nav/goal_visualize.py) kobuki_safety_controller (nodelet/nodelet) map_server (map_server/map_server) mix_cmd_vel (drl_vo_nav/cmd_vel_pub.py) mobile_base_nodelet_manager (nodelet/nodelet) move_base (move_base/move_base) navigation_velocity_smoother (nodelet/nodelet) pedsim_simulator (pedsim_simulator/pedsim_simulator) pedsim_visualizer (pedsim_visualizer/pedsim_visualizer_node) pure_pursuit (drl_vo_nav/pure_pursuit.py) robot_pose_pub (drl_vo_nav/robot_pose_pub.py) robot_state_publisher (robot_state_publisher/robot_state_publisher) rviz (rviz/rviz) spawn_pedsim_agents (pedsim_gazebo_plugin/spawn_pedsim_agents.py) spawn_turtlebot_model (gazebo_ros/spawn_model) teleop_velocity_smoother (nodelet/nodelet) track_ped_pub (drl_vo_nav/track_ped_pub.py)
auto-starting new master process[master]: started with pid [45690] ROS_MASTER_URI=http://localhost:11311
setting /run_id to dc3799ee-979e-11ef-9d0b-6c2b59ced16c
process[rosout-1]: started with pid [45701]
started core service [/rosout]
process[gazebo-2]: started with pid [45708]
process[gazebo_gui-3]: started with pid [45712]
process[spawn_pedsim_agents-4]: started with pid [45715]
process[gazebo_map_broadcaster-5]: started with pid [45719]
process[spawn_turtlebot_model-6]: started with pid [45720]
process[mobile_base_nodelet_manager-7]: started with pid [45726]
process[cmd_vel_mux-8]: started with pid [45727]
process[bumper2pointcloud-9]: started with pid [45728]
process[robot_state_publisher-10]: started with pid [45733]
process[pedsim_simulator-11]: started with pid [45739]
process[pedsim_visualizer-12]: started with pid [45741]
process[map_server-13]: started with pid [45751]
process[amcl-14]: started with pid [45821]
process[navigation_velocity_smoother-15]: started with pid [45826]
process[kobuki_safety_controller-16]: started with pid [45840]
process[move_base-17]: started with pid [45848]
process[pure_pursuit-18]: started with pid [45850]
process[cnn_data_pub-19]: started with pid [45855]
process[robot_pose_pub-20]: started with pid [45859]
process[track_ped_pub-21]: started with pid [45863]
process[goal_visualize-22]: started with pid [45870]
process[teleop_velocity_smoother-23]: started with pid [45874]
process[drl_vo_cmd-24]: started with pid [45875]
process[mix_cmd_vel-25]: started with pid [45878]
process[rviz-26]: started with pid [45886]
[ INFO] [1730389405.397940821]: Updated sim with live config: Rate=25 incoming rate=25
[ WARN] [1730389405.441671571]: Request for map failed; trying again...
[ INFO] [1730389405.461755803]: Using default queue size of 10 for publisher queues...
[ INFO] [1730389405.494308871]: Loading scene [/home/lwh/G314/comparison/drl/src/pedsim_ros_with_gazebo/pedsim_simulator/scenarios/eng_hall.xml] for simulation
[ INFO] [1730389405.506958719]: node initialized, now running
Waiting for gazebo services...
[ INFO] [1730389405.975796541]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1730389405.978790185]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
[ INFO] [1730389406.044633624]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1730389406.046929053]: waitForService: Service [/gazebo_gui/set_physics_properties] has not been advertised, waiting...
[WARN] [1730389406.206388, 0.000000]: Could not get robot pose
[ INFO] [1730389410.311878218]: waitForService: Service [/gazebo/set_physics_properties] is now available.
service: spawn_sdf_model is available ....
[ INFO] [1730389410.429057053, 0.038000000]: Physics dynamic reconfigure ready.
[WARN] [1730389410.572603, 0.175000]: Could not get robot pose
[WARN] [1730389410.575567, 0.178000]: Could not get robot pose
[ INFO] [1730389410.959635102, 0.195000000]: Camera Plugin: Using the 'robotNamespace' param: '/'
[ INFO] [1730389410.977634731, 0.195000000]: Camera Plugin (ns = /)
Could you please assist me in resolving them? I would really appreciate your guidance. Thank you!" @zzuxzt
Modify lines 133-134 of drl_vo_inference.py as follows::
vz_min = -0.7
vz_max = 0.7
ok, thank you
Hello, thank you very much for your work. When I run your navigation file,Is it normal for the robot to shake that much? just like this https://github.com/user-attachments/assets/13234c0f-9ec3-4c40-a9b0-f74db425e92a