modify some files

This commit is contained in:
robin_shaun 2021-10-03 17:51:52 +08:00
parent 548c8364e2
commit f4b47b6792
3 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,3 @@
#! /usr/bin/env python
import rospy
from gazebo_msgs.msg import ModelState
@ -11,7 +10,7 @@ def pose_publisher():
pose_msg.pose.position.x = -2
pose_msg.pose.position.y = 7.5
pose_msg.pose.position.z = 1
#同理也可以改orientation
#same for orientation
pub.publish(pose_msg)
rate.sleep()

Binary file not shown.

After

Width:  |  Height:  |  Size: 475 KiB

View File

@ -13,7 +13,7 @@ parser = argparse.ArgumentParser(
)
parser.add_argument(
'-i', '--images-dir',
default="$HOME/gazebo_models/ar_tags/images",
default="$HOME//XTDrone/sensing/object_detection_and_tracking/apriltag/image/",
help='directory where the marker images are located')
parser.add_argument(
'-g', '--gazebodir',