Skip to content

Commit

Permalink
Minor fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
dnovischi committed Dec 15, 2021
1 parent 1cf7962 commit 5c7a11b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion launch/antrobot.launch
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<!-- Antrobot uses the RPLiDAR A1/A2 by default. The package for RPLiDAR can be cloned
form git clone https://github.com/robopeak/rplidar_ros.git.
Note: the original rplidar at https://github.com/Slamtec/rplidar_ros contains errors.
If the RPLidar is used uncomment to include below.
If the RPLidar is used uncomment include below.
If another LiDAR is used, change the configuration accordingly.
-->
<!-- <include file="$(find rplidar_ros)/launch/rplidar.launch" />-->
Expand Down
2 changes: 1 addition & 1 deletion src/antrobot_ros/antrobot_key_teleop_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def __init__(
max_linear_velocity: float = 0.5,
max_angular_velocity: float = 6.0,
linear_step_size: float = 0.025,
angular_step_size: float = 0.3
angular_step_size: float = 0.2
):
self.key_mapping = key_mapping
if key_mapping is None:
Expand Down
1 change: 1 addition & 0 deletions src/antrobot_ros/antrobot_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def run(self) -> None:
if not ok:
rospy.logerr("Failed to initialize rdrive!")
raise RuntimeError("RDrive enabled failed.")
self.drive.move(0, 0)

# Subscribe to cmd_vel messages
rospy.Subscriber(self.cmd_vel_topic, Twist, self.__cmd_vel_callback__)
Expand Down

0 comments on commit 5c7a11b

Please sign in to comment.