Skip to content

Commit c9eafa2

Browse files
Update commands.go
Add Alt info
1 parent 2a203bc commit c9eafa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/commands.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ func (s *mastermindServiceServer) SetSpeed(_ context.Context, request *pb.SetSpe
6464

6565
// GotoWaypoint tells the plane to go to a specific point
6666
func (s *mastermindServiceServer) GotoWaypoint(_ context.Context, request *pb.GotoWaypointRequest) (*pb.GotoWaypointResponse, error) {
67-
utils.Logger.Infof("GOTO lat:%v lon:%v", request.Lat, request.Lon)
67+
utils.Logger.Infof("GOTO lat:%v lon:%v alt:%v", request.Lat, request.Lon, request.Alt)
6868

6969
s.node.WriteMessageAll(&ardupilotmega.MessageMissionItem{
7070
TargetSystem: s.sysId,

0 commit comments

Comments
 (0)