Skip to content

Commit

Permalink
AMRFM-1218-fork-lift-speed (ros-navigation#192)
Browse files Browse the repository at this point in the history
* make tf frames bigger

* disable gazebo cameras viz by default

* use Jointtrajectorycontroller

* removing Image because it is always on by default
  • Loading branch information
Tony Najjar authored Nov 26, 2021
1 parent 29d8e9a commit bac2737
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 26 deletions.
20 changes: 3 additions & 17 deletions amr_bringup/config/rviz/full_system.rviz
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Visualization Manager:
- Class: rviz_default_plugins/TF
Enabled: false
Name: TF
Marker Scale: 0.3
Marker Scale: 1
Show Arrows: true
Show Axes: true
Show Names: true
Expand Down Expand Up @@ -271,27 +271,13 @@ Visualization Manager:
History Policy: Keep Last
Reliability Policy: Reliable
Value: <robot_namespace>/realsense_left/depth/color/points
Use Fixed Frame: true
Use Fixed Frame: false
Use rainbow: true
Value: true
- Class: rviz_default_plugins/Image
Enabled: false
Max Value: 1
Median window: 5
Min Value: 0
Name: Realsense Left Image
Normalize Range: true
Topic:
Depth: 5
Durability Policy: Volatile
History Policy: Keep Last
Reliability Policy: Reliable
Value: <robot_namespace>/realsense_left/color/image_raw
Value: false
Enabled: true
Global Options:
Background Color: 48; 48; 48
Fixed Frame: base_link
Fixed Frame: map
Frame Rate: 30
Name: root
Tools:
Expand Down
6 changes: 3 additions & 3 deletions amr_description/urdf/amr_description.gazebo.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
</camera>
<always_on>1</always_on>
<update_rate>30</update_rate>
<visualize>1</visualize>
<visualize>0</visualize>
</sensor>
<sensor name="${camera_left}ired1" type="camera">
<camera name="camera">
Expand Down Expand Up @@ -295,7 +295,7 @@
</camera>
<always_on>1</always_on>
<update_rate>30</update_rate>
<visualize>1</visualize>
<visualize>0</visualize>
</sensor>
<sensor name="${camera_right}ired1" type="camera">
<camera name="camera">
Expand Down Expand Up @@ -411,7 +411,7 @@
</camera>
<always_on>1</always_on>
<update_rate>30</update_rate>
<visualize>1</visualize>
<visualize>0</visualize>
</sensor>
<sensor name="${camera_front}ired1" type="camera">
<camera name="camera">
Expand Down
5 changes: 2 additions & 3 deletions amr_gazebo/config/agv2_controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ agv2:
update_rate: 50 # Hz

fork_controller:
type: position_controllers/JointGroupPositionController
type: joint_trajectory_controller/JointTrajectoryController # velocity_controllers/JointPositionController should be enough but not ported to ROS2 yet https://github.com/ros-controls/ros2_controllers/tree/foxy/velocity_controllers/src

steering_controller:
type: position_controllers/JointGroupPositionController
type: position_controllers/JointGroupPositionController # position_controllers/JointPositionController should be enough but not ported to ROS2 yet https://github.com/ros-controls/ros2_controllers/tree/master/position_controllers/src

wheel_speed_controller:
type: velocity_controllers/JointGroupVelocityController
Expand All @@ -19,7 +19,6 @@ agv2:
ros__parameters:
joints:
- forks_lift_joint
interface_name: position
command_interfaces:
- position
state_interfaces:
Expand Down
5 changes: 2 additions & 3 deletions amr_gazebo/config/agv3_controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ agv3:
update_rate: 50 # Hz

fork_controller:
type: position_controllers/JointGroupPositionController
type: joint_trajectory_controller/JointTrajectoryController # velocity_controllers/JointPositionController should be enough but not ported to ROS2 yet https://github.com/ros-controls/ros2_controllers/tree/foxy/velocity_controllers/src

steering_controller:
type: position_controllers/JointGroupPositionController
type: position_controllers/JointGroupPositionController # position_controllers/JointPositionController should be enough but not ported to ROS2 yet https://github.com/ros-controls/ros2_controllers/tree/master/position_controllers/src

wheel_speed_controller:
type: velocity_controllers/JointGroupVelocityController
Expand All @@ -19,7 +19,6 @@ agv3:
ros__parameters:
joints:
- forks_lift_joint
interface_name: position
command_interfaces:
- position
state_interfaces:
Expand Down
1 change: 1 addition & 0 deletions amr_gazebo/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
<depend>joint_state_broadcaster</depend>
<depend>velocity_controllers</depend>
<depend>position_controllers</depend>
<depend>joint_trajectory_controller</depend>

<build_depend>gazebo_dev</build_depend>
<build_depend>gazebo_msgs</build_depend>
Expand Down

0 comments on commit bac2737

Please sign in to comment.