Intégration leach sous ns2.34
bayefalle
Messages postés
122
Date d'inscription
Statut
Membre
Dernière intervention
-
bayefalle Messages postés 122 Date d'inscription Statut Membre Dernière intervention -
bayefalle Messages postés 122 Date d'inscription Statut Membre Dernière intervention -
Bonjour, je travail sous ns2.34 et je souhaite intégre le protocole leach dedans mais depuis un bon moment je rencontre des problèmes d'energy. voici l'erreur que j'ai sur leach.err après exécution du commande ./test ou ./leach_test:
invalid command name "Resource/Energy"
while executing
"Resource/Energy instproc setParams {args} {
$self instvar energyLevel_ alarmLevel_
set energyLevel_ [lindex $args 0]
set alarmLevel_ [lind..."
(file "/home/wsn/ns2/ns-allinone-2.34/ns-2.34/mit/rca/resources/ns-energy-resource.tcl" line 11)
invoked from within
"source.orig /home/wsn/ns2/ns-allinone-2.34/ns-2.34/mit/rca/resources/ns-energy-resource.tcl"
("uplevel" body line 1)
invoked from within
"uplevel source.orig [list $fileName]"
invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig [list $fileName]
..."
(procedure "source" line 8)
invoked from within
"source /home/wsn/ns2/ns-allinone-2.34/ns-2.34/mit/rca/resources/ns-energy-resource.tcl"
(file "/home/wsn/ns2/ns-allinone-2.34/ns-2.34/mit/uAMPS/sims/uamps.tcl" line 24)
invoked from within
"source.orig /home/wsn/ns2/ns-allinone-2.34/ns-2.34/mit/uAMPS/sims/uamps.tcl"
("uplevel" body line 1)
invoked from within
"uplevel source.orig [list $fileName]"
invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig [list $fileName]
..."
(procedure "source" line 8)
invoked from within
"source /home/wsn/ns2/ns-allinone-2.34/ns-2.34/mit/uAMPS/sims/uamps.tcl"
(file "/home/wsn/ns2/ns-allinone-2.34/ns-2.34/tcl/mobility/leach.tcl" line 20)
invoked from within
"source.orig /home/wsn/ns2/ns-allinone-2.34/ns-2.34/tcl/mobility/leach.tcl"
("uplevel" body line 1)
invoked from within
"uplevel source.orig [list $fileName]"
invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig [list $fileName]
..."
(procedure "source" line 8)
invoked from within
"source /home/wsn/ns2/ns-allinone-2.34/ns-2.34/tcl/mobility/$opt(rp).tcl"
(file "tcl/ex/wireless.tcl" line 187)
s'il vous plait aidez-moi à résoudre mon problème
invalid command name "Resource/Energy"
while executing
"Resource/Energy instproc setParams {args} {
$self instvar energyLevel_ alarmLevel_
set energyLevel_ [lindex $args 0]
set alarmLevel_ [lind..."
(file "/home/wsn/ns2/ns-allinone-2.34/ns-2.34/mit/rca/resources/ns-energy-resource.tcl" line 11)
invoked from within
"source.orig /home/wsn/ns2/ns-allinone-2.34/ns-2.34/mit/rca/resources/ns-energy-resource.tcl"
("uplevel" body line 1)
invoked from within
"uplevel source.orig [list $fileName]"
invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig [list $fileName]
..."
(procedure "source" line 8)
invoked from within
"source /home/wsn/ns2/ns-allinone-2.34/ns-2.34/mit/rca/resources/ns-energy-resource.tcl"
(file "/home/wsn/ns2/ns-allinone-2.34/ns-2.34/mit/uAMPS/sims/uamps.tcl" line 24)
invoked from within
"source.orig /home/wsn/ns2/ns-allinone-2.34/ns-2.34/mit/uAMPS/sims/uamps.tcl"
("uplevel" body line 1)
invoked from within
"uplevel source.orig [list $fileName]"
invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig [list $fileName]
..."
(procedure "source" line 8)
invoked from within
"source /home/wsn/ns2/ns-allinone-2.34/ns-2.34/mit/uAMPS/sims/uamps.tcl"
(file "/home/wsn/ns2/ns-allinone-2.34/ns-2.34/tcl/mobility/leach.tcl" line 20)
invoked from within
"source.orig /home/wsn/ns2/ns-allinone-2.34/ns-2.34/tcl/mobility/leach.tcl"
("uplevel" body line 1)
invoked from within
"uplevel source.orig [list $fileName]"
invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig [list $fileName]
..."
(procedure "source" line 8)
invoked from within
"source /home/wsn/ns2/ns-allinone-2.34/ns-2.34/tcl/mobility/$opt(rp).tcl"
(file "tcl/ex/wireless.tcl" line 187)
s'il vous plait aidez-moi à résoudre mon problème
A voir également:
- Intégration leach sous ns2.34
- Waze google maps integration - Accueil - Guide transports et cartes
- Intégration de entourer pour chercher terminée - Accueil - Applications & Logiciels
- Google va utiliser la fonction Entourer pour chercher dans les jeux - Accueil - Jeu vidéo
- Intégration de cURL à Apache - Forum Linux / Unix
- Xdm integration module chrome - Forum Google Chrome