Skip to content

Commit

Permalink
rename lastPosi update to tom in car script
Browse files Browse the repository at this point in the history
  • Loading branch information
slimonslimon committed Dec 1, 2023
1 parent 78f76a6 commit b2df2e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions car/car.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
state["latitude"]=""
state["longitude"]=""
state["altitude"]=""
state["lastPosUpdate"]=""
state["tmp"]=""
state["car_id"]=carID
state["balloon_id"]="fik_SiK"
sended=True
Expand All @@ -88,7 +88,7 @@
#print(msg)
#print(type(msg))
#print(msg.lat)
state["lastPosUpdate"]=str(datetime.datetime.utcnow())
state["tmp"]=str(datetime.datetime.utcnow())
state["latitude"]=float(msg.lat)/10000000.0
state["longitude"]=float(msg.lon)/10000000.0
state["altitude"]=float(msg.alt)/1000.0
Expand Down

0 comments on commit b2df2e5

Please sign in to comment.