The new xxx_sics users which SICS now runs as don't have
permission to write the robot log files to /tmp r3037 | ffr | 2010-12-04 11:53:11 +1100 (Sat, 04 Dec 2010) | 3 lines
This commit is contained in:
committed by
Douglas Clowes
parent
8d066dec11
commit
a3d551c8bb
@@ -8,7 +8,7 @@ namespace eval ::scobj::robot_pp {
|
||||
# /envcont/setpoint
|
||||
# /envcont/sensor/value
|
||||
proc debug_log {args} {
|
||||
set fd [open "/tmp/robot_pp.log" a]
|
||||
set fd [open "../log/robot_pp.log" a]
|
||||
puts $fd "[clock format [clock seconds] -format "%T"] $args"
|
||||
close $fd
|
||||
}
|
||||
@@ -442,7 +442,7 @@ debug_log "Registering node $nodeName for write callback"
|
||||
# @param IP, the IP address of the device, this can be a hostname, (eg ca1-kowari)
|
||||
# @param port, the IP protocol port number of the device
|
||||
proc add_robot {name IP port } {
|
||||
set fd [open "/tmp/robot_pp.log" a]
|
||||
set fd [open "../log/robot_pp.log" a]
|
||||
if {[SplitReply [environment_simulation]]=="false"} {
|
||||
puts $fd "makesctcontroller sct_robot_pp std ${IP}:$port"
|
||||
makesctcontroller sct_robot_pp std ${IP}:$port [binary format cc 0x0D 0x0A] 5.0
|
||||
@@ -453,7 +453,7 @@ proc add_robot {name IP port } {
|
||||
}
|
||||
|
||||
puts stdout "file evaluation of sct_pickandplace.tcl"
|
||||
set fd [open "/tmp/robot_pp.log" w]
|
||||
set fd [open "../log/robot_pp.log" w]
|
||||
puts $fd "file evaluation of sct_pickandplace.tcl"
|
||||
close $fd
|
||||
|
||||
|
||||
Reference in New Issue
Block a user