Skip to content

Commit

Permalink
stattypes: remove from all users
Browse files Browse the repository at this point in the history
  • Loading branch information
kmarkus committed Jan 6, 2020
1 parent 2c9aee5 commit b4a8111
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 26 deletions.
14 changes: 6 additions & 8 deletions docs/user/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,6 @@ The code is the following.
{
imports = {
"stdtypes",
"stattypes",
"ptrig",
"lfds_cyclic",
"logger",
Expand Down Expand Up @@ -561,13 +560,12 @@ the libraries
ubx_node_init(&ni, "platform_and_control");
const char *modules[8];
modules[0]= "/usr/local/lib/ubx/0.6/stdtypes.so";
modules[1]= "/usr/local/lib/ubx/0.6/stattypes.so";
modules[2]= "/usr/local/lib/ubx/0.6/ptrig.so";
modules[3]= "/usr/local/lib/ubx/0.6/platform_2dof.so";
modules[4]= "/usr/local/lib/ubx/0.6/platform_2dof_control.so";
modules[5]= "/usr/local/lib/ubx/0.6/webif.so";
modules[6]= "/usr/local/lib/ubx/0.6/logger.so";
modules[7]= "/usr/local/lib/ubx/0.6/lfds_cyclic.so";
modules[1]= "/usr/local/lib/ubx/0.6/ptrig.so";
modules[2]= "/usr/local/lib/ubx/0.6/platform_2dof.so";
modules[3]= "/usr/local/lib/ubx/0.6/platform_2dof_control.so";
modules[4]= "/usr/local/lib/ubx/0.6/webif.so";
modules[5]= "/usr/local/lib/ubx/0.6/logger.so";
modules[6]= "/usr/local/lib/ubx/0.6/lfds_cyclic.so";
/* load modules */
for (int i=0; i<LEN_VEC(modules);i++)
if(ubx_module_load(&ni, modules[i]) != 0){
Expand Down
13 changes: 6 additions & 7 deletions examples/platform/platform_launch/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,12 @@ int main()
ubx_node_init(&ni, "platform_and_control");
const char *modules[8];
modules[0]= "/usr/local/lib/ubx/0.6/stdtypes.so";
modules[1]= "/usr/local/lib/ubx/0.6/stattypes.so";
modules[2]= "/usr/local/lib/ubx/0.6/ptrig.so";
modules[3]= "/usr/local/lib/ubx/0.6/platform_2dof.so";
modules[4]= "/usr/local/lib/ubx/0.6/platform_2dof_control.so";
modules[5]= "/usr/local/lib/ubx/0.6/webif.so";
modules[6]= "/usr/local/lib/ubx/0.6/logger.so";
modules[7]= "/usr/local/lib/ubx/0.6/lfds_cyclic.so";
modules[1]= "/usr/local/lib/ubx/0.6/ptrig.so";
modules[2]= "/usr/local/lib/ubx/0.6/platform_2dof.so";
modules[3]= "/usr/local/lib/ubx/0.6/platform_2dof_control.so";
modules[4]= "/usr/local/lib/ubx/0.6/webif.so";
modules[5]= "/usr/local/lib/ubx/0.6/logger.so";
modules[6]= "/usr/local/lib/ubx/0.6/lfds_cyclic.so";
/* load modules */
for (unsigned int i=0; i<(LEN_VEC(modules));i++)
if(ubx_module_load(&ni, modules[i]) != 0){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ return bd.system
{
imports = {
"stdtypes",
"stattypes",
"ptrig",
"lfds_cyclic",
"logger",
Expand Down
2 changes: 1 addition & 1 deletion examples/systemmodels/composition/rndchain.usc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ return bd.system
},

imports = {
"stdtypes", "stattypes", "random", "ptrig", "lfds_cyclic", "logger",
"stdtypes", "random", "ptrig", "lfds_cyclic", "logger",
},

blocks = {
Expand Down
2 changes: 1 addition & 1 deletion examples/systemmodels/composition/rndchain1.usc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
return bd.system
{
imports = {
"stdtypes", "stattypes", "random", "trig",
"stdtypes", "random", "trig",
},

blocks = {
Expand Down
1 change: 0 additions & 1 deletion examples/systemmodels/mqueue_test_recv.usc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ return bd.system
{
imports = {
"stdtypes",
"stattypes",
"ptrig",
"random",
"mqueue",
Expand Down
1 change: 0 additions & 1 deletion examples/systemmodels/mqueue_test_send.usc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ return bd.system
{
imports = {
"stdtypes",
"stattypes",
"ptrig",
"random",
"mqueue",
Expand Down
1 change: 0 additions & 1 deletion examples/systemmodels/node_config_demo.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"imports": [
"stdtypes",
"stattypes",
"random",
"ptrig",
"lfds_cyclic"
Expand Down
1 change: 0 additions & 1 deletion examples/systemmodels/node_config_demo.usc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ return bd.system
{
imports = {
"stdtypes",
"stattypes",
"random",
"ptrig",
"lfds_cyclic"
Expand Down
2 changes: 1 addition & 1 deletion examples/systemmodels/trig_rnd_hexdump.usc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ logger_report_conf = [[
return bd.system
{
imports = {
"stattypes", "stdtypes", "ptrig",
"stdtypes", "ptrig",
"logger", "random", "lfds_cyclic",
"hexdump"
},
Expand Down
4 changes: 2 additions & 2 deletions tests/test_ptrig.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ end
]]

local sys1 = bd.system {
imports = { "stdtypes", "stattypes", "ptrig", "ramp_uint64", "lfds_cyclic", "luablock" },
imports = { "stdtypes", "ptrig", "ramp_uint64", "lfds_cyclic", "luablock" },
blocks = {
{ name="ramp", type="ramp_uint64" },
{ name="tester", type="lua/luablock" },
Expand Down Expand Up @@ -101,7 +101,7 @@ local block_dur_us = {


local sys2 = bd.system {
imports = { "stdtypes", "stattypes", "ptrig", "lfds_cyclic", "luablock" },
imports = { "stdtypes", "ptrig", "lfds_cyclic", "luablock" },
blocks = {
{ name="tb1", type="lua/luablock" },
{ name="tb2", type="lua/luablock" },
Expand Down
1 change: 0 additions & 1 deletion tools/ubx_genblock
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,6 @@ return bd.system
{
imports = {
"stdtypes",
"stattypes",
"ptrig",
"lfds_cyclic",
"logger",
Expand Down

0 comments on commit b4a8111

Please sign in to comment.