![]() |
BrickOS problems
Hey, i don't know if this is the right spot for this so if it is feel free to move it. but heres my delima. i'm operating off of a linux system (Ubuntu 5.04 Hoary Hedgehog) and i downloaded BrickOS-0.9.0 and all of the stuff it needs (gcc-h8300-hms-2.95.2.2.1) and i was able to download the firmware using
Code:
$ firmdl3 /usr/local/lib/brickos/brickOS.srecCode:
$ cd /programs/BrickOS/brickos-0.9.0/demoi've looked all over the forums and haven't found my answer, so i decided to post one. i would greatly appriciate your input. |
Re: BrickOS problems
It has been a year since I have worked with BrickOS so I don't know the exact details. You may want to check the flags you can set on the dll program there may be some options there which can help. I noticed you already use the -v flag which is helpful. Another flag I remember helping us was the speed or rate of transer. Sometimes the baud rate you are running at could cause a problem if you are running too fast for your tower.
Another issue I barely remember has something to do with BrickOS and when you install it if the options are slightly wrong you won't be able to communicate with it through the tower. I hope this information helps. -Nick |
Re: BrickOS problems
ok thanks for the input, i also followed the instructions in the readme.usb file and entered in
Code:
$ sudo mknod /dev/usb/legotower0 c 180 160so i'll play around with it a little more and will look into changing the baud rate. |
Re: BrickOS problems
Man I wish you could help you out here. But my knowledge is center more on the design of a lego bot. Have you tried Robo lab by any chance? I may not be a programer but I have heard many recomendations on Robolab.
|
Re: BrickOS problems
ya i looked into that, but my problem is that i need an OS that can support decimals, and i'm pretty sure that robolab doesn't. BrickOS was the only one i could find taht supported decimals. you see, i need decimals because i'm trying to make the robot ballance an inverted pendulum, and to do this you need to find velocitys, which most of the time are decimals. and i just can't multiply the velocity by 100 because once it devides D/T it already rounds it. so thats why i need to go with BrickOS.
|
Re: BrickOS problems
1 Attachment(s)
Brickos works great for me. Attached is the makefile that I use to compile and download. To download the code, I type:
Code:
make loadCode:
make run |
| All times are GMT -5. The time now is 18:20. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi