mirror of
https://github.com/nasa/trick.git
synced 2024-12-18 20:57:55 +00:00
Revert "Functions with enumerated default arguments cause bad python code to be generated"
This reverts commit 612591ce96
.
This commit is contained in:
parent
612591ce96
commit
a9e4dfabcc
@ -7,7 +7,6 @@ for param in [ 'position' , 'velocity' , 'acceleration' , 'external_force' ] :
|
||||
drg0.add_variable(var)
|
||||
#drg0.set_cycle(0.01)
|
||||
drg0.freq = trick.DR_Always
|
||||
drg0.thisown = 0
|
||||
trick_data_record.drd.add_group(drg0, trick.DR_No_Buffer)
|
||||
|
||||
trick_message.mpublisher.sim_name = "ball_sim"
|
||||
|
@ -45,7 +45,6 @@ def add_dr_group():
|
||||
drg[DR_GROUP_ID].add_variable("sun_predictor.sun.utc.sec")
|
||||
drg[DR_GROUP_ID].add_variable("sun_predictor.sun.utc.year")
|
||||
|
||||
drg[DR_GROUP_ID].thisown = 0
|
||||
trick_data_record.drd.add_group( drg[DR_GROUP_ID], trick.DR_Buffer )
|
||||
add_dr_group()
|
||||
|
||||
|
@ -51,7 +51,6 @@ def add_dr_group():
|
||||
drg[DR_GROUP_ID].add_variable("dpx.test.s3[1].s2[1][1].s1[1][1].ll[1]")
|
||||
drg[DR_GROUP_ID].add_variable("dpx.test.s3[1].s2[1][1].s1[1][1].ll[2]")
|
||||
|
||||
drg[DR_GROUP_ID].thisown = 0
|
||||
trick_data_record.drd.add_group( drg[DR_GROUP_ID], trick.DR_Buffer )
|
||||
add_dr_group()
|
||||
|
||||
|
@ -95,7 +95,6 @@ def add_dr_group():
|
||||
drg[DR_GROUP_ID].add_variable("dpx.test.s3[0].s2[2][1].s1[1][2].d[0]")
|
||||
drg[DR_GROUP_ID].add_variable("dpx.test.s3[1].s2[2][1].s1[1][2].d[0]")
|
||||
|
||||
drg[DR_GROUP_ID].thisown = 0
|
||||
trick_data_record.drd.add_group( drg[DR_GROUP_ID], trick.DR_Buffer )
|
||||
add_dr_group()
|
||||
|
||||
|
@ -95,7 +95,6 @@ def add_dr_group():
|
||||
drg[DR_GROUP_ID].add_variable("dpx.test.s3[0].s2[2][1].s1[1][2].d[1]")
|
||||
drg[DR_GROUP_ID].add_variable("dpx.test.s3[1].s2[2][1].s1[1][2].d[1]")
|
||||
|
||||
drg[DR_GROUP_ID].thisown = 0
|
||||
trick_data_record.drd.add_group( drg[DR_GROUP_ID], trick.DR_Buffer )
|
||||
add_dr_group()
|
||||
|
||||
|
@ -95,7 +95,6 @@ def add_dr_group():
|
||||
drg[DR_GROUP_ID].add_variable("dpx.test.s3[0].s2[2][1].s1[1][2].d[2]" )
|
||||
drg[DR_GROUP_ID].add_variable("dpx.test.s3[1].s2[2][1].s1[1][2].d[2]" )
|
||||
|
||||
drg[DR_GROUP_ID].thisown = 0
|
||||
trick_data_record.drd.add_group( drg[DR_GROUP_ID], trick.DR_Buffer )
|
||||
add_dr_group()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user