This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
# Filename : model.py | |
# Author : Wenchao Ding | |
# Date : 2018-06-25 | |
''' | |
import math | |
import matplotlib.pyplot as plt | |
import numpy as np | |
import torch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Header header | |
geometry_msgs/Pose pose | |
geometry_msgs/Point box_extent | |
uint32 agent_type | |
uint32 state | |
float64 vel | |
float64 theta #orientation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from __future__ import print_function | |
#import ros packages | |
import roslib; roslib.load_manifest('carlaros_client') | |
import rospy | |
from sensor_msgs.msg import Joy | |
#self define ros msgs | |
from carla_msgs.msg import CarOdom |